![]() |
Twin columns on forum home and forum display
1 Attachment(s)
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} 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 .. 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) . |
Reserved. Thanks
|
Now thats more my speed right there. tagged
Scratch That. Installed, Rated, Nominated!!! |
Nice! Thank you.
|
looks nifty, tagged. We'll see if it's something we need later on :)
|
Thanks nice 1 :)
|
Brill Installed
Whats the padding code to bring it down say 20pixels ? |
Edit ss_twincolumns_css.css template and change the red 10px to the value you need.
. Code:
ss_twincolumns_right_margin { |
Isn't this obsolete because it's already integrated in latest vb4?
|
This can work on all the pages of the froum, vBulletin one does not.
And this is Twin Column not single. . |
By twin column you mean a column on each side of the main content being displayed correct? I have a test site of vbulletin , latest release installed at www.new.brotherhoodofgamers.com and there is already 2 columns on each side, although I might be wrong and not understand correctly what you mean by twin columns.
And the vbulletin one only shows the columns on the homepage? |
so we have to manually edit the templates to post the content?
|
Any way to make the columns a tad bit wider? maybe 170px, I edited the css but it did not change, maybe I did it wrong.
|
You have to change all instances of "135px" to the width you want in the CSS.
. |
I did change them all to 170 but I still get this http://dixietalk.com/forum.php
|
Quote:
|
Quote:
Quote:
How wide are your ads ... if they are 170px you need to make then approx 15 px wider, to allow for padding. |
And would this interfere with the vbulletin CMS?
|
1 Attachment(s)
What would one need to edit to get the boxes to come exactly inline with the Main Catagory section?
Plus, i'd want the yellow bar at the top to go over the boxes too, can this be done? (see attached mockup) |
Welcome message will cause problem and if you manage to sort this out then other forum pages will not align properly.
Try adding "{vb:raw ss_twincolumns_start}" to the last line of navbar template and you will see what I mean. |
Very nice hack! How would I go about adding these twin columns to my other pages such as 'arcade.php'?
|
i dont understand this
vb4 has already got this feature its called Forum Blocks Manager please visit my site to preview blocks www.tutorials4you.co.uk |
^^ vb4 blocks, do they show up on other pages then forumhome? No they do not.
This is where this comes in. . |
Does this work with Vb suite Gold?
|
Quote:
but what I don't know is How would I go about adding these twin columns to my other pages such as 'arcade.php'? |
Fine the name of the script and edit the code below to the end and start template of this hack.
Code:
THIS_SCRIPT == 'arcade' |
I want to remove right hand side banners for temporary how can remove it later i might need it.
|
Disable the product "SevenSkins RightColumn" from product manager.
|
I'm impressed. This is tremendously useful.
I'm building our 4.0 launch on a private server, so I haven't marked installed yet, but will once we go live with the upgrade. I'm trying to get the left column to 240px wide and leave the right column at the default. I followed your directions in posts #14 and #17, but I haven't been able to get the columns (left/right or both) to change size. Also, I'm trying to move the forum statistics into one of the boxes in the column (my site's 3.8 example here) but when I try to move the stats from the "What's going on?" box, it doesn't display what is in the variables, any thoughts on this? Sincere thanks, ZXeno |
@ Seven Skins, very nice; can you adapt this for v3.8+, please? :)
|
^^ When I get some time free I will make this.
|
Quote:
|
Quote:
|
Edit "ss_twincolumns_css.css"
Quote:
|
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? |
brill will upload once vbull 4 lands on our forum:up:
|
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. |
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.
|
Quote:
possible? |
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'"> |
All times are GMT. The time now is 07:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|