The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Put a Column on the Left Side of Every Forum Page Details »» | |||||||||||||||||||||||||||
Put a Column on the Left Side of Every Forum Page
Developer Last Online: Nov 2013
This little PRODUCT will provide you with a template to put content in a column going down the left side of every forum page.
What you put there is limited only by your imagination. This can easily be combined with the right column product to have a column on both sides. To use this with the right column product , change the footer code to: Code:
<!-- Right Column Code --> </td> <td width="160" valign="top" align="left">$rightcolumn</td> </tr> </table> </td></tr> </table> <!-- End Right Column Code --> Some very important changes were made to the header and footer template changes. Please modify your header and footer code to use the new version. This is now a PRODUCT and not a plugin. Use the product manager to import it. If you are upgrading, copy the contents of your left_column template to notepad BEFORE you install the product. Then, replace the template contents with your backup. This version now includes sample html in the left_column template. Thanks to iguanairs for that code. Show Your Support
|
Comments |
#372
|
|||
|
|||
thanks for the hack..
few questions though... first of all, where exactly in the header template would u add the code...? i added at the very top, above evrything else and then added it in the footer... it added the right block, though it wasnt possitioned complete to the left as u have it on your screenshot, there was a gap between the block and the left side of the skin..also, i am not using a fixed template so as I added the blocked it streeched the main skin it self to the right adding a scroll bar at the bottom.. also, where would u edit the content of the block and also, how would u another one right under it? thanks |
#373
|
||||
|
||||
Quote:
If anyone know a fix for this, I'd like to know, too Thanks. -- Rik |
#374
|
|||
|
|||
Amy, any chance of a full upgrade to VB 3.6 for this lovely hack?
I'm not much of a coder and would like to just install and go! lazy, I know, but with a busy board it's dangerous to play when you don't know what you're doing! And it DOES seem there are a few problems. |
#375
|
|||
|
|||
Rik - check post #367
GrantHorizons - It works fine for 3.6 |
#376
|
|||
|
|||
Quote:
|
#377
|
||||
|
||||
Quote:
Your post #367 fixed almost every page. I'm still just having difficulties on viewing threads (which are still too wide). But all other pages seem fine. Thank you very much. -- Rik P.S for Anyone: Also, I'm using this mod for Google Adsense ads. They really shouldn't be displayed on all pages (such as thread editing pages). Is there a way with PHP to know what vbulletin page you are on and then using if/then/else determine whether to display the left column or not? |
#378
|
|||
|
|||
Rik,
Have a look at instructions in this post. They explain how to not have it on the register page. You add more pages by using the same variable and getting the script name from the top of the php file and adding an or to your conditional so you might end up with a conditional like this (well actually you won't but I just picked some pages that I kow the script names of) Code:
<if condition="THIS_SCRIPT!='register' || THIS_SCRIPT!='index' || THIS_SCRIPT!='private' || THIS_SCRIPT!='adv_index'"> |
#379
|
|||
|
|||
Glad I was actually able to be of some help to someone
Anyone have any ideas about how to make the footer (What's Going On) not get pushed over by the column? |
#380
|
||||
|
||||
Kerry-Anne: Fantastic. Your message #377 solved it for me. Thanks. -- Rik
|
#381
|
|||
|
|||
Quote:
(actually not really, but it sounds good lol) In your footer wrap the edit with Code:
<if condition="THIS_SCRIPT!='index'">additional stuff for the column</if> It's not tested, but you shouldn't have any problems. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|