Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
shmk
Worker
Worker


Joined: Dec 21, 2004
Posts: 116

PostPosted: Thu Apr 13, 2006 7:07 am Reply with quote

Someone know a script/method that with cookies/php hide a link for 24 hours after a click ?
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Thu Apr 13, 2006 9:07 pm Reply with quote

Do you mean to hide it from the visitor who clicked on it? Haven't heard of that...

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
shmk
PostPosted: Sat Apr 15, 2006 3:02 am Reply with quote

kguske wrote:
Do you mean to hide it from the visitor who clicked on it?


Exactly Smile
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Sat Apr 15, 2006 7:05 am Reply with quote

I have only seen this in an app called BannerAdsNew. The app is for displaying abnners/text links/ affiliate links etc and they can be configured to show based on IP, geography, day of week, wekk ends only, time interval etc.

I think this may be overkill for what you had in mind BUT it can be used to display just about any image type including flash, includes extensive 'click' monitoring and be used to 'feed' banners/links to multiple sites from the single installation of the app.
 
View user's profile Send private message Send e-mail
shmk
PostPosted: Mon Apr 17, 2006 3:37 am Reply with quote

I cannot find a "BannerAdsNew" are you talking about "phpAdsNew" ?
 
Guardian2003
PostPosted: Mon Apr 17, 2006 4:55 am Reply with quote

Yes thats the one - sorry for the confusion.
 
shmk
PostPosted: Wed Apr 19, 2006 2:54 am Reply with quote

Argh, that isn't supported on my host Sad

This is the list of banned programs on my host:
ImageFolio
nph-proxy.cgi
phpBannerExchange
phpAdsNew
"spchat" for phpnuke
webmail module for phpnuke
Mambo Open Source with module banner and statistics
Picostreamer
4Images Gallery
torrent files
ado stream
 
shmk
PostPosted: Wed Apr 19, 2006 4:10 am Reply with quote

I found this script:
Only registered users can see links on this board! Get registered or login!

I have insert the HEAD on includes/.../custom_header.php and BODY on theme/.../forums/overall_header.tpl

The banner shows correctly but doesn't remove it after click... I think that probably have problem with read/write the cookie, someone can help me ?
 
shmk
PostPosted: Mon Apr 24, 2006 2:01 am Reply with quote

I tried some changes but no good news Sad
 
shmk
PostPosted: Wed May 03, 2006 8:06 am Reply with quote

Another way: "using $_SESSION".

Someone ever used it ? PHPNuke can make me "work" on superglobals variables ?
 
shmk
PostPosted: Fri May 05, 2006 10:26 am Reply with quote

Finally found a script that function as I want.

If someone needs it, this is the link Wink Only registered users can see links on this board! Get registered or login!
 
shmk
PostPosted: Mon May 08, 2006 3:21 am Reply with quote

I found a bug in the original script: when you are logged as admin the script doesn't funciont as wanted.

Why ? Because the script creator searching for a cookie string within the string 'ad' (for advertising) but when you logged as admin the cookie string 'ad' is in 'admin' too :p

I never programmed in javascript so if someone have a fix for this tell me. Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

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 ©