MyBB Community Forums

Full Version: need help with ad placement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it possible to place different ad code for each section of forum......
plz tell me since i found a great ad program that pays for each banner you put on your forum
You'd need a plugin/modification to do that I think.

The only way I can think of is if you want to put the ad at the top of each forum, you can place the ad code in the "Forum Rules" (when you edit the forum).
DennisTT Wrote:You'd need a plugin/modification to do that I think.

The only way I can think of is if you want to put the ad at the top of each forum, you can place the ad code in the "Forum Rules" (when you edit the forum).
how do i do that i don't get you
Admin CP --> Forum Management --> Manage Forums. Edit the forum you want to add the advertisements to the "Forum Rules" box. In the "Title" put "Advertisements" and select "Show rules inline".

If that's not what you want, then you need to find yourself another modification.
One other thing, the forum rules only accept MyCode, so you'll have to make a custom MyCode with the ad code in it, for that.

You can do this by going into the Message Filters -> Custom MyCode section of your AdminCP, and add the following:
Name: (anything you like)
Regex:
\[ad1\]
Replacement: (put your ad code here)

And just add a different code for each ad you wish to place up. Then, in the forum rules, just put [ad1] etc where you want the rules Toungue
Last time I checked Forum Rules accept HTML...