Resource icon

Right side column on forum home and forum display 1.2.0

No permission to download
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)
Author
putr
Downloads
0
Views
13
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from putr

Similar resources
Resource starter Title Category Downloads Last update
P New: Youtube in Profile (Share this video(link)) or (Page url) left side. vBulletin 4.x Plugins 0