The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Right side column on forum home and forum display Details »» | |||||||||||||||||||||||||||||||||
Right side column on forum home and forum display
Developer Last Online: Sep 2022
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} 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
Screenshots
Show Your Support
|
Благодарность от: | ||
planetMitch |
Comments |
#232
|
|||
|
|||
Aaaaaaaaah. TY.
I must be looking at the wrong thing under Settings>> Options. |
#233
|
|||
|
|||
It is a great mod.
I just a quick question. when I disable the vb board, is that right column supposed to be showing? I can't seem to understand why it would show when the board is off!! here is the thread I asked about this specifically: https://vborg.vbsupport.ru/showthread.php?t=311428 any idea!! |
#234
|
||||
|
||||
Main purpose of this mod is to display ads without caching, but if you want you may wrap the code in the if statement like below to all 3 templates of this hack.
HTML Code:
<vb:if condition="$vboptions['bbactive'] == 0"> Code here </vb:if> |
#235
|
|||
|
|||
Quote:
any idea? |
#236
|
||||
|
||||
Change 0 to 1.
HTML Code:
<vb:if condition="$vboptions['bbactive'] == 1">
|
Благодарность от: | ||
fxdigi-cash |
#237
|
|||
|
|||
Thanks!!
That did the work. I appreciate the great support |
#238
|
|||
|
|||
Hi, I'm trying to, install the Mod, but not got to find the right place.
This is my navbar, end : Code:
<div class="body_wrap"> {vb:raw ad_location.ad_navbar_below} {vb:raw ad_location.global_below_navbar} <vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'"> <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices"> <input type="hidden" name="do" value="dismissnotice" /> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" /> <input type="hidden" name="url" value="{vb:raw return_link}" /> <ol> {vb:raw notices} </ol> </form> {vb:raw ss_rightcolumn_start} </vb:if> And this is my footer, first line: 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 ss_rightcolumn_end} {vb:raw ad_location.ad_footer_start} {vb:raw ad_location.global_above_footer} </div> </vb:if> |
#239
|
||||
|
||||
This is how it should be in navbar:
Code:
<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'"> <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices"> <input type="hidden" name="do" value="dismissnotice" /> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" /> <input type="hidden" name="url" value="{vb:raw return_link}" /> <ol> {vb:raw notices} </ol> </form> </vb:if> {vb:raw ss_rightcolumn_start} And footer: 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> |
Благодарность от: | ||
TheLastSuperman |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|