Displaying Ads to Forum Display on per Forum Basis

kamcreation

New Member
I have currently added ads to show on the Forum display page.But i want to display different ads depending upon the forum but i am not successfull till now.

forumdisplay.jpg


i have tried this code but it does not work

<if condition="$forum['forumid'] == 32">AD CODE1</if>
<if condition="$forum['forumid'] == 33">AD CODE2</if>
.......
<if condition="$forum['forumid'] == 49">AD CODE16</if>



Would really appreciate if anyone can guide me how to do it, or where i am at fault.(my vb version is 3.7.3)


Regards

Kamcreation
 
use

Ad Location Templates «


to put ur ads..

if u want in different forums i suggest editing the forum template of the skin


u can't get different ads b/c it depends on the ads words in ur forums thats how ads are generated.
 
pakis rule thanks for your reply but i think i did not made myself clear enough.


forumdisplay.png




I know where to put my ad code and it is working fine

What i want is to show different ads in forum display using conditional statment

I curretly dont know am i using the wrong conditional statements or they are not correct for 3.7.3

Here us exactly what i want

Forum A to show a link related to Product A
Forum B to display an Affiliate link
And Forum X to Dissplay Product X affiliate link
all other forums show Adsense


I am currently using the following code just above $threadbits in ForumDisplay Template but it is not working
<if condition="$forum['forumid'] == 32">Product A Link</if>
<if condition="$forum['forumid'] == 33">Product B Affilate Link</if>
<if condition="$forum['forumid'] == 35">Product X Link</if>
<if condition!="in_array($forum['forumid'], array(32,33,35))">Adsense Code</if>


Hope that the VB Gurus here would help me in solving this small problem.


regards

kamcreation
 
here you go enjoy

PHP:
vB Ad Management
Mod Information
Add A CommentEdit SettingsMark as Installed 
Tag Modification 
Nominate for MOTMJump To CommentsThe Developer
 About Developer Support Developer PayPal Verification 
  
Version: 5.02, by RedTyger (Coder)  
Developer Last Online: Mar 2009     

--------------------------------------------------------------------------------
Version: 3.8.x Rating:  (36 votes - 4.47 average)  
Released: 02 Feb 2009 Last Update: 10 Mar 2009 Installs: 313 
 Not Supported Uses Plugins Auto-Template Additional Files Translations   


This modification allows you to add advertisements to your vBulletin software. It's very easy to use, very quick and allows almost unlimited customisation. There is no restriction regarding the content you can use. Adsense, images, flash, plain text and you can use template conditionals and phrases as well. It will put anything, anywhere. Just about.

Features:
- Timed ads.
- Self-refreshing ads.
- Ad rotations.
- Ads using conditionals, phrases and templates.
- Ad sharing.
- Default ad blocks (typical ad block screenshot attached) for all the most popular locations plus another 25 custom blocks.
- Default ad blocks for some of the most popular alternative formats; columns, full-page, sponsors.
- Ads for distributed content (emails and feeds).
- Instant previews before publishing.
- No template edits necessary.
- Compatibility with external pages and software.
- Appearance blending to make your ads look like part of your vBulletin templates.
- Alter hyperlinks to include your referral codes.
- Further details in the manual.

For software-specific management (i.e. threads on a forum, comments on a blog) and/or ad (revenue) sharing you will additionally need the appropriate module.

Additional modules:
Forum
Blog

This modification is supported with a link back to my homepage in the footer. Unbranded is per vBulletin license to be used with, see here for details.

Installation instructions:
Installation
Upgrading from an older version
Download Now

 vb_ad_management_502.zip (33.8 KB, 900 downloads)


Addons

Forum Ad Management 
Blog Ad Management 
Screenshots


PHP:
Forum Ad Management
Mod Information
Add A CommentEdit SettingsMark as Installed 
Tag Modification 
Nominate for MOTMJump To CommentsThe Developer
 About Developer Support Developer PayPal Verification 
  
Version: 1.01 Beta, by RedTyger (Coder)  
Developer Last Online: Mar 2009     

--------------------------------------------------------------------------------
Version: 3.8.x Rating:  (8 votes - 3.63 average)  
Released: 02 Feb 2009 Last Update: 26 Feb 2009 Installs: 135 
 Not Supported Uses Plugins Auto-Template Additional Files Translations  Is in Beta Stage   


This modification allows you to add advertisements to your vBulletin forum. It is a module that extends the functionality of vB Ad Management. There is no restriction regarding the content you can use. Adsense, images, flash, plain text and you can use template conditionals and phrases as well. It will put anything, anywhere. Just about.

Features:
- Timed ads.
- Self-refreshing ads.
- Ad rotations.
- Ads using conditionals, phrases and templates.
- Ad sharing.
- Default ad blocks (typical ad block screenshot attached) for all the most popular locations.
- Ads for distributed content (emails and feeds).
- Instant previews before publishing.
- No template edits necessary.
- Compatibility with external pages and software.
- Appearance blending to make your ads look like part of your vBulletin templates.
- Alter hyperlinks to include your referral codes.
- Further details in the manual.

Unique to this module:
- Share your ad space with thread starters and posters.
- Default ad placement at customisable positions with forum listsing, thread listings, posts, announcements, feeds and "Send to a friend" and "Email member" emails as well as global placement for your forum archives.

Required plugins:
vB Ad Management

Other modules:
Blog

That's probably about it. If it's not enough, its modular format means you can extend it to suit yourself with comparative ease (relatively speaking).

vB Ad Management is supported with a link back to my homepage in the footer. This module does not add further branding.

Installation instructions: 
Installation http://redtyger.co.uk/manual.php?product=Forum+Ad+Management&version=1.01+Beta
Upgrading from an older version of vB Ad Management
Download Now
 
Back
Top