Announcement

Collapse
No announcement yet.

Welcome message to appear on every page

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

  • Welcome message to appear on every page

    Welcome message appears when a visitor visits the first page

    What I would like to do is to have the welcome / register message to show when the visitor goes into sub forums

    I just think this will help in reminding them that they have to reg.. to post

    Any ideas

    Thanks for your time

  • #2
    That can be accomplished by moving some code around in the templates. Go to your:

    Admin CP -> Styles & Templates -> Style Manager -> -> Forum Home Templates -> FORUMHOME

    Remove the red code:

    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    	<!-- no cache headers -->
    	<meta http-equiv="Pragma" content="no-cache" />
    	<meta http-equiv="Expires" content="-1" />
    	<meta http-equiv="Cache-Control" content="no-cache" />
    	<!-- end no cache headers -->
    	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
    	$headinclude
    </head>
    <body>
    $header
    $navbar
    
    <!-- main -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    	<if condition="$show['guest']">
    	<!-- guest welcome message -->
    	<tr>
    		<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    	</tr>
    	<tr>
    		<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
    			<phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
    		</td>
    	</tr>
    	<!-- / guest welcome message -->
    	</if>
    Admin CP -> Styles & Templates -> Style Manager -> -> Navigation / Breadcrumb Templates -> navbar

    Add this code to the bottom of that template:

    Code:
    <!-- guest welcome message -->
    <if condition="$show['guest']">
    <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]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
    		</td>
    	</tr>
    </table>
    
    <br />
    
    </if>
    <!-- / guest welcome message -->

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X