Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Right (or left) side bar on forumhome Details »»
Right (or left) side bar on forumhome
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-31-2004 Last Update: Never Installs: 64
 
No support by the author.

Desciption: This mod will add a right side bar (or left side bar) or divide the forum home into two columns. One with main forum info and additional ones for whatever info you want to add to. For my hack, the addtional column contains guest message, forum stats, user birthday, upcoming event and 1 custom cell.

Installation time: 5-10 mins
Template mod: 1
- FORUMHOME

Requested by exesko here


If you want to make your custom cell(s) collapsable, REPLACE:
HTML Code:
<tbody>
	<tr>
		<td class="thead">
			Your custom cell.
		</td>
	</tr>
</tbody>
<tbody>
	<tr>
		<td class="alt1" width="100%"><div class="smallfont">Some text for your custom cell go here!</div></td>
	</tr>
</tbody>
WITH:
HTML Code:
<tbody>
	<tr>
		<td class="thead">
			<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>
			Your custom cell.
		</td>
	</tr>
</tbody>
<tbody>
	<tr>
		<td class="alt1" width="100%"><div class="smallfont">Some text for your custom cell go here!</div></td>
	</tr>
</tbody>
------
Click install if you use it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-20-2004, 11:45 PM
MegaHertz MegaHertz is offline
 
Join Date: Mar 2003
Location: U.S.A.
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice might have to try this out.
Reply With Quote
  #13  
Old 06-26-2004, 06:53 AM
Creative210's Avatar
Creative210 Creative210 is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much!
Reply With Quote
  #14  
Old 07-04-2004, 07:00 PM
Grounds_Network Grounds_Network is offline
 
Join Date: Jul 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran into a little problem that might also happen to other people

For some people the tables sizes in thread may be changed, so to fix this if you can't figure it out.

First Take this out of the bottom of the navbar Template
PHP Code:
<table cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="$stylevar[outertablewidth]class="page" align="center">
<
tr>
<
td
Then edit the FORUMHOME Template and find

PHP Code:
$navbar 
Under That Add

PHP Code:
<table cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="$stylevar[outertablewidth]class="page" align="center">
<
tr>
<
td


because it is in FORUMHOME now the mod will only edit the index and not any other pages.





Edit: And yet I got another thing you can change to make the homepage better. :P

when you install this mod at the bottom of the forum home you will notice that the "Current Active Users" table and all other tables below that have been resized. And if you are like me you want them to strech the hole way. So heres what you do.

In the FORUMHOME temple Find
PHP Code:
<br />
<
br />

<!-- 
what's going on box --> 
And Above that add the tables for the sidebar

PHP Code:
</td>
<
td width="20%" valign="top">
<!-- 
what's going on box -->
<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"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </tr>
    <tr>
        <td class="alt1">
            <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
        </td>
    </tr>
    <!-- / guest welcome message -->
    </if>
    <tr>
        <td class="thead">
            <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>
            <img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0"  width="20" height="20" align="center" />&nbsp;<phrase 1="$vboptions[bbtitle]">Forum Stats</phrase></td>
    </tr>
</thead>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
    <tr>
        <td class="alt1" width="100%">
        <div class="smallfont">
            <div>$vbphrase[threads]: $totalthreads<br />                 $vbphrase[posts]: $totalposts<br />
            $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">
            <
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>
            <
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" width="20" height="20" align="center" /></a>&nbsp;$vbphrase[todays_birthdays]
        </
td>
    </
tr>
</
tbody>
<
tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
    <
tr>
        <
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">
            <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]"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" width="20" height="20" align="center" /></a>&nbsp;$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" width="100%"><div class="smallfont">$upcomingevents</div></td>
    </tr>
</tbody>
</if>
<tbody>
    <tr>
        <td class="thead">
            Your custom cell.
        </td>
    </tr>
</tbody>
<tbody>
    <tr>
        <td class="alt1" width="100%"><div class="smallfont">Some text for your custom cell go here!</div></td>
    </tr>
</tbody>
</table>
</td>
</tr>
</table> 
Reply With Quote
  #15  
Old 07-05-2004, 05:17 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your fix is for right side bar, ain't it? well, I tested on my test board in both IE & Firefox browsers and didn't see any difference for where you put those HTML tags, but yeah i put all those tags in forumhome for the the left side bar. thanks for pointing it out those.
Reply With Quote
  #16  
Old 07-05-2004, 08:37 PM
Grounds_Network Grounds_Network is offline
 
Join Date: Jul 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea, they are for left side bar, but you'd have to be stupid not to know how to use then for left :/

The second was a little fix, because some people like the forums to look a certain way. Like my usersonline at the bottom were changed to be the same size as all the forum content for the index, but with the code moved it alows the usersonline thing to strech all the way across.

You should post this hack on vB.org, alot of people are requesting it.
Reply With Quote
  #17  
Old 09-10-2004, 08:50 PM
motochick motochick is offline
 
Join Date: Nov 2004
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!

I am a total novice and I managed to get it on my forum (and with adding some tweaks to it too) Great directions.

One more thing... how do I get the sidebar to show up on the rest of the forum pages (like when somebody clicks a thread) ?

Thanks!
Reply With Quote
  #18  
Old 09-13-2004, 03:27 AM
spence2 spence2 is offline
 
Join Date: Jun 2002
Location: usa
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! Worked like a charm. (vB3.03)
Reply With Quote
  #19  
Old 09-26-2004, 04:28 AM
jons5150 jons5150 is offline
 
Join Date: Jul 2002
Location: Palm Springs, Ca.
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work. I've been around 3 years now, and I finally got one to work!!!

Thanks...
Reply With Quote
  #20  
Old 10-04-2004, 05:38 PM
AngelGrove AngelGrove is offline
 
Join Date: Oct 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it works good enough for me, I am not that great with HTML so the Custom Cell is a bit hard to work with, but I got it well enough, good mod. Click's install.

- AngelGrove
Reply With Quote
  #21  
Old 10-20-2004, 08:39 AM
Emil Emil is offline
 
Join Date: Jun 2003
Location: Sweden
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great

Is there anyway I can get this sidebar on every page of the forum instead of just the forumhome? Would appreciate that. Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05236 seconds
  • Memory Usage 2,350KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (5)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete