Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
Any thoughts for a advertisement plugin?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 9:49 am

sweet, thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 9:51 am

you are welcome...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 10:03 am

edit

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 10:05 am

lets try this again, if I wanted to show it on every say 3rd post, would I do this?

if

($spTopicView->currentPost==3){

if (!is_user_logged_in()) {
    echo '
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!Responsive –>
    <ins class="adsbygoogle"
    style="display:block"
    data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
    data-ad-slot="xxxxxxxxx"
    data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    ';
}
}

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 10:07 am

lol, I give up

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 10:21 am

yep it works, thanks for your help gents

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2014 - 11:17 am

well, if you want it after every third post (what you asked for), that is not how one would do it.. but sounds like you have what you want?  It would show it only after the third post...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10126
Posts: 79622