Back to vBulletin 3.6 Add-ons

Simple code for Welcome headers
Mod Version: 1.00, by Gsmdenis

This modification is in the archives.
vB Version: 3.6.5 Rating: (0 vote - 0 average) Installs: 3
Released: 06 Mar 2007 Last Update: Never Downloads: 1
Not Supported  

1) Go to Admincp

2) Do the template edits

--a) forumhome

Scroll about 20 lines until you find the code:

---------------------------------------------------------

PHP Code:
<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_q]2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>

</
td>

</
tr>

<!-- / 
guest welcome message -->

</if> 
------------------------------------------------------------

Del that and save.

--b) Edit navbar

Find:

--------------------------------------------------------------------------------

HTML Code:
<!-- breadcrumb, login, pm info -->
--------------------------------------------------------------------------------

Add below:

--------------------------------------------------------------------------------

PHP Code:
<!--Start---By Denis--->
<if 
condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login'">
<if 
condition="$show['guest']">
<
TABLE class=tborder cellSpacing=1 cellPadding=6 width="100%" align=center 
border
=0>
<
THEAD>
<!-- 
guest welcome message start BY Denis -->
<
TR>
<
TD class=tcat colSpan=5>Welcome to our forum <B></B>!</TD>
</
TR>
<
TR>
<
TD class=alt1 colSpan=5><p>You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other featuresBy joining our <STRONG>free</STRONGcommunity you will have access to post topicscommunicate privately with other members (PM), respond to pollsupload content and access many other special featuresRegistration is fastsimple and absolutely free so please, <A href="register.php?"><STRONG>join our community today</STRONG></A>! <BR>
<
BR>
If 
you have any problems with the registration process or your account loginplease <A href="sendmessage.php">contact us</A>. </p>
</
TD>
</
TR>
<!-- / 
guest welcome message BY Denis-->
</
THEAD>
<
TBODY>
</
TBODY>
</
TABLE>
<else /> 
<if 
condition="is_member_of($bbuserinfo, 3)">
<
TABLE class=tborder cellSpacing=1 cellPadding=6 width="100%" align=center 
border
=0>
<
THEAD>
<!-- 
guest welcome message BY Denis -->
<
TR>
<
TD class=tcat colSpan=5>Welcome to our forum <B></B>! Forum information :</TD>
</
TR>
<
TR>
<
TD class=alt1 colSpan=5><p>Please activaition your account by Email, If u did not activation you account herethen can not you will have access to post topicscommunicate privately with other members (PM), respond to pollsupload content and access many other special features. <BR>
1.If you did not receive the activation code ,Please press <
href
="profile.php?do=editpassword" 
rel=nofollow><B><U>Here</U></B></A></fontresend.<BR>
2.If also can not receive the activationPlease <
href
="profile.php?do=editpassword" 
rel=nofollow><B><U>here</U></B></Aedit other Email AddressOur forum will be send that again.<BR>
3.Other reason. <BR>
4.Other reason.</FONT></p>
</
TD>
</
TR>
<!-- / 
guest welcome message BY Denis -->
</
THEAD>
<
TBODY>
</
TBODY>
</
TABLE>
<else />
<if 
condition="$bbuserinfo[posts]<1">
<
TABLE class=tborder cellSpacing=1 cellPadding=6 width="100%" align=center 
border
=0>
<
THEAD>
<!-- 
guest welcome message BY Denis-->
<
TR>
<
TD class=tcat colSpan=5>Welcome to our forum <B></B>! Forum information :</TD>
</
TR>
<
TR>
<
TD class=alt1 colSpan=5><p>Our records indicate that you have never posted to our site beforeWhy not make your first post today by saying hello to our community in our Introductions forum.  Why not start with your first post today !<br>
</
p>
</
TD>
</
TR>
<!-- / 
guest welcome message BY Denis-->
</
THEAD>
<
TBODY>
</
TBODY>
</
TABLE>
 
<!-- / 
never posted message BY Denis-->
<else /> 
<if 
condition="$headerstime - 1209600 > $bbuserinfo[lastpost]">
<
TABLE class=tborder cellSpacing=1 cellPadding=6 width="100%" align=center 
border
=0>
<
THEAD>
<!-- 
guest welcome message BY Denis -->
<
TR>
<
TD class=tcat colSpan=5>Welcome to our forum <B></B>! Forum information :</TD>
</
TR>
<
TR>
<
TD class=alt1 colSpan=5><p>it appears that you have not posted on our forums in several weekswhy not take a few moments to ask a questionhelp provide a solution or just engage in a conversation with another member in any one of our forums?</p>
</
TD>
</
TR>
<!-- / 
guest welcome message BY Denis-->
</
THEAD>
<
TBODY>
</
TBODY>
</
TABLE>
<!-- / 
hasnt posted lately message BY Denis-->
</if>
</if>
</if>
</if>
</if>
<
br>
<!--
Finish---By Denis---> 
--------------------------------------------------------------------------------

Save that !

3) Done

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2025