We have a number of traders on our forum, at the footer we scroll small banners/adds for all traders at once. (currently on phpbb).
Is it possible to have nexus display a group of adds in the global footer (random selection of say 6 from the 30 we have) or perhaps just scroll the whole group of adds at once?
As the current software will display one random advertisement from the group of active adverts, I asume it would be easier to modify to accomplish the first option, displaying a selection of random adverts from the current active group of adds.
Anyone done this or advise how it could be done?
Many thanks.
Multiple Advertisements simultaneously?
Started by Chesterfieldz, Jul 01 2012 05:56 PM
2 replies to this topic
#1
Posted 01 July 2012 - 05:56 PM
#2
Posted 02 July 2012 - 09:38 AM
Ive added a picture of how this currently operates on another forum, as can be seen there are a number of adverts/banners (in this case they scroll across the bottom in order to display all 30).
What I would like to do is have a static bar of say 6 adverts displayed side by side, that are randomly chosen from the group of 30 active adverts, in the footer of the page - hopefully this image wil help show what I am looking to achieve:
What I would like to do is have a static bar of say 6 adverts displayed side by side, that are randomly chosen from the group of 30 active adverts, in the footer of the page - hopefully this image wil help show what I am looking to achieve:
#3
Posted 02 July 2012 - 05:57 PM
Ive come up with a solution for this. Not the most elegant, but it works in case people want to do the same thing.
I used Content to create a custom block. Called this "FooterAds"
Within this custom block I did the following:
<div class='ipsAd'>
<table>
<td>{parse advertisement="ADD1"}</td>
<td>{parse advertisement="ADD2"}</td>
<td>{parse advertisement="ADD3"}</td>
<td>{parse advertisement="ADD4"}</td>
<td>{parse advertisement="ADD5"}</td>
<td>{parse advertisement="ADD6"}</td>
</table>
</div>
When setting up the advertisements in Nexus, I simply configured each advert to display in ADD1,ADD2,ADD3,ADD4,ADD5,ADD6
Then I added {parse "ForumAds"} at the appropriate location in the global template.
This then puts six advertisements side by side (I only have small advertisement links/images).
Of course if you have all your advertisements set to display in all the areas, then there is the chance that you may see some duplicates. To avoid this, split your adverts into the same number of groups as you have Add spots.
ie. if you have 24 adverts and 4 add spots configured in that table above, then set six adverts to show in Add1, the next six in Add2, ect etc...
Hope this helps somebody
I used Content to create a custom block. Called this "FooterAds"
Within this custom block I did the following:
<div class='ipsAd'>
<table>
<td>{parse advertisement="ADD1"}</td>
<td>{parse advertisement="ADD2"}</td>
<td>{parse advertisement="ADD3"}</td>
<td>{parse advertisement="ADD4"}</td>
<td>{parse advertisement="ADD5"}</td>
<td>{parse advertisement="ADD6"}</td>
</table>
</div>
When setting up the advertisements in Nexus, I simply configured each advert to display in ADD1,ADD2,ADD3,ADD4,ADD5,ADD6
Then I added {parse "ForumAds"} at the appropriate location in the global template.
This then puts six advertisements side by side (I only have small advertisement links/images).
Of course if you have all your advertisements set to display in all the areas, then there is the chance that you may see some duplicates. To avoid this, split your adverts into the same number of groups as you have Add spots.
ie. if you have 24 adverts and 4 add spots configured in that table above, then set six adverts to show in Add1, the next six in Add2, ect etc...
Hope this helps somebody
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users










