The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Twin columns on forum home and forum display Details »» | |||||||||||||||||||||||||||||||
Twin columns on forum home and forum display
Developer Last Online: Sep 2022
Twin columns on forum home and forum display
As the title says this mod simply puts a column on both sides forumhome and forumdisplay pages. Great mod for google skyscrapper ads. 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">
HTML Code:
{vb:raw ss_twincolumns_start} Add the code below to the first line of footer template: HTML Code:
{vb:raw ss_twincolumns_end} Footer template after adding the code: Code:
{vb:raw ss_twincolumns_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> ...... It is recommended that you should edit doc_minwidth to 950 and doc_margin to Top=0 Right=10 Bottom=0 Left=10 .. so that you have more space for forums and contents won't get squashed. Once you have installed the modification edit "SevenSkins - Templates > ss_twincolumns_left_contents and ss_twincolumns_right_contents to put your advert or contents in the side columns. 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_twincolumns_start and ss_twincolumns_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: Updated - Save the code from "ss_twincolumn_left_contents" and "ss_twincolumn_right_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_twincolumn_left_contents" and "ss_twincolumn_right_contents" template. 15 Jan 10: Updated for vBulletin 4.0.1 2 templates has been changed. - Save the code from "ss_twincolumn_left_contents" and "ss_twincolumn_right_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_twincolumn_left_contents" and "ss_twincolumn_right_contents" template. 22 Dec 09: Working with vBulletin 4.0.0 (Gold) . Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
RichieBoy67 |
Comments |
#32
|
||||
|
||||
^^ When I get some time free I will make this.
|
#33
|
|||
|
|||
That'll be just great; I await it at your convenience! Many Members I'm sure will appreciate it!
|
#34
|
|||
|
|||
Quote:
|
#35
|
||||
|
||||
Edit "ss_twincolumns_css.css"
Quote:
|
#36
|
|||
|
|||
I love this mod, but I have a question
I run two styles and use the force users to style hack How do I uninstall your mod on the ad-free style and keep it on the style I want to keep it on? |
#37
|
|||
|
|||
brill will upload once vbull 4 lands on our forum:up:
|
#38
|
||||
|
||||
Quote:
seven......can widgets like "recent posts" and such go into these blocks, like they do for VB's current block? Is there a way to configure the width of the block, the padding, and the internal forum width (and I'd MUCH rather do it based on % than fixed pixel width)? For example, I'd like the blocks to be 170px wide, with 10px spacing, and then have the forum occupy 100% of the space inbetween. That would make it easy to manage, and look proper on all screen resolutions. |
#39
|
||||
|
||||
that, and why not integrate this into the "block manager" for vb? so widgets can be viewed and managed that way? Or hack into the VB one and add the permission to be able to minimize a block, or the entire sidebar (that little tab). For people that use these side blocks for ads and static html (menu's, etc) content....users goofing around and minimizing and removing the blocks is a headache.
|
#40
|
||||
|
||||
Quote:
possible? |
#41
|
||||
|
||||
Quote:
For widgets you have to write your own plugins. Quote:
Remove these two lines from these two templates "ss_twincolumns_start" and "ss_twincolumns_end" Code:
<vb:if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay'"> </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|