The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Is it possible to add a block above the forum sidebar?
With this, I'd like to shift the sidebar down, to leave room for a 300x250 advertisement placement on top of it. I'd like to keep it outside the actual sidebar, to keep the lost real estate at a minimum. Thanks, David |
|
#2
|
|||
|
|||
|
Here's a screenshot to show what's going on here. I'd like the advertisement to appear above the sidebar block, on a white background. The sidebar block should appear below the advertisement.
Thanks, David |
|
#3
|
|||
|
|||
|
Just add a block in the forum block manager & place your ad code in it, then use the display order to make it #1
|
|
#4
|
|||
|
|||
|
That's how I'm displaying the ad as showed in the screenshot. It still comes up inside this sidebar 'container'. Is there a way around that?
|
|
#5
|
|||
|
|||
|
No, without custom coding.
add new template, give it a name like block_custom_sidebar_ad block templates > block_custom_sidebar_ad you'd have to then create the block as html & wrap the code to use the custom template above. |
|
#6
|
|||
|
|||
|
Quote:
Code:
{vb:raw content}
Thanks. |
|
#7
|
|||
|
|||
|
I got it. Instead of using the blocks manager, I inserted the ad tag directly into the FORUMDISPLAY and FORUMHOME templates, between the following lines:
Code:
<div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>> ***AD TAGS GO HERE*** <br> <a id="sidebar_button_link" href="#"> Here's a screenshot of the result: |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|