Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Wed Aug 18, 2004 7:04 pm Reply with quote

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] 
View user's profile Send private message
oprime2001
Worker
Worker


Joined: Jun 04, 2004
Posts: 119
Location: Chicago IL USA

PostPosted: Wed Aug 18, 2004 7:09 pm Reply with quote

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.
 
View user's profile Send private message
Muffin
PostPosted: Wed Aug 18, 2004 7:22 pm Reply with quote

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) Rolling Eyes

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
 
oprime2001
PostPosted: Wed Aug 18, 2004 7:42 pm Reply with quote

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 Shocked 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.
 
Muffin
PostPosted: Wed Aug 18, 2004 7:50 pm Reply with quote

I've already got banned once tonight from my site, so I'll check the link out. lol

Thanks for that.
 
Muffin
PostPosted: Wed Aug 18, 2004 8:16 pm Reply with quote

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
 
oprime2001
PostPosted: Wed Aug 18, 2004 8:41 pm Reply with quote

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.
 
Tao_Man
Involved
Involved


Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK

PostPosted: Thu Aug 19, 2004 11:51 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
Muffin
PostPosted: Thu Aug 19, 2004 2:29 pm Reply with quote

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.
 
Tao_Man
PostPosted: Fri Aug 20, 2004 7:36 am Reply with quote

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
 
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Fri Aug 20, 2004 9:46 am Reply with quote

Muffin I have adsense in my header and it did not cause any problems. I wonder what the issue is?
 
View user's profile Send private message Visit poster's website
Muffin
PostPosted: Fri Aug 20, 2004 1:52 pm Reply with quote

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.
 
Dauthus
Worker
Worker


Joined: Oct 07, 2003
Posts: 211

PostPosted: Sat Aug 21, 2004 9:38 pm Reply with quote

uhhhhhh.....did you remember to turn it back on?
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©