Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Right side column on forum home and forum display Details »»
Right 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-03-2009 Last Update: 01-18-2010 Installs: 223
Uses Plugins Template Edits
 
No support by the author.

Right 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)



Add this to the very end of navbar template:
HTML Code:
{vb:raw ss_rightcolumn_start}
PS. After edit the code above must be the last line in the navbar template.



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


Footer template after adding the code:
Code:
{vb:raw ss_rightcolumn_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_rightcolumn_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_rightcolumn_start and ss_rightcolumn_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:
19 Jan 10: Upadted so the column tables can be seen on showtherad, etc pages ..
- Save the code from "ss_rightcolumn_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_rightcolumn_contents" template.


15 Jan 10: Updated for vBulletin 4.0.1
2 templates has been changed.
- Save the code from "ss_rightcolumn_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_rightcolumn_contents" template.


22 Dec 09: Working with vBulletin 4.0.0 (Gold)

.

Download Now

File Type: xml product-sevenskins_right_column_1.2.0.xml (6.0 KB, 1105 views)

Screenshots

File Type: png rc01.png (102.2 KB, 0 views)
File Type: png rc02.png (89.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
planetMitch

Comments
  #162  
Old 07-16-2010, 07:37 AM
NolanChart NolanChart is offline
 
Join Date: Apr 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm upgrading to VB 4.0.5 from VB 4.0.4, and I'm getting an error in my navbar template. It says that the line: {vb:raw ss_rightcolumn_start} failed to merge properly. "The attempted merge failed due to conflicts" error shows up in my Updated Default Templates.

Anyone else getting this error? Anyone know the solution?
Reply With Quote
  #163  
Old 07-29-2010, 12:33 AM
dzinerfusion dzinerfusion is offline
 
Join Date: Jul 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I was wondering if you can add php code into the sidebar?
Reply With Quote
  #164  
Old 07-30-2010, 08:09 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NolanChart View Post
I'm upgrading to VB 4.0.5 from VB 4.0.4, and I'm getting an error in my navbar template. It says that the line: {vb:raw ss_rightcolumn_start} failed to merge properly. "The attempted merge failed due to conflicts" error shows up in my Updated Default Templates.

Anyone else getting this error? Anyone know the solution?
Revert the template (If using defalut style) and add {vb:raw ss_rightcolumn_start} again.

Quote:
Originally Posted by dzinerfusion View Post
Hi, I was wondering if you can add php code into the sidebar?
No only html code. However you can make a plugin and spit out the data to the template.
Reply With Quote
  #165  
Old 08-27-2010, 01:06 PM
BenWCF BenWCF is offline
 
Join Date: Aug 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Afternoon.

I apologise if this has been asked before or is in the wrong place, but is there a version of this hack that would work on a 3.8.5 board?
Reply With Quote
  #166  
Old 08-29-2010, 11:01 PM
Nano_ Nano_ is offline
 
Join Date: May 2006
Location: Rio de Janeiro - Brasil
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works in 4.0.5.

But i have a question: How i make to align with forum category top?

Before:


After
Reply With Quote
  #167  
Old 08-29-2010, 11:50 PM
Nano_ Nano_ is offline
 
Join Date: May 2006
Location: Rio de Janeiro - Brasil
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dup, nevermind.
Reply With Quote
  #168  
Old 09-13-2010, 09:35 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My Default sidebar broke during the 4.0.3 release and never got it back, this actually looks better although a bit tougher to keep changing up on a regular basis. Does what it says.. Thanks, Installed and rated.
Reply With Quote
  #169  
Old 09-29-2010, 05:42 PM
arlarson arlarson is offline
 
Join Date: Apr 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nano_ View Post
Works in 4.0.5.

But i have a question: How i make to align with forum category top?
The amount of space varies depending upon the script, and could change again depending upon the style and other mods that may be in place. You can play around with adding some padding above the content for each script type in ss_rightcolumn_contents. For example,
Code:
<vb:if condition="THIS_SCRIPT == 'forumdisplay'">
<div style="padding-top:66px;">&nbsp;</div>
</vb:if>
<vb:if condition="THIS_SCRIPT == 'showthread'">
<div style="padding-top:54px;">&nbsp;</div>
</vb:if>
Note also that the spacing for the forumdisplay template changes if it includes subforums - you can tweak the template, or script a more complex conditional....
Reply With Quote
  #170  
Old 11-02-2010, 03:01 AM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to have a transparent background, so that the ads don't have a white background?

Also is there a way to center the ads in the SS box?
Reply With Quote
  #171  
Old 11-04-2010, 05:20 PM
mierzwin mierzwin is offline
 
Join Date: Jan 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i love it ! a lot better than everywhere sidebar

thanks man for the modification!
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 09:39 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.10878 seconds
  • Memory Usage 2,348KB
  • 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
  • (2)bbcode_html
  • (3)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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