View Single Post
Old 05-17-2009, 07:45 PM   PM User | #1
juanlu
New Coder

 
Join Date: Apr 2009
Posts: 22
Thanks: 2
Thanked 0 Times in 0 Posts
juanlu is an unknown quantity at this point
Javascript gateway modification

1) Project Details: (be as specific as possible):

I have a javascript gateway code that i need to be modified, the function of this gateway is basically to load on top of a page and lock its content until an action is performed by the visitor. The gateway has a link on it, which needs to be clicked, after this link is clicked the gateway closes in XX seconds. After the gateway closes, it's supposed to not appear again for the same visitor and for the amount of days that i choose, i have it set to not appear again for 365 days. To perform this, the current code sets a cookie once the link is clicked and the gateway closes.

My site is a wordpress blog, i need this gateway to appear only on the posts pages and not on the main page nor other pages. I also need this gateway to not appear again on every single post page after it's executed. I mean, i need it to dissapear for the visitor that clicks it, so he can't see the gateway again on any other post page of my website.

My problem is that the current cookie setting is not preventing the gateway to appear again, like it should be. It just prevents it to appear on the same post page where it was executed, but when a visitor tries to open another post page the gateway appears again.

I think this could be solved with a modification that makes it able to read the visitor's ip address and set a cookie based on this ip address. So the gateway doesn't load again for that ip, for the amount of days i choose or until cookies are deleted.

I need help to do this modification, or any other modication that makes this gateway work the way i explained.

2) Payment Amount: $20

3) Payment method/ details (Paypal, check? Timeline?): Paypal

4) Additional Info (about project or potential bidders): PM for additional details and any other questions.

Last edited by juanlu; 05-17-2009 at 07:52 PM..
juanlu is offline   Reply With Quote