Hello, I'm wondering if someone can help me and give me the php code with conditional to block Adsense ads from displaying to my own IP address. Please help, thank you.
I tried this and it didn't work with vbulletin. Do you have a different format? Like maybe something that looks like this: <if conditions=" </if>
adblock is not compatible with the latest Firefox version. This won't help me. I'd prefer the php code, thank you.
Oh wait, hmmmmmmm.....then I guess it's a script that I'm looking for. I'm currently using vbulletin and it accepts conditionals in that manner. I always thought it was php, oopss. Guess not. ok, then I need the conditional statements to block my own ip address.
<if condition="$_SERVER['REMOTE_ADDR'] != 'yourip'"> your ads </if> Code (markup): Not sure if that will work, I don't use vbulletin.
It looks like it will work, thanks. I have the vbulletin manual, but it doesn't offer any support for blocking an ip address. I'll figure something, if not, I'll come back here Cheers.