See Ads Permissions

Mixed forum with code snippets, guides and styles
Forum rules
Everything in this forum is for everybody
But support only for Donators!
Post Reply
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

See Ads Permissions

Post by Stoker »

See Ads Permissions
Written by Steve & Stoker

The See Ads Permissions mod created an extra user/group permission.
This can be used to show or hide code for specific users/groups using the new template switch:
<!-- IF U_SEE_ADS -->Your ad code here<!-- ENDIF -->
Brilliant for removing ads for you VIP group.

This code is original created by Steve AKA vectra-mods
See_Ads.zip
(199.18 KiB) Downloaded 402 times
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

See Ads Permissions

Post by martin123456 »

Blaaa to adds no one want to see adds ;)

Be an add free board thats what i say ;)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

See Ads Permissions

Post by Stoker »

Ads or not. I use it on this site to hide ads for donators ;)
Board rules! No PM support
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

See Ads Permissions

Post by Solidjeuh »

Thank you for this super snippet Stoker and Steve!!
Love it!! 8-)

But, when sponsors are in more then 1 group, The adds are still showing..?
I need to remove them all from the normal member group..
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

See Ads Permissions

Post by Stoker »

No, thats how the phpbb permissions system work.
Yes overrules No. Therefore use Never for your sponsor group.
Board rules! No PM support
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

See Ads Permissions

Post by Solidjeuh »

Aaah ok.. Yes now it's working perfect. Thank you! :D
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

See Ads Permissions

Post by Stoker »

Download is corrupted. Does anybody have it?
Board rules! No PM support
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

See Ads Permissions

Post by Solidjeuh »

Stoker I repaired the corrupted file
There was an error with modx.prosilver.en.xsl
But it seems to work now
See_Ads.zip
(304.44 KiB) Downloaded 208 times
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

See Ads Permissions

Post by Stoker »

Thanks :thumb:
Board rules! No PM support
Post Reply