Thread: PurpleGlass
View Single Post
  #9  
Old 09-13-2006, 06:41 PM
southernlady's Avatar
southernlady southernlady is offline
 
Join Date: May 2005
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Which template is it that you edit the text "southern gazebo menu" on the left-hand menu section?
It's the ForumHome template, specifically this area, see where it says: START ADDED LEFT MENU CODE. Liz
PHP 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 -->
    
$headinclude
    
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</
head>
<
body>
$header
$navbar
<!-- START ADDED LEFT MENU CODE -->
<
table width="$stylevar[outertablewidth]border="0" cellpadding="$stylevar[cellpadding]cellspacing="0" align="center">
    <
tr>
    <
td width="180" valign="top">
        <
br />

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
thead>
    <
tr>
        <
td class="tcat" colspan="2">Southerngazebo Menu</td>
    </
tr>
</
thead>
<!-- 
Welcome Block -->
<if 
condition="$bbuserinfo['userid']">
<
thead>
    <
tr>
        <
td class="thead" colspan="2">User CP</td>
    </
tr>
</
thead>
<
tr>
<
td class="alt1" colspan="2"><span class="smallfont">
    <
span class="smallfont">Welcome back <strong>$bbuserinfo[username]</strong>!</span><br />
    <
span class="smallfont"><phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase><br />
    <
a href="private.php?$session[sessionurl]">New PMs</a>: $bbuserinfo[pmunread] / $bbuserinfo[pmtotal]
    <
br /><if condition="$vbulletin->userinfo['userid'] != '0' AND THIS_SCRIPT == 'index'"><br /><span class="smallfont">There has been <a href="$vboptions[bburl]/search.php?do=getnew">$newposts</a> new posts and <a href="$vboptions[bburl]/search.php?do=getnew">$newthreads</a> new threads since your last visit.<br />( <a href="$vboptions[bburl]/search.php?do=getnew"Get New Posts</a> ) </span></if>
<
a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]onclick="return log_out()">$vbphrase[log_out]</a></span>
</
td>
</
tr>
</if>
<!-- 
End Welcome Block -->
<!-- 
Search Block -->
<
thead>
    <
tr>
        <
td class="thead" colspan="2">Search Forums</td>
    </
tr>
</
thead>    
<
tr>
<
td class="alt1" colspan="2"><form action="search.php" method="post" name="search">
    <
input name="s" type="hidden" value="" />
    <
input name="do" type="hidden" value="process" />
    <
input name="sortby" type="hidden" value="lastpost" />
    <
input name="forumchoice" type="hidden" value="0" />
    <
input class="bginput" name="query" size="13" type="text" /> $gobutton<br />
    <
span class="smallfont">&raquo; <a href="search.php?">$vbphrase[advanced_search]</a></span>
</
form>
<
br />
</
td>
</
tr>
<!-- 
End Search Block -->
<!-- 
Online Users Block -->
<
thead>
    <
tr>
        <
td class="thead" colspan="2"><a href="online.php?$session[sessionurl]">Active Users</a>: $totalonline</td>
    </
tr>
</
thead>
    <
tr>
    <
td class="alt1" colspan="2"><span class="smallfont">
    <
phrase 1="$numberregistered2="$numberguest">( <em>$vbphrase[x_members_and_y_guests]</em> )</phrase><br /><br />
    <
strong>$activeusers</strong><br /><br />
    <
phrase 1="$recordusers2="$recorddate3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase>
    </
span>
    </
td>
    </
tr>
<!-- 
End Online Users Block -->

<!-- 
Added to -->

<!-- 
today's birthdays -->
<tbody>
    <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>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
    <tr>
        <td class="alt1"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;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"><if condition="$show['
birthdays']">$birthdays<else />None</if></div></td>
    </tr>
</tbody>
<!-- end today'
s birthdays -->
<!-- 
today's upcomingevents -->
<tbody>
    <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>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
    <tr>
        <td class="alt1"><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"><if condition="$show['
upcomingevents']">$upcomingevents<else />None</if></div></td>
    </tr>
</tbody>
<!-- end upcomingevents -->

<!-- added to -->

</table>
    </td>
    <td valign="top">

<!-- 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_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
    </tr>
    <!-- / guest welcome message -->
    </if>
    <tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <td class="thead" width="175">$vbphrase[last_post]</td>
      <td class="thead">$vbphrase[threads]</td>
      <td class="thead">$vbphrase[posts]</td>
      <if condition="$vboptions['
showmoderatorcolumn']">
      <td class="thead">$vbphrase[moderator]</td>
      </if>
    </tr>
</thead>
$forumbits
<tbody>
    <tr>
        <td class="tfoot" align="center" colspan="<if condition="$vboptions['
showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
            <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
            <if condition="$vboptions['
forumleaders']">&nbsp; &nbsp;
            <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
        </strong></div></td>
    </tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->
    </td>
 </tr></table>
<!-- END ADDED LEFT MENU CODE --> 
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01176 seconds
  • Memory Usage 1,900KB
  • 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)bbcode_quote
  • (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