Resource icon

Visual List of Ad Locations

CNiper

Member
Hey guys, sorry easy question here. How would I go about centering my ad on my page?

Currently it looks like this, I would like it to be, well, centered.



Thanks!
 

SEOmers

Active member
Used this as a reference for the last year or two

How can I add an advert to the alerts page? /account/alerts? It's one of the highest traffic pages on my site
 

Brogan

XenForo moderator
Staff member
It would require custom development as the nodes are built programmatically using a looped array.
 

Brogan

XenForo moderator
Staff member
It's not an add-on - it just demonstrates where the ad templates are located.

Yes, it is compatible with the current release.
 

snoopy5

Well-known member
Does anybody know which template needs to be edited to insert the Adsense code on the page with all new posts and there under or above the first unread post ? (XF1.5.24)

And another question: With what kind of code can I deactivate the banners for a "premium usergroup" ?
 
Last edited:

snoopy5

Well-known member
And another question: With what kind of code can I deactivate the banners for a "premium usergroup" ?
Source: click here.

Prevent ads from being displayed to multiple user groups - change 1 and 2 to the group IDs, add more comma separated.


Code:
<xen:if is="!{xen:helper ismemberof, $visitor, 1, 2}">
    Ad code
</xen:if>
 
Top