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.
Custom Search

New Articles

Incoming Search Terms for the Article

proxy sites - editing the welcome message for non members vbulletin - guests custom message entering forum Vb - how to add advertisements in vbulletin - vbulletin ads guest - quickbooks has reached the maximum number of unregistered uses - vBulletin make ad show if user not registered - add a link to vbulletin for visitors only - guest message vbulletin - html code in header template vbulletin - vbulletin adsense only display for guest - code to only show message and add me - how to add welcome message as image in notice in vBulletin forums? - list of sites where unregistered can leave comment - vbulletin custom message unregistered - vbulletin show only to non guests - what is the code for home add message - display ads to specific users vbulletin - GUEST TRACKING IN VBULLETIN - MESSAGE TO UNREGISTERED ON FORUM - turn off vbulletin index.html - vbulletin how to make image only for unregistered - vbulletin message for guest - how to edit the welcome messeges for guest on vbulletin - show to only google visitors + vbulletin - welcome message in vbulletin header - object in message vbulletin forum - showing unregistered message - ad messages - guest welcome message vbulletin - quickbooks unregistered uses workaround - show to google visitors only + vbulletin - if unregistered message - vbulletin ads to un reggistered - vbulletin ad locations forum select - display welcome guest or username - vbulletin how to only show adsense to non members? - guest only message with images in vbulletin - how to add ads to message boards - how to add a message to the header in vbulletin - How to edit footer message in vBulletin forum? - html welcome entry message codes - quickbooks has reached the maximum number of unregistered uses" - vbulletin edit default welcome - vbulletin rss guest user - how to show username in html vbull - vbulletin only unregisted users see ads? - vbulletin guest message delete - "quickbooks has reached the maximum number" - how to email a display ad as viewable page -