Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 05-24-2009, 01:13 PM
densaugeo densaugeo is offline
Member
 
Join Date: Mar 2009
Posts: 39
Credits: 4,660
densaugeo
Default Ads on certain pages doesn't work.. [Answered]

Well I tried to put an ad on the home page of my site. I even put in what page I wanted when i set up the ad. I've tried many variations of putting the page in there, full URL, partial URL, page name...it doesn't matter what I put in there, the ad appears on every page, and it's quite an annoyance. Is there any way to fix this?
  #2  
Old 05-24-2009, 01:53 PM
SuzumiyaHaruhi SuzumiyaHaruhi is offline
Member
 
Join Date: Jun 2008
Posts: 3
Credits: 692
SuzumiyaHaruhi
Default RE: Ads on certain pages doesn't work..

What is the link to your script? Don't forget to post that. :)
  #3  
Old 05-24-2009, 03:32 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,716
BMR777 is on a distinguished road
Default RE: Ads on certain pages doesn't work..

Ok, I see what is happening. The way the script is set up by default is that all pages will show the same ads. To make it where the ads show up on only one page, here's what you must do:

On your page where you want the custom ad to appear, for instance index.php find:

PHP Code:
$ads getads("any"); 
Replace With:

PHP Code:
$ads getads("index"); 
The word index above is the page name for the ad system, so when you make a new ad you would put index in the "Page to run this ad on" box.

That will allow you to run a custom ad on that particular page. When I designed the ad system I mostly put that custom page ad setting in for pages like the login or TOS pages which would need to be excluded for adsense requirements, but that small edit will also make it work for other pages. :)

Brandon
  #4  
Old 05-24-2009, 05:54 PM
densaugeo densaugeo is offline
Member
 
Join Date: Mar 2009
Posts: 39
Credits: 4,660
densaugeo
Default RE: Ads on certain pages doesn't work..

Thank you very much :)
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just installed the script and it doesn't work PokeFerno Questions and Supports 3 05-10-2014 12:20 PM
pages won't work. AlexC Questions and Supports 9 03-18-2011 01:08 AM
Demo Doesn't Work. rlshosting Suggestions and Feature Requests 0 05-23-2010 07:57 PM
Multiple adopt pages? [answered] Arianna Questions and Supports 5 09-29-2009 09:50 AM
BBCode doesn't show Killgore Questions and Supports 9 02-26-2009 08:40 PM


All times are GMT -5. The time now is 10:58 AM.

Currently Active Users: 9717 (0 members and 9717 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636