Announcement

Collapse
No announcement yet.

Move Guest Message to Notices

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB 3.8] Move Guest Message to Notices

    When a guest user visit your forum they get a message that says:

    If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
    Currently this only shows on the front page of your forums. Using Notices you can show this on every page.

    First open your FORUMHOME template and remove the following code:
    Code:
    <if condition="$show['guest']">
    <!-- guest welcome message -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </tr>
    <tr>
        <td class="alt1">
            <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
    </tr>
    </table>
    <!-- / guest welcome message -->
    <br />
    </if>
    Now create a new Notice (Notices -> Notice Manager in the left navigation).

    Enter this text as your notice:
    Code:
    <p>If this is your first visit, be sure to check out the <a href="./faq.php"><strong>FAQ</strong></a> by clicking the link above.
    You may have to <a href="./register.php" rel="nofollow"><strong>register</strong></a> before you can post: click the register link above to proceed.</p>
    <p>To start viewing messages, select the forum that you want to visit from the selection below.</p>
    For the conditions set "User belongs to usergroup" to Unregistered / Not Logged In.

    Save the Notice at the bottom.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

Related Topics

Collapse

Working...
X