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

Reply
 
Thread Tools
Fixed Sidebar On All Pages (left side) Details »»
Fixed Sidebar On All Pages (left side)
Version: 1.00, by peterska2 peterska2 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.6.2 Rating:
Released: 10-09-2006 Last Update: Never Installs: 44
Template Edits
 
No support by the author.

This modification provides a fixed sidebar on the left side of your forums.

In IE7 and Firefox, the sidebar scrolls to remain stationary on the page. However, in IE6 it works as a normal sidebar and moves with the content.

Installation instructions are in the attached text file.




FAQ's

I've got it installed, how do I edit it?
In the header template you will find the main body of the column. This is in a tabular format consistant with all content in vBulletin.
By default I have included one (1) heading and eight (8) content rows.
To edit these locate the text Heading in the header template and replace it with whatever you wish to have it say. Repeat the process for the content.

It's too wide, can I make it narrower?
It's too narrow, can I make it wider?

Yes this is possible. However, it requires a few changes to the code not just tot he table with in the header template.
Start by changing the with in your header template, then in the additional CSS definitions change the 160 in the navigation section to the same as your width of your table, and the 165 in the content section to the width of your table plus 5.

The top of the column overlaps my header.
The top of my column is not in line with my navbar.

In the additional CSS definitions find
Code:
top:105px;
Change the number as appropriate for your style. You may need to experiment with this. The default value is correct for on the default vBulletin style.
Remember that the lower down the page your column sits, the less content you can place in it (see why do I need to watch the height of my content?).

Why do I need to watch the length of my content?
Because this sidebar stays in place when the forums scroll, it is important to pay attention to the length of the content. If you fill your side column with content based on your screen resolution, then anything at the bottom will be hidden from users with a smaller resolution. In total, the length of your column plus the top margin (default 105) should not exceed 580px. This is to allow for users with an 800x600 screen resolution.

Can you release this as a plugin/product?
No. Due to the additional CSS definitions requirements it is not possible to release this as a product or plugin. I have no intention of attempting this further in the near future.

So you are not releasing it as a product. Does that mean that someone else can?
Can I translate this modification?
Can I redistribute this modification?

Any ports of this modification to other versions or to be a product will be carried out by myself. No permission is given for ports, translations, or distributions. The only exception to this is translation for release at vBHacks-Germany.org

Are there any plans for a right sided version?
Yes. However, due to current time restraints (and current lack of internet access) this will not happen until later in the year. Please don't keep asking about it, when I have done it you will all know about it.

This is released for 3.6.2 but I run 3.x.x. Can I still use it?
This has been tested only on 3.6.2 but as it is a template modification, there is no reason why it shouldn't work on any site running vBulletin 3.x.x



Thats all the boring stuff out of the way.

If you use this modification please click install. By clicking install you will be notified of any updates, bug fixes, and other important information relating to this release.

If you like this modification, please click nominate for modification of the month. It might only be a little template mod, but I'm quite proud of this one.



The attached screenshots are taking in FF 1.5.x and IE6. IE7 has been tested and displays the same as FF. I've left the top of the browser intact for identification between each one.


A big thanks goes to [name]mikeylikesitz[/name] for his help testing in IE7

Finally, if someone could let me have a link to use as a live demo, it would be appreciated.


Enjoy it, and have fun.

Show Your Support

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

Comments
  #52  
Old 12-07-2006, 06:03 AM
needtheend needtheend is offline
 
Join Date: Feb 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

done. thanx
Reply With Quote
  #53  
Old 12-15-2006, 04:09 AM
Ronak's Avatar
Ronak Ronak is offline
 
Join Date: Sep 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah i have installed your only Left Side On Forumhome hack...but i want on all pages so thought this hack wud help ??

i just want to know can i disable the scrolling effect on all pages by any way ?
Reply With Quote
  #54  
Old 12-15-2006, 03:23 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amykhar released a sidebar on all pages for 3.5.x which works on 3.6.x that does not have the scrolling effect.
Reply With Quote
  #55  
Old 01-02-2007, 12:08 AM
rareclownfish rareclownfish is offline
 
Join Date: Mar 2006
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is my forum header template, I can't find where to put your code.
Thanks for looking.

Code:
<div id="wrapper">
<div id="container">

$spacer_open

<div class="tborder">
<div id="top"><div id="stats"><span>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</span></div><div id="online"><span>$vbphrase[online]: $headerusers</span></div></div>
<div id="headercont">
<div id="headerleftbkg">
<div id="header">

<div id="login">

<if condition="$show['member']">

		<div class="smallfont">
			<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
			<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
			<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
		</div>
		
	<else />
			
		<!-- login form -->
		<form action="login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
		<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
		<table cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
			<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
			<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
		</tr>
		<tr>
			<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
			<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" accesskey="p" tabindex="102" /></td>
			<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
		</tr>
		</table>
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="do" value="login" />		
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
		</form>
		<!-- / login form -->
		
	</if>	
	

</div>

<div id="logo">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div>

<div id="avatarbox">
$navbaravatar
</div>


			<table id="nav" cellpadding="0" cellspacing="0" border="0" width="70%" align="left">
	<tr align="center">
			<td class="vbmenu_control" style="border-left-width: 0px;"><a href="$vbpoptions[portalhome]">Home</a></td>
			<td class="vbmenu_control" style="border-left-width: 0px;"><a href="$vbpoptions[bbdir]/index.php">Forums</a></td>
		<if condition="$show['member']">
			<td class="vbmenu_control" style="border-left-width: 0px;"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td class="vbmenu_control" style="border-left-width: 0px;"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
		<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
		<if condition="$show['popups']">		
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td id="navbar_search" class="vbmenu_control"<if condition="!$show[member]"> style="border-right-width: 0px;"</if>><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search",true); </script></td>
			</if>
			<if condition="$show['member']">
				<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools",true); </script></td>		
			</if>
		<else />		
			<if condition="$show['searchbuttons']">
				<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td class="vbmenu_control"<if condition="!$show[member]"> style="border-right-width: 0px;"</if>><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
			<if condition="$show['member']">			
				<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>			
			</if>			
		</if>
		<if condition="$show['member']">
			<td class="vbmenu_control" style="border-right-width: 0px;"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
		</if>
<td width="13"><img src="{IF}/misc/navright.gif" alt="" /></td>
	</tr>
	</table>
</div>
</div>
</div>
<div id="headerfoot"></div>
</div>

<!-- content table -->

$_phpinclude_output
Reply With Quote
  #56  
Old 01-02-2007, 01:33 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try just above
Code:
$spacer_open
It may not work there though due to your heavily modified template. If it doesn't, please export your style and attach it then I can have a better look.
Reply With Quote
  #57  
Old 01-19-2007, 08:51 PM
Masked Crusader Masked Crusader is offline
 
Join Date: Oct 2005
Location: Sacramento, CA, USA
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Kerry-Anne.

Got a little bit of an issue. I also have a very heavily modded header template. The left column is showing up fine, it is just its starting position that I have an issue with. Take a look at my site as soon as you have a chance. Thanks for your time.

http://www.defyingevolution.com
Reply With Quote
  #58  
Old 01-20-2007, 09:25 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try using the instructions given above. I've only just had chance to look at this, and there is nothing on your site to even give a clue as to what is not right.
Reply With Quote
  #59  
Old 02-06-2007, 02:21 AM
brookemegg brookemegg is offline
 
Join Date: Jan 2007
Location: Chicagoland
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the great mod

I have installed a Top Posters mod and would like to put a link to that in my left-hand nav bar. Is this possible? If so, what is the exact code to put in there?

Thanks!
Reply With Quote
  #60  
Old 02-06-2007, 09:15 PM
tutusinghsohi's Avatar
tutusinghsohi tutusinghsohi is offline
 
Join Date: May 2006
Location: Virginia, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can we display google adsense ad's on this side box?
Reply With Quote
  #61  
Old 02-06-2007, 10:52 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by brookemegg View Post
Thanks for the great mod

I have installed a Top Posters mod and would like to put a link to that in my left-hand nav bar. Is this possible? If so, what is the exact code to put in there?

Thanks!
You would need to be able to use the top posters mod on a global basis in order to use it in the sidebar. You will need to get that sorted out with the author of the modification that you are using first.

Quote:
Originally Posted by tutusinghsohi View Post
can we display google adsense ad's on this side box?
Yes, although please do be aware of googles T&C's which require that ads are not placed on certain pages.
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 08:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05972 seconds
  • Memory Usage 2,327KB
  • 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
  • (3)bbcode_code
  • (2)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
  • (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