The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
well, not all of us are as web savy as others.....some things aren't as easy to peice together....and since you obviously already know the answer...why cna't ya just help a guy out??
|
#22
|
|||
|
|||
Arrggh
So sorry for forgetting about this. I have changed jobs and lost the code. I will re-do it and *promise* to post everything I have done. Cheers, veedee |
#23
|
||||
|
||||
I tryed it for myself, but I have a little problem. I added the following code into register.php:
PHP Code:
Now my problem: If I set $adminemail=1 it becomes NO. If I set $adminemail=0 it becomes NO. WHY?? Please help. |
#24
|
|||
|
|||
I have made enough excuses. Here is another one. I was made redundant and forgot about all this stuff. I need this for my site and will spend the rest of the day gathering info on this. I will post up any updates.
Cheers, Ben |
#25
|
|||
|
|||
ok here goes...
In global.php add PHP Code:
PHP Code:
Code:
<script language="javascript"><!-- window.open('http://www.yoursite.com/forum/file.php'); // --></script> This will pop file.php up. Now to make file.php Try this: Code:
<html> <title>Welcome to visordown.com - register today</title> <head> <STYLE type=text/css> .nf { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt } .sf { font-family: verdana,arial,helvetica,sans-serif; font-size: 8pt; color: #ffffff; } </style> </head> <body bgcolor="#000000"> <!-- content table --> <font class="sf">Registration is required if you want to post messages on visordown.com</font> <table bgcolor="#000000" width="100%" cellpadding="10" cellspacing="0" border="0"><tr><td> <form action="http://www.visordown.com/forums/register.php" method="post"> <input type="hidden" name="s" value=""> <table border="0" cellspacing="1" cellpadding="4" width="100%" bgcolor="#555576"> <!-- *** --> <tr> <td bgcolor="#0000ee" colspan="2"><font face="verdana" size="2" color="#ffffff" class="thtcolor"><b>Registration</b></font> <font face="verdana" size="1" color="#ffffff" class="thtcolor">(*) fields are required. Please note that passwords are case sensitive.</font></td> </tr> <!-- *** --> <tr> <td bgcolor="#AAAAE6"><font class="nf"><b>*User Name:</b></font></td> <td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="username" size="25" maxlength="15"></font></td> </tr> <tr> <td bgcolor="#C3C3EB"><font class="nf"><b>*Password:</b></font></td> <td bgcolor="#C3C3EB"><font class="nf"><input type="password" name="password" size="25" maxlength="15"></font></td> </tr> <tr> <td bgcolor="#C3C3EB"><font class="nf"><b>*Enter Password Again:</b></font></td> <td bgcolor="#C3C3EB"><input type="password" name="passwordconfirm" size="25" maxlength="15"></td> </tr> <tr> <td bgcolor="#AAAAE6"><font class="nf"><b>*Email:</b></font><br> <font color="#000000" face="verdana" size="1">Please enter a <b>valid</b> email address.</font></td> <td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="email" size="25" maxlength="50"></font></td> </tr> <tr> <td bgcolor="#AAAAE6"><font class="nf"><b>*Enter Email Again:</b></font></td> <td bgcolor="#AAAAE6"><font class="nf"><input type="text" name="emailconfirm" size="25" maxlength="50"></font></td> </tr> <tr><td bgcolor="#113274"> </td><td bgcolor="#113274"><input type="hidden" name="allowmail" value="yes"> <input type="hidden" name="invisible" value="no"> <input type="hidden" name="showemail" value="yes"> <input type="hidden" name="cookieuser" value="yes"> <input type="hidden" name="nosessionhash" value="yes"> <input type="hidden" name="emailonpm" value="yes"> <input type="hidden" name="prunedays" value="-1"> <input type="hidden" name="umaxposts" value="-1"> <input type="hidden" name="startofweek" value="1"> <input type="hidden" name="timezoneoffset" value="-5"> <input type="hidden" name="emailnotification" value="yes"> <input type="hidden" name="showsignatures" value="yes"> <input type="hidden" name="showavatars" value="yes"> <input type="hidden" name="showimages" value="yes"> <input type="hidden" name="vbcode" value="yes"> <input type="hidden" name="pmpopup" value="yes"> <input type="hidden" name="receivepm" value="yes"> <input type="hidden" name="url" value="http://www.visordown.com/forums/thanks.html"> <input type="hidden" name="action" value="addmember"> <input type="submit" name="Submit" value="Submit"> <input type="reset" name="Reset" value="Reset"></td> </tr></font> </td></tr></table> </form> <font class="sf">By pressing the registration button above you declare that you have read and agree with the <a href="/" target="blank">Community Guidelines</a></font> <!-- End content area table --> </td></tr></table> </body> </html> Does this help? Ben |
#26
|
||||
|
||||
Thank you very much!! :up:
|
#27
|
|||
|
|||
Great - Now all I need to work out is how to make the pop up only pop up once per user visit. I would also like to make it pop up in a nicer looking window.
Hmmm can we get together on this one ? |
#28
|
||||
|
||||
For the windowsize: How about a little change in your head_expressreg template:
Code:
<script language="javascript"> window.open("file.php?, "Register now!!", "toolbar=no,scrollbars=yes,resizable=yes,width="300",height="600"); </script> |
#29
|
|||
|
|||
Superb!
How do I set a cookie. I have had a go but it doesn't work. Any code going? Cheers! Ben |
#30
|
||||
|
||||
How to set a cookie:
Code:
<script language="javascript"> document.cookie = "your-cookie-settings"; </script> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|