Quote:
Originally Posted by Pottsy
The problem is this:
In: vb Ad management Global settings:
Display advertisements in ForumIDs:
Enter the IDs of the forums in which you want to display the advertisements, separated by your delimiter. (i.e. 1|2|3)
If you only want to exclude forums instead of including them, leave this blank to display the advertisement in every forum except those listed below, if any.
This setting does not apply to the header or footer or side columns.
I have this set to one forum number, since all I do is have in line post ads in one forum (forum 9). It looks like this setting is being applied to the header and footer, since the header and footer ads are on for forum 9, the index, and all "other" pages (like calendar and search and so on) but are disabled on all other forum indexes and thread view pages.
|
It sounds like I forgot to update the phrase, it didn't seem consistent to not have control over all the advertisements in the same way, so header and footer now use the same rules as all the other ads.
If you want the header & footer to display everywhere but other ads to only apply to one forum, set all ads to display in every forum then alter the template of the ad you only want to apply to forum 9 and surround the entire template with:
Code:
<if condition="$foruminfo[forumid] == 9">
CONTENTS OF TEMPLATE
</if>
Quote:
Originally Posted by jluerken
Hi,
I am using custom leftcolumn code for my board.
How can I add $leftcolumn_advertisement to left_column (my left column template) instead of the header template?
Kind regards
jluerken
|
I would suggest that if you're not using either the header or footer ads, you paste $header/footer_advertisement into your custom left column template, since both header and footer ads will work anywhere on a page.
Alternatively if this modification fulfils your needs you could simply remove the left column plugin you have now and use this one instead.