Announcement

Collapse
No announcement yet.

[HowTo] [3.0.3] Add 'Forum Info' to the forums!

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

  • [HowTo] [3.0.3] Add 'Forum Info' to the forums!

    [HowTo] [3.0.3] Add 'Forum Info' to the forums!
    By: Floris - http://www.vBulletin-Fans.com/

    Description: This tutorial shows you how to remove the last 3 threads/posts/moderators columns to create more space (especially handy for cluthered fixed width forums) and put the data on a single row below the forums on forumhome.

    Example of how it looks: Check the screenshots, but should look like this:
    Forum Info: Threads: x - Posts: y - Viewers: z - Moderators: a,b,c

    Note: Moderators and Users viewing parts will only show if there is any data for it, so it won't display if the value is empty.

    Installation instructions:

    * Open the template FORUMHOME

    * Find this code and delete it:

    HTML Code:
    <td class="thead">$vbphrase[threads]</td>
    <td class="thead">$vbphrase[posts]</td>
    <if condition="$vboptions['showmoderatorcolumn']">
    <td class="thead">$vbphrase[moderator]</td>
    </if>
    * Save the FORUMHOME template.

    * Open the template: forumhome_forumbit_level2_post

    * Find this code and delete it:

    HTML Code:
    <td class="alt1">$forum[threadcount]</td>
    <td class="alt2">$forum[replycount]</td>
    <if condition="$vboptions['showmoderatorcolumn']">
    <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
    </if>
    * Now find this code:

    HTML Code:
    <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    * Below this, on a new line, add this code:

    HTML Code:
    <div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><span class="time">$vbphrase[forum_info]:</span> <if condition="$show['browsers']"><phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase> -</if> $vbphrase[threads]: $forum[threadcount] - $vbphrase[posts]: $forum[replycount] <if condition="$vboptions['showmoderatorcolumn']"><if condition="$forum[moderators] == ''"><else />- $vbphrase[moderators]: $forum[moderators]</if></if></div>
    * Save the forumhome_forumbit_level2_post template

    * Now goto "search phrases" and find this phrase variable name: forum_info

    * Edit the phrase and change the phrase type from user tools to 'GLOBAL' from the MASTER language.

    NOTE: You may need to add
    $debug = '1';
    to your includes/config.php file (somewhere in the middle on a new line)
    (remove that line when done)

    * Save the phrase

    * Finally find this phrase variable name: x_viewing

    * Edit the phrase and change the phrase to this: (replace total content with..)

    Users viewing: {1}

    * Save the phrase x_viewing and you are DONE.
    Attached Files
    Last edited by Floris; Thu 7 Oct '04, 4:06am.

  • #2
    Wow, This is EXACTLY what I've been waiting for, for MONTHS! Amazing work again Floris!

    Comment


    • #3
      excellent, im trying to do this right now, i have gotten to all the steps and completed them except for

      * Now goto "search phrases" and find this phrase variable name: forum_info

      * Edit the phrase and change the phrase type from user tools to 'GLOBAL' from the MASTER language.
      I was talking to someone who helps me with vB and he said there should be a "Drop Down Menu" in the Phrase area, is something wrong here??
      Attached Files

      Comment


      • #4
        Originally posted by xplode
        excellent, im trying to do this right now, i have gotten to all the steps and completed them except for



        I was talking to someone who helps me with vB and he said there should be a "Drop Down Menu" in the Phrase area, is something wrong here??
        Unless you use more than one language you can just go to that template forumhome_forumbit_level2_post and replace $vbphrase[forum_info] with "Forum Info:"

        Comment


        • #5
          Originally posted by xplode
          excellent, im trying to do this right now, i have gotten to all the steps and completed them except for



          I was talking to someone who helps me with vB and he said there should be a "Drop Down Menu" in the Phrase area, is something wrong here??
          Did you read the part about running the forum in debug?

          Comment


          • #6
            ownage-

            done

            Comment


            • #7
              Erm.. lol

              heres my FORUMHOME Template:

              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
              <if condition="$vboptions['shoutbox_forumhomeshouts'] == 1">
              <!-- shoutbox hack (by squall14716) -->
              <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
              <thead>
              <tr>
              	<td class="tcat" colspan="2">
              <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
              <a href="shoutbox.php?$session[sessionurl]">
              <if condition="$vboptions[shoutbox_numberofforumhomeshouts] == 1">
              <phrase 1="$vbphrase[shoutbox_forumhome_latest]" 2="" 3="$vbphrase[shoutbox_forumhome_shout]">$vbphrase[shoutbox_forumhome_x_y_z]</phrase>
              <else /><phrase 1="$vbphrase[shoutbox_forumhome_last]" 2="$vboptions[shoutbox_numberofforumhomeshouts]" 3="$vbphrase[shoutbox_forumhome_shouts]">$vbphrase[shoutbox_forumhome_x_y_z]</phrase>
              </if></a></td>
              </tr>
              <tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_shoutbox]">
              <tr valign="top">
              	<td class="alt2"><a href="shoutbox.php?$session[sessionurl]"><img src="$stylevar[imagesfolder]/icons/icon2.gif" alt="" title="" border="0" />	
              <if condition="!($permissions['shoutboxpermissions'] & SHOUTVIEW) || $bbuserinfo['shoutbanned'] == 1">
              	<td class="alt1" width="100%"><span class="smallfont"><b>$vbphrase[shoutbox_noviewperms]</b></span></td>
              <else />
              <if condition="$vboptions['shoutbox_iframe'] == 0">
              <!-- IF THE IFRAME IS DISABLED -->
              	<td class="alt1" width="100%"><span class="smallfont">
              <div class="smallfont" style="height:150px;width:100%;overflow:auto"><hr>  $latestshouts<br/> </div>  <if condition="$vboptions['shoutbox_shoutonforumhome'] == input && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" <if condition="$vboptions['shoutbox_shoutcharlimit'] != 0">maxlength="$vboptions[shoutbox_shoutcharlimit]"</if>>  <input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></if> <if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
              	</span></td>
              <else />
              <!-- IF THE IFRAME IS ENABLED -->
              	<td class="alt1" width="100%"><span class="smallfont">
              <if condition="$vboptions['shoutbox_shoutonforumhome'] == input && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" <if condition="$vboptions['shoutbox_shoutcharlimit'] != 0">maxlength="$vboptions[shoutbox_shoutcharlimit]"</if>>  <input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form><br /></if>
              <iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="165" scrolling="auto" frameborder="0" name="forumhome_shoutbox" id="forumhome_shoutbox"></iframe>
              <if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
              	</span></td>
              </if>
              </tr>
              </if>
              </tbody>
              </thead>
              </table>
              <br />
              <!-- end shoutbox hack (by squall14716) -->
              </if>
              
              
              <!-- 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>
              
              </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">$vbphrase[mark_forums_read]</a>
              			&nbsp; &nbsp;
              			<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
              		</strong></div></td>
              	</tr>
              </tbody>
              </table>
              <!-- /main -->
              
              <br />
              <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 -->
              <tbody>
              	<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]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
              		</td>
              	</tr>
              </tbody>
              <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
              	<tr>
              		<td class="alt2"><a href="online.php?$session[sessionurl]"><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>
              </tbody>
              <!-- end logged-in users -->
              $todayloggedinusers
              </if>
              <tbody>
              	
              			
              <!-- BOOFO'S VB3 FORUMHOME STATS -->
              <tbody>
              	<tr>
              		<td class="thead" colspan="6">
              			<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="panelsurround" align="center" colspan="6">
              
              	<table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
              	<tr>
              		<td align="$stylevar[left]">
              			<fieldset class="fieldset" style="margin:0px">
              				<legend><font color=green>$statsupdate</font></legend>
              				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
              				<if condition="$bbuserinfo[userid]">
              				<tr>
              					<td colspan="6" nowrap="nowrap"><span class="smallfont">$vbphrase[threads]: <b>$totalthreads</b><if condition="$statscache[newthreads] >='1'"> (<b>$statscache[newthreads]</b> Today)</if>, $vbphrase[posts]: <b>$totalposts</b><if condition="$statscache[newposts] >='1'"> (<b>$statscache[newposts]</b> Today)</if>, $vbphrase[bf2_thread_views]: <b>$statscache[getthreadviews]</b></span></td>
              				</tr>
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">$vbphrase[bf2_total_registrations]: <strong>$newuserid</strong>, $vbphrase[bf2_active_members]: <strong>$numbermembers</strong><if condition="$statscache[newusers] >='1'">, $vbphrase[bf2_members_new]: <b>$statscache[newusers]</b>
              				</if></span></td>
              				</tr>
              				<if condition="$newthreadssince OR $newpostssince">
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">
              				<if condition="$newthreadssince > '1'">
              			                There have been <a href="$vboptions[bburl]/search.php?do=getnew"><b>$newthreadssince</b></a> new threads
              				<else />
              				<if condition="$newthreadssince == '1'">
              					There has been <a href="$vboptions[bburl]/search.php?do=getnew"><b>$newthreadssince</b></a> new thread
                       				</if>
              				</if>
              				<if condition="$newthreadssince > '0' AND $newpostssince > '0'">
              					 and
              				<else />
              				<if condition="$newthreadssince < '1' AND $newpostssince > '1'">
              					There have been
              				<else />
              				<if condition="$newthreadssince < '1' AND  $newpostssince == '1'">
              					There has been
              						</if>
              					</if>
              				</if>
              				<if condition="$newpostssince > '1'">
              					<a href="$vboptions[bburl]/search.php?do=getnew"><b>$newpostssince</b></a> new posts
              				<else />
              				<if condition="$newpostssince == '1'">
              					<a href="$vboptions[bburl]/search.php?do=getnew"><b>$newpostssince</b></a> new post
                       				</if>
              				</if>
              				<if condition="$newthreadssince > '0' OR $newpostssince > '0'">
              					 since your last visit, $bbuserinfo[username].
              				</if></span></td>
              				</tr>
              				</if>
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">Top Poster: <a href="member.php?$session[sessionurl]u=$statscache[topposterid]">$statscache[topposter]</a> (<b>$statscache[toppostercount]</b> Posts = <b>$statscache[topposterpercent]</b>)</span></td>
              				</tr>
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">Top Thread Starter: <a href="member.php?$session[sessionurl]u=$statscache[topstarterid]">$statscache[topstarter]</a> (<b>$statscache[topstartercount]</b> Threads = <b>$statscache[topthreadspercent]</b>)</span></td>
              				</tr>
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">Top Referrer: <a href="member.php?$session[sessionurl]u=$statscache[topreferrerid]">$statscache[ref2]</a> (<b>$statscache[ref]</b> Referrals)</span></td>
              				</tr>
              				<if condition="$show[reputation]">
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">Top Reputation: <a href="member.php?$session[sessionurl]u=$statscache[toprepid]">$statscache[toprepun]</a> (<b>$statscache[topreprep]</b> Reputation Points)</span></td>
              				</tr>
              				</if>
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">Most Viewed Profile: <a href="member.php?$session[sessionurl]u=$statscache[getfileviewsid]">$statscache[getfileviewsun]</a> (<b>$statscache[getfileviews]</b> Views)</span></td>
              				</tr>
              
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[bf2_welcome_newest_member]</phrase></span></td>
              				</tr>
              				<else />
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont">$vbphrase[threads]: <b>$totalthreads</b>, $vbphrase[posts]: <b>$totalposts</b>, $vbphrase[members]: <b>$numbermembers</b></span></td>
              				</tr>
              				<tr>
              					<td nowrap="nowrap"><span class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[bf2_welcome_newest_member]</phrase></span></td>
              
              				</tr>
              				</if>
              				</table>
              			</fieldset>
              		</td>
              	</tr>
              </table>
              </td>
              </tr>
                      <if condition="$birthdays == '' AND $upcomingevents == ''">
                      <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="6"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr>
                      </if>
              </tbody>
              <!-- BOOFO'S VB3 FORUMHOME STATS -->
              
              
              <if condition="$show['birthdays']">
              <!-- 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="alt2"><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">$birthdays</div></td>
              	</tr>
              </tbody>
              <!-- end today's birthdays -->
              </if>
              <if condition="$show['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="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>
              </tbody>
              </if>
              </table>
              <br />
              <!-- end what's going on box -->
              
              
              
              
              <!-- top statistics box -->
              <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
              <thead>
              	<tr>
              		<td class="tcat" colspan="3">
              			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_statistics')"><img id="collapseimg_forumhome_statistics" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_statistics].gif" alt="" border="0" /></a>
              			Statistics - Top $displayrecords</td>
              	</tr>
              </thead>
              <tbody id="collapseobj_forumhome_statistics" style="$vbcollapse[collapseobj_forumhome_statistics]">
              	<tr>
              		<td class="thead" width="23%" align="$stylevar[left]" nowrap>Top Posters</td>
              		<td class="thead" width="22%" align="$stylevar[left]" nowrap>Newest Members</td>
              		<td class="thead" width="55%" nowrap>Newest Replies
              		</td>
              	</tr>
              	<tr>
              		<td class="alt2" width="23%" valign="top">
              		<table>
              			<tr>
              				<td class="smallfont" width="100%">Member:</td>
              				<td class="smallfont" align="right" nowrap>Posts:</td>
              			</tr>
              			$stats_posters
              		</table>
              		</td>
              		<td class="alt1" width="22%" valign="top">
              		<table>
              			<tr>
              				<td class="smallfont" width="100%" nowrap>Member:</td>
              				<td class="smallfont" align="right" nowrap>Posts:</td>
              			</tr>
              			$stats_members
              		</table>
              		</td>
              		<td class="alt2" width="55%" valign="top">
              		<table>
              			<tr>
              				<td class="smallfont" width="70%" nowrap>Thread:</td>
              				<td class="smallfont" width="30%" nowrap>Last Poster:</td>
              				<td class="smallfont" align="right" nowrap>Views:</td>
              				<td class="smallfont" align="right" nowrap>Replies:</td>
              
              
              			</tr>
              			$stats_threads
              		</table>
              		</td>
              	</tr>
              </tbody>
              </table>
              <br />
              <br />
              <!-- end top statistics box -->
              
              
              
              
              
              
              <!-- icons and login code -->
              <table cellpadding="0" cellspacing="2" border="0" width="100%">
              <tr valign="bottom">
              	<td>
              		<table cellpadding="2" cellspacing="0" border="0">
              		<tr>
              			<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
              			<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
              		</tr>
              		<tr>
              			<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
              			<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
              		</tr>
              		<tr>
              			<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
              			<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
              		</tr>
              		</table>
              	</td>
              	<if condition="!$show['guest']">
              		<!-- member logout -->
              		<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
              		<!-- end member logout -->
              	</if>
              </tr>
              </table>
              <!-- / icons and login code -->
              
              $footer
              </body>
              </html>
              cant find what ya want me to find

              Comment


              • #8
                Originally posted by Blaminator
                Erm.. lol

                heres my FORUMHOME Template:

                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
                <if condition="$vboptions['shoutbox_forumhomeshouts'] == 1">
                <!-- shoutbox hack (by squall14716) -->
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <thead>
                <tr>
                	<td class="tcat" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
                <a href="shoutbox.php?$session[sessionurl]">
                <if condition="$vboptions[shoutbox_numberofforumhomeshouts] == 1">
                <phrase 1="$vbphrase[shoutbox_forumhome_latest]" 2="" 3="$vbphrase[shoutbox_forumhome_shout]">$vbphrase[shoutbox_forumhome_x_y_z]</phrase>
                <else /><phrase 1="$vbphrase[shoutbox_forumhome_last]" 2="$vboptions[shoutbox_numberofforumhomeshouts]" 3="$vbphrase[shoutbox_forumhome_shouts]">$vbphrase[shoutbox_forumhome_x_y_z]</phrase>
                </if></a></td>
                </tr>
                <tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_shoutbox]">
                <tr valign="top">
                	<td class="alt2"><a href="shoutbox.php?$session[sessionurl]"><img src="$stylevar[imagesfolder]/icons/icon2.gif" alt="" title="" border="0" />	
                <if condition="!($permissions['shoutboxpermissions'] & SHOUTVIEW) || $bbuserinfo['shoutbanned'] == 1">
                	<td class="alt1" width="100%"><span class="smallfont"><b>$vbphrase[shoutbox_noviewperms]</b></span></td>
                <else />
                <if condition="$vboptions['shoutbox_iframe'] == 0">
                <!-- IF THE IFRAME IS DISABLED -->
                	<td class="alt1" width="100%"><span class="smallfont">
                <div class="smallfont" style="height:150px;width:100%;overflow:auto"><hr>  $latestshouts<br/> </div>  <if condition="$vboptions['shoutbox_shoutonforumhome'] == input && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" <if condition="$vboptions['shoutbox_shoutcharlimit'] != 0">maxlength="$vboptions[shoutbox_shoutcharlimit]"</if>>  <input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></if> <if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
                	</span></td>
                <else />
                <!-- IF THE IFRAME IS ENABLED -->
                	<td class="alt1" width="100%"><span class="smallfont">
                <if condition="$vboptions['shoutbox_shoutonforumhome'] == input && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" <if condition="$vboptions['shoutbox_shoutcharlimit'] != 0">maxlength="$vboptions[shoutbox_shoutcharlimit]"</if>>  <input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form><br /></if>
                <iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="165" scrolling="auto" frameborder="0" name="forumhome_shoutbox" id="forumhome_shoutbox"></iframe>
                <if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
                	</span></td>
                </if>
                </tr>
                </if>
                </tbody>
                </thead>
                </table>
                <br />
                <!-- end shoutbox hack (by squall14716) -->
                </if>
                
                
                <!-- 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>
                
                </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">$vbphrase[mark_forums_read]</a>
                			&nbsp; &nbsp;
                			<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
                		</strong></div></td>
                	</tr>
                </tbody>
                </table>
                <!-- /main -->
                
                <br />
                <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 -->
                <tbody>
                	<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]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                		</td>
                	</tr>
                </tbody>
                <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
                	<tr>
                		<td class="alt2"><a href="online.php?$session[sessionurl]"><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>
                </tbody>
                <!-- end logged-in users -->
                $todayloggedinusers
                </if>
                <tbody>
                	
                			
                <!-- BOOFO'S VB3 FORUMHOME STATS -->
                <tbody>
                	<tr>
                		<td class="thead" colspan="6">
                			<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="panelsurround" align="center" colspan="6">
                
                	<table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                	<tr>
                		<td align="$stylevar[left]">
                			<fieldset class="fieldset" style="margin:0px">
                				<legend><font color=green>$statsupdate</font></legend>
                				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                				<if condition="$bbuserinfo[userid]">
                				<tr>
                					<td colspan="6" nowrap="nowrap"><span class="smallfont">$vbphrase[threads]: <b>$totalthreads</b><if condition="$statscache[newthreads] >='1'"> (<b>$statscache[newthreads]</b> Today)</if>, $vbphrase[posts]: <b>$totalposts</b><if condition="$statscache[newposts] >='1'"> (<b>$statscache[newposts]</b> Today)</if>, $vbphrase[bf2_thread_views]: <b>$statscache[getthreadviews]</b></span></td>
                				</tr>
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">$vbphrase[bf2_total_registrations]: <strong>$newuserid</strong>, $vbphrase[bf2_active_members]: <strong>$numbermembers</strong><if condition="$statscache[newusers] >='1'">, $vbphrase[bf2_members_new]: <b>$statscache[newusers]</b>
                				</if></span></td>
                				</tr>
                				<if condition="$newthreadssince OR $newpostssince">
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">
                				<if condition="$newthreadssince > '1'">
                			                There have been <a href="$vboptions[bburl]/search.php?do=getnew"><b>$newthreadssince</b></a> new threads
                				<else />
                				<if condition="$newthreadssince == '1'">
                					There has been <a href="$vboptions[bburl]/search.php?do=getnew"><b>$newthreadssince</b></a> new thread
                         				</if>
                				</if>
                				<if condition="$newthreadssince > '0' AND $newpostssince > '0'">
                					 and
                				<else />
                				<if condition="$newthreadssince < '1' AND $newpostssince > '1'">
                					There have been
                				<else />
                				<if condition="$newthreadssince < '1' AND  $newpostssince == '1'">
                					There has been
                						</if>
                					</if>
                				</if>
                				<if condition="$newpostssince > '1'">
                					<a href="$vboptions[bburl]/search.php?do=getnew"><b>$newpostssince</b></a> new posts
                				<else />
                				<if condition="$newpostssince == '1'">
                					<a href="$vboptions[bburl]/search.php?do=getnew"><b>$newpostssince</b></a> new post
                         				</if>
                				</if>
                				<if condition="$newthreadssince > '0' OR $newpostssince > '0'">
                					 since your last visit, $bbuserinfo[username].
                				</if></span></td>
                				</tr>
                				</if>
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">Top Poster: <a href="member.php?$session[sessionurl]u=$statscache[topposterid]">$statscache[topposter]</a> (<b>$statscache[toppostercount]</b> Posts = <b>$statscache[topposterpercent]</b>)</span></td>
                				</tr>
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">Top Thread Starter: <a href="member.php?$session[sessionurl]u=$statscache[topstarterid]">$statscache[topstarter]</a> (<b>$statscache[topstartercount]</b> Threads = <b>$statscache[topthreadspercent]</b>)</span></td>
                				</tr>
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">Top Referrer: <a href="member.php?$session[sessionurl]u=$statscache[topreferrerid]">$statscache[ref2]</a> (<b>$statscache[ref]</b> Referrals)</span></td>
                				</tr>
                				<if condition="$show[reputation]">
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">Top Reputation: <a href="member.php?$session[sessionurl]u=$statscache[toprepid]">$statscache[toprepun]</a> (<b>$statscache[topreprep]</b> Reputation Points)</span></td>
                				</tr>
                				</if>
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">Most Viewed Profile: <a href="member.php?$session[sessionurl]u=$statscache[getfileviewsid]">$statscache[getfileviewsun]</a> (<b>$statscache[getfileviews]</b> Views)</span></td>
                				</tr>
                
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[bf2_welcome_newest_member]</phrase></span></td>
                				</tr>
                				<else />
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont">$vbphrase[threads]: <b>$totalthreads</b>, $vbphrase[posts]: <b>$totalposts</b>, $vbphrase[members]: <b>$numbermembers</b></span></td>
                				</tr>
                				<tr>
                					<td nowrap="nowrap"><span class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[bf2_welcome_newest_member]</phrase></span></td>
                
                				</tr>
                				</if>
                				</table>
                			</fieldset>
                		</td>
                	</tr>
                </table>
                </td>
                </tr>
                        <if condition="$birthdays == '' AND $upcomingevents == ''">
                        <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="6"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr>
                        </if>
                </tbody>
                <!-- BOOFO'S VB3 FORUMHOME STATS -->
                
                
                <if condition="$show['birthdays']">
                <!-- 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="alt2"><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">$birthdays</div></td>
                	</tr>
                </tbody>
                <!-- end today's birthdays -->
                </if>
                <if condition="$show['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="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>
                </tbody>
                </if>
                </table>
                <br />
                <!-- end what's going on box -->
                
                
                
                
                <!-- top statistics box -->
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <thead>
                	<tr>
                		<td class="tcat" colspan="3">
                			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_statistics')"><img id="collapseimg_forumhome_statistics" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_statistics].gif" alt="" border="0" /></a>
                			Statistics - Top $displayrecords</td>
                	</tr>
                </thead>
                <tbody id="collapseobj_forumhome_statistics" style="$vbcollapse[collapseobj_forumhome_statistics]">
                	<tr>
                		<td class="thead" width="23%" align="$stylevar[left]" nowrap>Top Posters</td>
                		<td class="thead" width="22%" align="$stylevar[left]" nowrap>Newest Members</td>
                		<td class="thead" width="55%" nowrap>Newest Replies
                		</td>
                	</tr>
                	<tr>
                		<td class="alt2" width="23%" valign="top">
                		<table>
                			<tr>
                				<td class="smallfont" width="100%">Member:</td>
                				<td class="smallfont" align="right" nowrap>Posts:</td>
                			</tr>
                			$stats_posters
                		</table>
                		</td>
                		<td class="alt1" width="22%" valign="top">
                		<table>
                			<tr>
                				<td class="smallfont" width="100%" nowrap>Member:</td>
                				<td class="smallfont" align="right" nowrap>Posts:</td>
                			</tr>
                			$stats_members
                		</table>
                		</td>
                		<td class="alt2" width="55%" valign="top">
                		<table>
                			<tr>
                				<td class="smallfont" width="70%" nowrap>Thread:</td>
                				<td class="smallfont" width="30%" nowrap>Last Poster:</td>
                				<td class="smallfont" align="right" nowrap>Views:</td>
                				<td class="smallfont" align="right" nowrap>Replies:</td>
                
                
                			</tr>
                			$stats_threads
                		</table>
                		</td>
                	</tr>
                </tbody>
                </table>
                <br />
                <br />
                <!-- end top statistics box -->
                
                
                
                
                
                
                <!-- icons and login code -->
                <table cellpadding="0" cellspacing="2" border="0" width="100%">
                <tr valign="bottom">
                	<td>
                		<table cellpadding="2" cellspacing="0" border="0">
                		<tr>
                			<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                			<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
                		</tr>
                		<tr>
                			<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                			<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
                		</tr>
                		<tr>
                			<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                			<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
                		</tr>
                		</table>
                	</td>
                	<if condition="!$show['guest']">
                		<!-- member logout -->
                		<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
                		<!-- end member logout -->
                	</if>
                </tr>
                </table>
                <!-- / icons and login code -->
                
                $footer
                </body>
                </html>
                cant find what ya want me to find

                bump

                Comment


                • #9
                  Originally posted by Blaminator
                  bump
                  u r using a ripped skin of vbulletin.org so its an old skin with outdated coding for the template.

                  u will get in trouble blam, change ur skins ..

                  Comment


                  • #10
                    I asked on vbulletin.org if i could re-create the skin, they said yes, and besides, its a child style, the coding im trying to do is to the vbulletin default style.

                    Comment


                    • #11
                      The first stage of code isn't found on my forumhome template either.

                      I'm using VB3.0.3 and trying to edit in the default style.

                      The template is showing as edited, I've not done much editing on it and don't know what i'm doing when I edit because I just follow the instructions.

                      Possibly the only edit was sigma chat.

                      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>
                       </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">$vbphrase[mark_forums_read]</a>
                         &nbsp; &nbsp;
                         <a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
                        </strong></div></td>
                       </tr>
                      </tbody>
                      </table>
                      <!-- /main -->
                      <br />
                      <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 -->
                      <tbody>
                       <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]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                        </td>
                       </tr>
                      </tbody>
                      <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
                       <tr>
                        <td class="alt2"><a href="online.php?$session[sessionurl]"><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>
                      </tbody>
                      <!-- end logged-in users -->
                      </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"><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']">
                      <!-- 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="alt2"><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">$birthdays</div></td>
                       </tr>
                      </tbody>
                      <!-- end today's birthdays -->
                      </if>
                      <if condition="$show['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="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>
                      </tbody>
                      </if>
                      </table>
                      <br />
                      <!-- end what's going on box -->
                      <!-- icons and login code -->
                      <table cellpadding="0" cellspacing="2" border="0" width="100%">
                      <tr valign="bottom">
                       <td>
                        <table cellpadding="2" cellspacing="0" border="0">
                        <tr>
                         <td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                         <td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
                        </tr>
                        <tr>
                         <td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                         <td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
                        </tr>
                        <tr>
                         <td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                         <td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
                        </tr>
                        </table>
                       </td>
                       <if condition="!$show['guest']">
                        <!-- member logout -->
                        <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
                        <!-- end member logout -->
                       </if>
                      </tr>
                      </table>
                      <!-- / icons and login code -->
                      $footer
                      </body>
                      </html>
                      thanks for reading

                      Comment


                      • #12
                        Your template is obviously not default vBulletin.

                        Comment


                        • #13
                          Hi thanks for replying,

                          so to elaborate on your answer, does that mean that this customization will just not work full stop? It's more difficult? or somehow I have to disregard all my work and go and restore my forum to new?

                          I would prefer to have this look but as a newbie I want to get it with minimum hassle. I've only installed the chat and one child template and those were a challenge.

                          Comment


                          • #14
                            If your code does not match, the instructions simply aren't for that unique template. Try to read the code and understand it, then figure out how this applies to your already modified templates. What I make and release is made on a fresh 3.0.3 installation with default templates. The instructions are clear enough what 'code' to look for. Like, which link, text or phrase. And then what to modify or replace or delete to get the desired effect.

                            Comment


                            • #15
                              Hi again, I am almost there as I have managed to get the threads and posts count under each forum.

                              I am struggling to remove the threads and posts columns from the forum home page. I can't relate any of the code that's in my forumhome template to any on the parts that I should be removing.

                              I can repost my forumhome code if need be to try and see what I should take out to remove these now "empty" two columns.

                              Edit: also just noticed threads and post count still show in the last two columns on my hidden admin forum.
                              Last edited by NetRover; Sun 31 Oct '04, 7:07am.

                              Comment

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