Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Left side column on forum home and forum display Details »»
Left side column on forum home and forum display
Version: 1.2.0, by Seven Skins Seven Skins is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.x Rating:
Released: 12-12-2009 Last Update: 01-18-2010 Installs: 64
Template Edits
 
No support by the author.

Left side column on forum home and forum display

As the title says this mod simply puts a column on forumhome and forumdisplay pages.

Installation:
Download the attached XML file.
Import the product.
Edit navbar and footer templates. (See below)


Find in navbar template:
HTML Code:
<div class="body_wrapper">
Add below:
HTML Code:
{vb:raw ss_leftcolumn_start}




Add the code below to the first line of footer template:
HTML Code:
{vb:raw ss_leftcolumn_end}


Footer template after adding the code:
Code:
{vb:raw ss_leftcolumn_end}

<vb:if condition="!empty($ad_location['ad_footer_start']) or !empty($ad_location['global_above_footer'])">
<div style="clear: {vb:stylevar left}">
  {vb:raw ad_location.ad_footer_start}
  {vb:raw ad_location.global_above_footer}
</div>
</vb:if>

......


Once you have installed the modification edit "SevenSkins - Templates > ss_leftcolumn_contents to put your advert or contents in the side column.


Finally don't forget to click install.


Thanks to Lynne for additional css plugin code which I used in this modification.


PS. Do not use my side column mods together use only one.

================================================== ==

Code:
If you want to enable or disable this hack on different pages of the forum .. 
Edit the ss_leftcolumn_start and ss_leftcolumn_end templates:
 
Find:
<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay'">
 
 
Edit it to ... for home page:
<vb:if condition="THIS_SCRIPT == 'index'">
 
Edit it to ... for homepage, forumdisplay and showthread:
<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'showthread'">
================================================== ==


Updates:
15 Jan 10: Updated
- Save the code from "ss_leftcolumn_contents" template. (Code for ads, etc)
- Revert template belonging to this product.
- Then import the product over writting the existing installation.
- Put your ad code in the "ss_leftcolumn_contents" template.


15 Jan 10: Updated for vBulletin 4.0.1
2 templates has been changed.
- Save the code from "ss_leftcolumn_contents" template. (Code for ads, etc)
- Revert template belonging to this product.
- Then import the product over writting the existing installation.
- Put your ad code in the "ss_leftcolumn_contents" template.


22 Dec 09: Working with vBulletin 4.0.0 (Gold)


.

Download Now

File Type: xml product-sevenskins_left_column_1.2.0.xml (5.8 KB, 452 views)

Screenshots

File Type: png lc01.png (97.5 KB, 0 views)
File Type: png lc02.png (89.4 KB, 0 views)

Show Your Support

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

Comments
  #72  
Old 02-05-2012, 06:18 PM
Johan Hiemstra Johan Hiemstra is offline
 
Join Date: May 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod.

I need to display different contents in the side column, based on the forumid, but it seems the forumid is not known in ss_leftcolumn_contents. Is there a way I can parse/retrieve the forumid so I can add conditionals in the contents template?

EDIT: nvm, registered foruminfo[forumid] in contents template with a custom plugin at hook forum_display_start
Reply With Quote
  #73  
Old 02-12-2012, 02:18 AM
SugarChick SugarChick is offline
 
Join Date: Nov 2001
Location: PA, USA
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as CappingThe Game and others that had issues with 4.1.x and it showing up at the bottom footer...

I got it to work by going into the footer template and instead of doing this:

{vb:raw ss_leftcolumn_end}
{vb:raw ad_location.ad_footer_start}
{vb:raw ad_location.global_above_footer}
</div>

Find in footer template (top of footer template):
HTML Code:

HTML Code:
{vb:raw ad_location.ad_footer_start}
Add above:
HTML Code:

HTML Code:
{vb:raw ss_leftcolumn_end}


I did this...

Find in footer template (top of footer template):
HTML Code:

HTML Code:
  {vb:raw ad_location.ad_footer_start}
  {vb:raw ad_location.global_above_footer}
</div>
Add AFTER IT
HTML Code:
  {vb:raw ss_leftcolumn_end}
AKA moved the SS code BELOW the DIV instead of above the ad code as per the instructions.

This made it then show up just fine.

So that sectin of code looks like this:

HTML Code:
<vb:if condition="!empty($ad_location['ad_footer_start']) or !empty($ad_location['global_above_footer'])">
<div style="clear: {vb:stylevar left}">
  {vb:raw ad_location.ad_footer_start}
  {vb:raw ad_location.global_above_footer}
</div>
  {vb:raw ss_leftcolumn_end}
Reply With Quote
  #74  
Old 04-29-2012, 03:39 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting these database errors. Can you please help me. Thanks.

Code:
Database error in vBulletin :  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections /home/thebull/public_html/forums/includes/class_core.php on line 317  MySQL Error   :  Error Number  :  Request Date  : Saturday, April 28th 2012 @ 11:08:15 PM Error Date    : Saturday, April 28th 2012 @ 11:08:15 PM Script        : http://creativx.net/forums/css.php?s...column_css.css Referrer      : http://creativx.net/windows-7-themes-light-thebull/ IP Address    : 201.47.220.169 Username      :  Classname     : vB_Database MySQL Version :
Reply With Quote
  #75  
Old 04-29-2012, 03:50 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also have an issue that on certain forum skins my adsense adds I have in this left column just don't show at all. On some skins it works, others not. Someone knows why this will be?

Thanks.
Reply With Quote
  #76  
Old 04-29-2012, 10:34 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For ads not showing see if the skins has all the hooks.

for DB error "Too many connections ..." this is webhost error and has nothing to do with this hack.
Reply With Quote
  #77  
Old 04-29-2012, 11:02 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
For ads not showing see if the skins has all the hooks.

for DB error "Too many connections ..." this is webhost error and has nothing to do with this hack.
Thank you. Can you please tell me what hooks to look for, and where?
Reply With Quote
  #78  
Old 05-01-2012, 05:25 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really don't get it. The hooks are in the Navbar and Footer templates for all skins, and the contents are in the templates, yet in some skins the adds just wont show.
Reply With Quote
  #79  
Old 05-01-2012, 06:52 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are more then 130 hook in the templates (vBulletin 4.1.12) ... compare your custom templates with the default templates. Look for vb:raw template_hook when searching for hook location.
Reply With Quote
  #80  
Old 05-09-2012, 04:07 AM
OakleyBoss OakleyBoss is offline
 
Join Date: Jul 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please tell me how to change the color of the text of the title? I saw it refers to ss_column_head and I found that inside of the ss_leftcolumn_css.css but when I look at it, it says it refers to forumhead_color which in my case is white. For some reason it is showing up as dark blue and it is very hard to see. I'm not sure if its relevant but for my title I am using html to link to my register page.
Reply With Quote
  #81  
Old 05-09-2012, 09:33 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can change this text:

HTML Code:
color:{vb:stylevar forumhead_color};

To

HTML Code:
color: #ffffff;
.
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 07:48 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.04729 seconds
  • Memory Usage 2,344KB
  • Queries Executed 26 (?)
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
  • (10)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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
  • (3)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete