How to Add and Display Ad or Message to Unregistered Guest Only in vBulletin

vBulletin powers many popular Internet forums with active communities and knowledgeable discussions. The active forum communities with wells of information usually attract unregistered visitors or guests (lurkers to some webmasters). Simply turn off the forums by hiding useful information from unregistered guests are not an recommended option, as visitors may not notice the value or usefulness of joining the forums as members.

As such, most vBulletin webmasters prefer to display or add a message that is viewable by guests or unregistered visitors on the vBulletin powered community boards or forums to encourage visitors to sign up and register as a member and participate in the discussions. Many administrators also decide to ads or avertisements, such as display ads, text ads, in-text ads, or other ads format to visitors and guests only.

Here’s the brief guide on how to add and show a message or ads viewable only by unregistered visitors or guests and unsigned-in registered members in vBulletin.

  1. Login to vBulletin Admin Control Panel (admincp).
  2. In the left open, expand Styles & Templates menu.
  3. Click on Styles Manager.

    vBulletin Style Manager

  4. In the All Style Options drop down list next to the default template of the forum, select Edit Templates under “Template Options”. The guests will be shown only with the default template, so no editing on any other templates is required.

    Edit vBulletin Templates

  5. Double click to select a template file to edit. There are many templates that can be edited, depends on where the message has to be appeared.

    For example, expand “Forum Home Templates” and then select “FORUMHOME” to add a message to the forum index page only. Expand “Navigation / Breadcrumb Templates” and then select “navbar” to add a message in the navigation bar and breadcrumbs area of every page. Double click on “header” template to add a message to the top of every page. Double click on “footer” template to add message at the bottom of every page.

    Show Messages or Adverts to vBulletin Guests Only

    Note that not necessary only the message can be added, but also HTML code, JavaScript and etc, and hence most advert code such as those from Google AdSense, Tribal Fusion, Kontera, AdBrite, and analytic tracking code can be added.

  6. Edit the template file to include the following code at the desired location for the text or object to be displayed to unregistered visitors only:

    <if condition="$show['guest']">
    <p>Text or object element to show to forum guests only.</p>
    </if>

    For user who want to include or exclude certain user groups from ad or message, it’s also possible to use the following code at desired template location:

    <if condition=”!is_member_of($bbuserinfo, X, Y, Z)”>
    <p>Text or object element to show to forum guests only.</p>
    </if>

    Code above exclude usergroups with ID X, Y and Z (user group ID can be retrieved from vB Admin Control Panel. Alternatively, remove the exclamation mark (!) to apply to only selected user groups instead.

    Tip: Administrators can modify anything between the two conditional "if" tag lines as much as they like, or enclose styling script to match the vBulletin template.

  7. Click on Save button when done.

Note that to preview the change that been made to show and display to guests and unregistered visitors, you have to logout of the forums first.

2 Responses to “How to Add and Display Ad or Message to Unregistered Guest Only in vBulletin”

  1. Cymnbopsinimi
    November 9th, 2009 17:51
    2

    Your welcome everyone.
    My PC worked not correctly, many errors. Help me, please to fix errors on my PC.
    My operation system is Windows XP.
    Thx,
    Cymnbopsinimi

  2. millercash
    October 8th, 2009 01:13
    1

    Hi Everyone,

    Just found this site and thought it might be useful to chat to people who are trying to accomplish the same as me!

    I spend too much of my life on the internet and look forward to chatting to you all and picking up and sharing ideas along the way!

    Eva

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

vbulletin ads display to guest - vbulletin if unregistered user - guest message vbulletin - how to change the vbulletin logout message - how to add message to my computer - how to display a message on a site if not registered - how to add guest ad to forum home - vbulletin conditional unregistered - vbulletin guests forward - customize guest message vbulletin - how to add some javascript in vbulletin for guest only not for registered user - CODE TO display ads - HOW TO ADD A MESSAGE IN QUICKBOOKS - how to change visitor message vbulletin - How to display a custom template on the FORUMHOME vBulletin - message at the top of page like in vbulletin - show ads only to guests in vbulletin - vbulletin turn on welcome message - vbulletin display visitor messages - vbulletin text registered users only - vbulletin display a message - vbulletin add advertisements for unregistered users - vbulletin template Only selected usergroups - how to edit vbulletin message - add a user and show message - vbulletin ads for guests only - vbulletin welcome message - custom guest message plugin for vbulletin - include javascript in vbulletin - vbulletin show google ads to visitors only - windows 7 guestonly - howto add email template for user ad market place - register my un registered version of windows free - usergroups vbulletin $show - vbulletin conditional how-to - vbulletin guest notice sign up - display text to guests one specific forum id vbulletin - guest message for vbulletin - how to change the guest welcome message on vb forums - how to add a member welcome message vbulletin - how to add a welcome message vbulletin - vbulletin show only on home page - vbulletin + add message for user - display advertisement with background disabled in javascript - show only to guest button vbulletin - unregistered users message vbulletin - add ads to my vbulletin rss feeds - how to not display member titles on vbulletin - how to show if unregistered on vBulletin - how to change message for unregistered users vbulletin -