Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Hide advertising
chojak Offline
Junior Member
**
Posts: 2
Joined: Oct 2012
Post: #1
Hide advertising
How i can hide adverstising for VIP group??


ID for vip group is 14

And this is all code for my advt:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<script>


                    var adfly_id = 1187754;

                    var adfly_advert = 'int';

                    var frequency_cap = 5;

                    var frequency_delay = 5;

					var init_delay = 3;

                    </script>

                    <script src="http://adf.ly/js/entry.js"></script>                  
                    
<script>

                    var adfly_id = 1187754;

                    var adfly_advert = 'int';

                    var exclude_domains = ['mybb.com',];

                    </script>

                    <script src="http://adf.ly/js/link-converter.js"></script>

 
 
<script type="text/javascript">
//interstitial ad
clicksor_enable_inter = true; clicksor_maxad = -1;	 
clicksor_hourcap = -1; clicksor_showcap = 2;
clicksor_enable_adhere = false;
//default pop-under house ad url
clicksor_enable_pop = false; clicksor_frequencyCap = -1;
durl = 'http://solulz.com';//default banner house ad url 
clicksor_default_url = '';
clicksor_banner_border = '#A0D000'; clicksor_banner_ad_bg = '#FFFFFF';
clicksor_banner_link_color = '#000000'; clicksor_banner_text_color = '#666666';
clicksor_banner_image_banner = true; clicksor_banner_text_banner = true;
clicksor_layer_border_color = '#A0D000';
clicksor_layer_ad_bg = '#FFFFFF'; clicksor_layer_ad_link_color = '#000000';
clicksor_layer_ad_text_color = '#666666'; clicksor_text_link_bg = '';
clicksor_text_link_color = ''; clicksor_enable_text_link = true;
</script>
<script type="text/javascript" src="http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;pid=211707&amp;adtype=&amp;sid=405699"></script>
<noscript><a href="http://www.yesadvertising.com">affiliate marketing</a></noscript>
 

<script type="text/javascript" src="http://ad.adnetwork.net/st?ad_type=pop&banned_pop_types=29&ad_size=0x0&section=3631925&pop_times=1&pop_frequency=3600" ></script>

<script type="text/javascript" src="http://ad.adnetwork.net/st?ad_type=pop&banned_pop_types=29&ad_size=0x0&section=3631925&pop_times=1&pop_frequency=3600" ></script>

(This post was last modified: 10-10-2012 07:40 PM by chojak.)
10-10-2012 07:38 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Hide advertising
Maybe something like this:

Code:
<if $mybb->user['usergroup'] != 14 && strpos(','.$mybb->user['additionalgroups'].',',',14,') === false then>
	Ads code
</if>


10-11-2012 01:41 AM
Find all posts by this user Quote this message in a reply
chojak Offline
Junior Member
**
Posts: 2
Joined: Oct 2012
Post: #3
RE: Hide advertising
Thanks, is worked
10-11-2012 02:56 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: