Author |
Message |
Muffin
Client
![](modules/Forums/images/avatars/acb9e660413114ce222fd.jpg)
Joined: Apr 10, 2004
Posts: 649
Location: UK
|
Posted:
Wed Aug 18, 2004 7:04 pm |
|
I tried to put google's adsense code in the 1st box in the footer (in Admin preferences) and Sentinel banned me lol
I've unbanned myself and removed the IP I was on at the time, I get a different one each time from AOL.
However, how the heck do you put the adsense banner on your site without setting off sentinel?
I'd like it at the bottom of the page above the Sentinel banner.
Can someone advise please?
thanks |
_________________ Classic Mini rules the bends & bends the rules!
[img] |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
oprime2001
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/43a7f019412dfe33e57fd.jpg)
Joined: Jun 04, 2004
Posts: 119
Location: Chicago IL USA
|
Posted:
Wed Aug 18, 2004 7:09 pm |
|
Muffin wrote: | I tried to put google's adsense code in the 1st box in the footer (in Admin preferences) and Sentinel banned me lol
I've unbanned myself and removed the IP I was on at the time, I get a different one each time from AOL.
However, how the heck do you put the adsense banner on your site without setting off sentinel?
I'd like it at the bottom of the page above the Sentinel banner.
Can someone advise please?
thanks |
Have you tried adding the "Sentinel-offending" code to foot1 within nuke_config via phpmyadmin? Or you can prolly add the adsense code to the footer.php.
In my sites, I place the Google adSense code within its own googleads.php and call the code with a Code:include("googleads.php");
| whereever I want the adsense banner. Using an include also helps with the maintenance since there is a single place you need to modify the adsense code.
Hope that helps. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Muffin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 18, 2004 7:22 pm |
|
I'm not that good with putting stuff in the code, so I didnt look to see if i could put it in the footer.php I'll take a look at that (just looked and dont have a clue where to put it or if i have to add anything else to it)
I dont go into phpmyadmin if I can help it, incase I screw it up lol
The second option sounds better but:
Do you make a php file with just the googleads code in it and call it googleads.php ?
If I want the banner at the bottom of the page before the copyright text for nuke, which file do I enter the code to call that page, and where do I insert it?
I've also discovered a bug in Sentinel by this happening, so I'll post that in the bugs section ![Sad](modules/Forums/images/smiles/icon_sad.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
oprime2001
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 18, 2004 7:42 pm |
|
If you want the adsense before the copyright, I would throw that include within function footmsg() in footer.php to look like
Code: include("googleads.php");
// DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
echo "$copyright<br>$total_time<br>\n</font>\n";
| I tried to add my googleads.php here but I got banned during the post preview!
Check out Only registered users can see links on this board! Get registered or login! (found on NukeCops) with more info on adding adsense throughout your nuke site. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Muffin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 18, 2004 7:50 pm |
|
I've already got banned once tonight from my site, so I'll check the link out. lol
Thanks for that. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Muffin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 18, 2004 8:16 pm |
|
Well I've copied the code out for a googleads.php file which puts the banner in your frontpage where your first block is, so it stays there all the time.
But it has javascript in the bottom which is likely to set off sentinel again, cos i tried to post it on here and I got banned rofl
oh dear. All I want is me googleads banner at the bottom of the page ![Rolling Eyes](modules/Forums/images/smiles/icon_rolleyes.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
oprime2001
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 18, 2004 8:41 pm |
|
Once you have the adsense code in a googleads.php, Sentinel should not care. Somebody correct me if I'm wrong, but my understanding is that Sentinel only checks/bans when you try to post "offending" code which is why we both got bans during our respective post previews.
You should be able to see the google adsense at the bottom of your webpage without Sentinel banning you if you're using an include to call your googleads.php. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Tao_Man
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/0c1fca04410ac30d09c51.gif)
Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK
|
Posted:
Thu Aug 19, 2004 11:51 am |
|
Maybe a stupid question but can you not turn off script blocking then post your changes then turn it back on? |
_________________ ------------------------------------------
To strive, to seek, to find, but not to yield!
I don't know Kara-te but I do know cra-zy, and I WILL use it! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Muffin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Aug 19, 2004 2:29 pm |
|
ermm I hadnt thought of that lol
too obvious I guess.
Would that work once I turned script blocker on again? I mean I wanna put the adsense block in the centre top of Home.
I'll give it a whirl. Live dangerously for once rofl
I'll let ya know what happens. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Tao_Man
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Aug 20, 2004 7:36 am |
|
Sentinel is to keep people posting scripts on your board not to keep you from running them. Sentinel itself uses javascript.
Worst case, edit mainfile, comment out sentinel, make your changes, then uncomment. you should leve your board unprotected for only a min or two that way |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blith
Client
![](modules/Forums/images/avatars/102.gif)
Joined: Jul 18, 2003
Posts: 977
|
Posted:
Fri Aug 20, 2004 9:46 am |
|
Muffin I have adsense in my header and it did not cause any problems. I wonder what the issue is? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Muffin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Aug 20, 2004 1:52 pm |
|
Well I did as I was told and just switched Sentinel's Script Blocker off and had no problems at all.
Thanks for everyone's time and help. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Dauthus
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/42520917428009cb57e55.jpg)
Joined: Oct 07, 2003
Posts: 211
|
Posted:
Sat Aug 21, 2004 9:38 pm |
|
uhhhhhh.....did you remember to turn it back on? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|