The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Splash Page
Basically i created a Splash Page and my member would like a option to skip it after one time.
--------------- Added [DATE]1230778886[/DATE] at [TIME]1230778886[/TIME] --------------- Heres the code im using <?php if($_POST['submit']){ //If the form is submited if($_POST['show']){ // and checkbox is ticked setcookie('welcome','yes',time()+60*60*24*30); // Set cookie expires in 30 days header('Location:http://www.nexonkiller.com'); } } ?> <center> <?php if(isset($_COOKIE['welcome']) and ($_COOKIE['welcome']=='yes')){ //If the cookie exists header('Location:http://www.nexonkiller.com/forum'); // Redirect to the page you want } ?> <INPUT TYPE="CHECKBOX" NAME="NK" VALUE="Check the Box if you wish to skip this page the next time this site is visited">Check the Box if you wish to skip this page the next time this site is visited<BR> </center> But it only works for flash intros. Anyone got one for non flash? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|