Topic RSS
I know it has been posted on here once and I read the instructions but couldn't follow them well. Can anyone give me a very detailed description of how to get adsense inbetween forum posts?
read about forum hooks… rename the .txt file to php so it gets used… pick which hook you want… return your adsense code from the hook function…
edit what? the hook file?
as the help says, "Program hooks are defined in the file 'sf-hook-template.txt' which will need the extension re-naming to .php prior to use". Find that file (hint: its in simple-forum/forum/hooks)… rename it and edit it… edit the function/hook that you want to use…
Alright I've renamed it and I've got the code ready to go. Every time I insert it it's not working. How do I insert the code? Do I need to do anything special?
Added it just like that but it didn't work. Here's what I'm adding……
$adsense = ‘<script type="text/javascript"><!–
google_ad_client = "pub-9642497531158180";
/* 468x60, created 6/29/08 */
google_ad_slot = "9396562676";
google_ad_width = 468;
google_ad_height = 60;
//–>
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>’;
return $adsense
Most Users Ever Online: 444
Currently Online: chaiavi, woody, steve.engelking, prasanna
85 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 502
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2625
Members: 7361
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10890
Posts: 79531
Newest Members: ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala, ahcreate, eatonrabbit, prasanna
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22211), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Offline
Quote




Visit 
Privacy Policy



