View Single Post
  #285  
Old 11-01-2006, 04:28 AM
john_robot john_robot is offline
 
Join Date: Jun 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have used welcome header old system and now I have upgraded with the new one , but since the upgrade its not displaying the welcome message. I have followed each and every step mentioned , but its not working.

I have vBulletin Version 3.6.2 can you pls help me

Note : I have put $welcomeheaders on my FORUMHOME template.

pls can some one help me

PHP Code:
$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">

<
head>
$headinclude
<!-- 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>
</
head>
<
body>
$header
<table border="0" width="100%" cellspacing="4" cellpadding="0">
<
tr>
<
td valign="top">

$welcomeheaders

<!-- main -->$forumbits
<!-- /main --><br />
<!-- 
what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
            <thead>
                <tr>
                    <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
                </tr>
            </thead>
<if condition="$show['
loggedinusers']">
            <!-- logged-in users -->
            <tr>
                <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_activeusers')">
                <img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                <a href="online.php?$session[sessionurl]" rel="nofollow">$vbphrase[currently_active_users]</a>: 
                $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
            </tr>
            <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
                <tr>
                    <td class="alt2">
                    <a href="online.php?$session[sessionurl]" rel="nofollow">
                    <img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                    <td class="alt1" width="100%">
                    <div class="smallfont">
                        <div style="white-space: nowrap">
                            <phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">
                            $vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                        <div>
                            $activeusers</div>
                    </div>
                    </td>
                </tr>
</if>
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
            <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
    <tr>
        <td class="alt2" align="center"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
        <td class="alt1" width="100%">
        <div class="smallfont">
            <div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
            <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
        </div>
        </td>
    </tr>
</tbody>
<if condition="$show['
birthdays']">
                <tr>
                    <td class="thead" colspan="2">
                    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_birthdays')">
                    <img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a> 
                    $vbphrase[todays_birthdays] </td>
                </tr>
            <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
                <tr>
                    <td class="alt2">
                    <a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1">
                    <img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
                    <td class="alt1" width="100%">
                    <div class="smallfont">
                        $birthdays</div>
                    </td>
                </tr>
                <!-- end today'
s birthdays -->
</if>
<if 
condition="$show['upcomingevents']">
                <
tr>
                    <
td class="thead" colspan="2">
                    <
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_events')">
                    <
img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
            <if 
condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
                    </
td>
                </
tr>
            <
tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
                <
tr>
                    <
td class="alt2">
                    <
a href="calendar.php?$session[sessionurl]">
                    <
img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]border="0" /></a></td>
                    <
td class="alt1" width="100%">
                    <
div class="smallfont">
                        
$upcomingevents</div>
                    </
td>
                </
tr>
</if>
        </
table>
        <
table border="0" width="100%" cellspacing="0" cellpadding="0" background="$stylevar[imgdir_misc]/header/cat/bottombg.gif">
            <
tr>
                <
td width="4" align="left">
                <
img border="0" src="$stylevar[imgdir_misc]/header/cat/bottomleft.gif"></td>
                <
td>
                <
img border="0" src="$stylevar[imgdir_misc]/header/cat/bottombg.gif"></td>
                <
td width="4" align="right">
                <
img border="0" src="$stylevar[imgdir_misc]/header/cat/bottomright.gif"></td>
            </
tr>
        </
table>
        <
br />
        <!-- 
end what's going on box -->
<if condition="$show['
topXstats']">
        $topXstats
    </if>
        <!-- icons and login code --><br>
        <table cellpadding="5" cellspacing="1" border="0" width="100%" class="tborder">
            <tr valign="bottom">
                <td class="alt2">
                <table cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td class="alt2">
                        <img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                        <td class="smallfont" class="alt2">&nbsp; $vbphrase[forum_contains_new_posts]</td>
                        <td class="alt2">
                        <img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                        <td class="smallfont" class="alt2">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
                        <td class="alt2">
                        <img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                        <td class="smallfont" class="alt2">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
                    </tr>
                </table>
                </td>
            </tr>
        </table>
        </td>
        <!-- START OF RIGHT PANEL -->
        <td width="200" valign="top" align="right">
        <!--menu begin-->
<if condition="$show['
guest']">
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC">
<tr>
<table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
<tr>
<td class="tcat" valign="top" colspan="2">
<div align="left">
<font face="verdana, arial, helvetica" color="#ffffff" size="2">
<b>Register for Free</b></font></div></td>
</tr>
</table>        
<table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#CCCCCC">
            <tr>
                <td bgcolor="#fafafa">
                <div align="left">
                <font face="verdana,arial,helvetica" size="1">Registration at HotWebHostingTalk 
                is completely free and takes only a few seconds. By registering 
                you'
ll gain:<br>
                <
br>
                <
b>- Full Posting Privileges.<br>
                - 
Access to Private Messaging.<br>
                - 
Optional Email Notification.<br>
                - 
Ability to Fully Participate.</b> <br>
                <
br>
                
To Register now <a href="$vboptions[forumhome]/register.php?">click 
                here
</a>. </font></div></td>
            </
tr>
        </
table>
        <
div style="padding:5px 0px 5px 0px;">
        </
div>
        <
table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
            <
tr>
                <
td class="tcat" colspan="2">
                <
div align="left">
                <
font face="verdana, arial, helvetica" color="#ffffff" size="2">
                <
b>Control Panel</b></font></div></td>
            </
tr>
            <
tr>
                <
td class="smallfont" bgcolor="#fafafa">$vbphrase[username]</td>
                            <
td bgcolor="#fafafa">
<
input type="text" class="button" name="vb_login_username" id="navbar_username" size="13" accesskey="u" tabindex="1" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
        
            </
tr>
            <
tr>
                <
td class="smallfont" bgcolor="#fafafa">$vbphrase[password]</td>
                <
td bgcolor="#fafafa">
<
input type="password" class="button" name="vb_login_password" size="13" accesskey="p" tabindex="2" /></td>
            </
tr>
            <
tr>
                <
td bgcolor="#fafafa" colspan="2">
<
input name="submit" type="submit" class="button" accesskey="s" tabindex="4" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." value="Log in" />
<
label for="label">
<
input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me</label>
<
input type="hidden" name="s" value="" />
<
input type="hidden" name="do" value="login" />
<
input type="hidden" name="forceredirect" value="1" />
<
input type="hidden" name="vb_login_md5password" /></form></td>
            </
tr>
        </
table>
        <
div style="padding:5px 0px 5px 0px;">
        </
div>
        </if>
<if 
condition="$bbuserinfo['userid']">
<
div style="padding:5px 0px 5px 0px;">
</
div>
<
table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
<
tr>
<
td class="tcat">
<
div align="left">
<
font face="verdana, arial, helvetica" color="#ffffff" size="2">
<
b>Control Panel</b></font></div></td>
</
tr>
<
tr>
<
td bgcolor="#fafafa"><div class="smallfont" align="left">
<
phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<
phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl]condition="$show['pmstats']"><br>$vbphrase[private_messages_nav]</phrase>
</
div>
<!-- 
member logout -->
<
tr>
        <
td align="$stylevar[right]class="alt2">
        <
a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out()">
        <
phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
        </
td>
        </
tr>
<!-- 
end member logout -->
</
td>
</
tr>
</
table>
<
div style="padding:5px 0px 5px 0px;">
</
div>
</if><!-- / 
login form -->
        <
table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
            <
tr>
                <
td class="tcat">
                <
div align="left">
                <
font face="verdana, arial, helvetica" color="#ffffff" size="2">
                <
b>Web Feeds</b></font></div></td>
            </
tr>
            <
tr>
                <
td bgcolor="#fafafa">
                <
div align="center">
                <
a href="http://e.my.yahoo.com/config/cstore?.opt=content&.url=$vboptions[bburl]/external.php?type=rss2" target="_blank">
                <
img class="inlineimg" src="$stylevar[imgdir_misc]/addyahoo.gif" alt="Add $vboptions[bbtitle] To My Yahoo" height="33" width="89" border="0"></a></div></td>
            </
tr>
            <
tr>
                <
td bgcolor="#fafafa">
                <
div align="center">
                <
a href="http://www.google.com/ig/add?feedurl=$vboptions[bburl]/external.php?type=rss2" target="_blank">
                <
img class="inlineimg" src="$stylevar[imgdir_misc]/addgoogle.gif" alt="Add $vboptions[bbtitle] To My Google" height="15" width="80" border="0"></a></div></td>
            </
tr>
            <
tr>
                <
td bgcolor="#fafafa">
                <
div align="center">
                <
a href="http://my.msn.com/addtomymsn.armx?id=rss&ut=$vboptions[bburl]/external.php?type=rss2" target="_blank">
                <
img class="inlineimg" src="$stylevar[imgdir_misc]/addmsn.gif" alt="Add $vboptions[bbtitle] To My MSN" height="15" width="80" border="0"></a></div>
                </
td>
            </
tr>
            <
tr>
                <
td bgcolor="#fafafa">
                <
div align="center">
                <
a href="http://feeds.my.aol.com/add.jsp?ncid=AOLXPR00270000000001&url=$vboptions[bburl]/external.php?" target="_blank">
                <
img class="inlineimg" src="$stylevar[imgdir_misc]/myaol_cta1.gif" alt="Add $vboptions[bbtitle] To My AOL" height="14" width="63" border="0"></a></div></td>
            </
tr>
            <
tr>
                <
td bgcolor="#fafafa">
                <
div align="center">
                <
a href="http://www.bloglines.com/sub/$vboptions[bburl]/external.php?type=rss2" target="_blank">
                <
img class="inlineimg" src="$stylevar[imgdir_misc]/addblog.gif" alt="Add $vboptions[bbtitle] To My Blog" height="15" width="80" border="0"></a></div></td>
            </
tr>
        </
table>
        <
div style="padding:5px 0px 5px 0px;">
        </
div>
        <
table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
            <
tr>
                <
td class="tcat">
                <
div align="left">
                <
font face="verdana, arial, helvetica" color="#ffffff" size="2">
                <
b>News</b></font></div></td>
            </
tr>
            <
tr>
                <
td bgcolor="#fafafa">
                <
div align="left">$tbl_news</div></td>
            </
tr>
        </
table>
        <
div style="padding:5px 0px 5px 0px;">
        </
div>
        <
table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
            <
tr>
                <
td class="tcat">
                <
div align="left">
                <
font face="verdana, arial, helvetica" color="#ffffff" size="2">
                <
b>Site Statistics</b></font></div></td>
            </
tr>
            <
tr>
                <
td class="smallfont" bgcolor="#fafafa" align="left">Registered 
                Members
$numbermembers<br>
                
Total Threads$totalthreads<br>
                
Total Posts$totalposts </td>
            </
tr>
        </
table>
        <
div style="padding:5px 0px 5px 0px;">
        </
div>
        <
table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
            <
tr>
                <
td class="tcat">
                <
div align="left"><b>
                <
font face="verdana, arial, helvetica" size="2" color="#FFFFFF">
                
Pickup a Provider</font></b></div></td>
            </
tr>
            <
tr>
                <
td class="smallfont" bgcolor="#fafafa" align="left">
                <!-- 
Begin bannerad code -->
                <
div align="center">
<
script type="text/javascript"><!--
google_ad_client "pub-2917036076904468";
google_ad_width 120;
google_ad_height 240;
google_ad_format "120x240_as";
google_ad_type "text_image";
google_ad_channel "";
google_color_border "000000";
google_color_bg "000000";
google_color_link "66FF99";
google_color_text "FFFFFF";
google_color_url "008000";
//--></script>
<script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</
script>    
<!-- 
End bannerad code --></div></td>
            </
tr>
        </
table>
        <
div style="padding:5px 0px 5px 0px;">
            <
table border="0" width="95%" cellspacing="1" cellpadding="4" bgcolor="#cccccc">
                <
tr>
                    <
td class="tcat">
                    <
div align="left">
                    <
font face="verdana, arial, helvetica" color="#ffffff" size="2">
                    <
b>HWHT is Sponsored By</b></font></div></td>
</
tr>
<
tr>
<
td class="smallfont" bgcolor="#fafafa" align="left">
<
div align="center">

</
div>
</
td>
</
tr>
<
tr>
                    <
td class="smallfont" bgcolor="#fafafa" align="left">
                    <
div align="center"><a href="http://www.hostpinpin.com">
                    <
img src="http://www.hostpinpin.com/banners/anim88x31_2b.gif" alt="Cheap Web Hosting" border="0"></a></div>
                    </
td>
                </
tr>
            </
table>
            <
div style="padding:5px 0px 5px 0px;">
                <
br>
                <!--
menu end--></div>
        </
div>
        </if></
td>
        </
div>
        </
div>
        <!-- 
END OF RIGHT PANEL -->
    </
tr>
</
table>
<!-- / 
icons and login code -->$footer

</body>

</
html
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01424 seconds
  • Memory Usage 2,136KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete