Reply
Rules script
Old 08-02-2005, 02:25 PM Rules script
pipers dragon's Avatar
Extreme Talker

Posts: 190
Does anyone know of a script that can make a pop up box that i can put a form in asking if they read the rules to either allow access you deny access to a page? AND I only want the pop up to appear once. I guess it would need cookies but i only want the person to have to answer once and then they can visit the page as many times as they want.
pipers dragon is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 08-04-2005, 07:42 PM
Rufo's Avatar
Extreme Talker

Posts: 173
Here's how you could do it, generally speaking.
Pick a language (server- or client-side - there are pros/cons for each).

Code:
read cookie
if(rules agreed to already) {
   show content
}
else {
   show rules
   if(agrees to rules) {
      set cookie
      show content
   }
   else {
      show notice about having to agree to rules
   }
}
Rufo.
__________________
mp3blog.us
Rufo is offline
Reply With Quote
View Public Profile Visit Rufo's homepage!
 
Reply     « Reply to Rules script
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10754 seconds with 12 queries