![]() |
column on right of specific forum
i would like a column (for ads) adding to the right of forum display, but only in certain forums. firstly, can someone tell me how u would add a column (which template?) and secondly, what sort of if command would i need to put around it to specify which forum i wanted the column showing in.
|
Quote:
To have this show up on only I forum, add a conditional around all the inserted textparts. Check for $forumid as well as $THIS_SCRIPT, if you only want it on certain pages in that forum. |
im not exactly an expert with these if things... could you show me an example please.
|
Ok hitmanuk32, you'll need to modify three templates to accomplish what you seek.
In template $phpinclude_start add the following at either the very beginning or the very end. PHP Code:
" HTML Code:
<!-- /logo --> . HTML Code:
<if condition="$show_ads"> |
Quote:
This looks perfect, but I have a question. My forum width is set at 100%, which seems to the best option for my various users - how can I account for that here? Thanks in advance. I installed this but removed completely the references I was questioning, and it works fine without them. |
We installed this mod (right column) on our board and found that it really slowed down the site - up to 15 seconds for the page to draw. (With just the simple right column mod that is referenced in the link above.)
Has anyone else found this to be true? Our conditionals work great and we only display ads to specific user groups. In addition, the right column disappears for our supporting members so they enjoy the full width of the page. It's a great setup if it weren't for the slow downs! |
Quote:
We are back to speedy again.! |
All times are GMT. The time now is 12:29 PM. |
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:
|