hello every one i want to add adsense banner in navbar or footer but i don't want it to be displayed in registration page so how to do this?
I use MVC style programs so I have one part getting the information and another part displaying it. It's a standard premise used by most systems these days. So, in the scripts that get the information I define a variable called internal and give it a value of 0 or 1. If I'm generating a registration page I'll set internal = 1. Then in the display section I look to see what that variable is - if it's 0 then I display the ads.
Have you got a preferred approach? There's always more than one way to skin a cat. What framework, forum or CMS are you using?
even easier... just add this code if (in_array( THIS_SCRIPT, array( 'calendar', 'member', 'memberlist', 'private', 'profile', 'search', 'subscription', 'usercp'))) { // show the ad/ hide the ad... } Code (markup): and extend the array to include / exclude as required
Just put it in the template at the same place you would put the ad normally. We actually had it for a totally different purpose in a plugin ... let me know if you'd like me to do it for you.