Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications

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
  #92  
Old 02-14-2006, 05:39 AM
zurv zurv is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I have seen this question asked through this hack, and on just about every other hack involving a right/left colum.

I and many others wish to have the 10 most recent topics in the right hand side column.

For an example please look here:
http://forum.resellerzoom.com

Not as importantly, I would also like to know how to ad a login box on the right nav similar to the link above.

And last of all, how can I change the width of my right column? it is a little wide.

btw, great hack.

Thanks in advance,
-Griffe
Reply With Quote
  #93  
Old 02-15-2006, 10:14 PM
QueenBee's Avatar
QueenBee QueenBee is offline
 
Join Date: Jan 2006
Location: On Cloud 9
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by QueenBee
can anyone help me? i het this after i hit the save button when changing the forumhome template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/queenie/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 23

please anyone

im still needing help.
Reply With Quote
  #94  
Old 02-16-2006, 12:14 AM
shawn2004 shawn2004 is offline
 
Join Date: Feb 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to add more boxes on the right side,I how do i do that

This is the footer

[PHP]<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->
<if condition="THIS_SCRIPT == index">
</td>

<td style="padding:6px 25px 25px 0px" width="200" valign="top" class="page" style="padding: $stylevar 0px;">

<!-- IFC Latest Video's -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-top:10px" align="center">
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('right_side_one')">
<img id="collapseimg_left_side_one" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_right_side_one].gif" alt="" border="0" /></a>
<!-- Title Start -->
<font color="000000"><strong>IFC Lastest Videos</strong></font></a>

<!-- Title End -->
</td>
</tr>
<tbody id="collapseobj_right_side_one" style="$vbcollapse[collapseobj_right_side_one]">
<tr>
<td bgcolor="white">
<!-- Text Start -->
<Left>
<div>
<a href="http://www.iranfootballcenter.com/forum/showthread.php?t=1459">
<font color="000000"><strong>Mahdavikia's Goal against Mainz + aftermatch interview</strong></font></a>
</div>
<br />
<div>
<a href="http://www.iranfootballcenter.com/forum/showthread.php?p=6861#post6861">
<font color="000000"><strong>Schalke 7-4 Leverkusen goals</strong></font></a>
</div>
<br />
<div>
<a href="http://www.iranfootballcenter.com/forum/showthread.php?t=1442">
<font color="000000"><strong>Hashemian's goal against HSV</strong></font></a>
</div>
</Left>
<!-- Text End -->
</td>
</tr>
</table>
<!-- IFC Latest Video's -->

</td>

</tr>
</table>
</if>


<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();

//-->
</script>[PHP]

This is the Header

[PHP]<!-- logo -->
<tr>
<td align="$stylevar[left]"><a href="http://www.iranfootballcenter.com" title="Iran Football Center Homepage"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
</td>
<td align="$stylevar[right]">
&nbsp;
<!--
NEW HEADER &amp; NAVBAR

Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.
This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->
</td>
</tr>
</table>
<!-- /logo -->

<table width="stylevar[outertablewidth]" to width="98%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>

<td valign="top">


<!-- content table -->
$spacer_open
$_phpinclude_output
[PHP]
Reply With Quote
  #95  
Old 02-17-2006, 12:32 AM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could use this, Thanks
Reply With Quote
  #96  
Old 02-17-2006, 03:33 PM
Annie^.^ Annie^.^ is offline
 
Join Date: Sep 2005
Location: Canada
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no matter what i do it doesn't want to appear under the navbar.... www.bikerstalkonline.com
Reply With Quote
  #97  
Old 02-26-2006, 12:29 AM
ubblite ubblite is offline
 
Join Date: Jan 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LEAD_WEIGHT
They got this in vbulletin.com/forum Quick Tips By Jake Bunce & Floris

amykhar
https://vborg.vbsupport.ru/showthread.php?t=94495
None of those 3 you mentioned will work as they are intended to display in all Forums, not on the Forumhome only. I have yet to find a product/code/link to one that will do so for vb 3.5.3.
Reply With Quote
  #98  
Old 03-01-2006, 10:29 AM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ubblite
None of those 3 you mentioned will work as they are intended to display in all Forums, not on the Forumhome only. I have yet to find a product/code/link to one that will do so for vb 3.5.3.
well this "hack" will, it's just a template edit.
Reply With Quote
  #99  
Old 05-04-2006, 12:04 PM
OFFSHORE DAN OFFSHORE DAN is offline
 
Join Date: Jun 2005
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will check this out!
Reply With Quote
  #100  
Old 03-14-2007, 06:27 PM
sam marland sam marland is offline
 
Join Date: Mar 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey huys, i was wondering what the path of "FORUMHOME template"?
Reply With Quote
  #101  
Old 07-29-2008, 12:54 PM
rubberduck rubberduck is offline
 
Join Date: Jul 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simple question. I followed the instructions and my forum is spaced out ready for content on left. Thing is, I can't get any content to show up when I paste it in sidebar template; I tried pasting it in "my content" and then in "some stuff here". Nothing.

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="width:100%">
<tr align="center">
<td class="thead"><span class="smallfont"><b>My Content</b></span></td>
</tr>
<tr>
<td class="alt1">some stuff here</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
Reply With Quote
Reply

Thread Tools

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 02:20 PM.


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.05220 seconds
  • Memory Usage 2,321KB
  • 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
  • (3)bbcode_quote
  • (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
  • (2)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