![]() |
![]() |
This project is not completely dead. I've just started work on localisation. If you're getting a "Deprecated" error message, follow the instructions here URGENT Security Patch for ≤ v2.2.6 A security hole has been discovered, follow the instructions and download the patch at the topic page. Did the patch break your search page? Search Patch
|
![]()
Posts: 2
Registered: 2007-02-18 |
Is there any way to disable email verification so that new members can just create an account and log in without having to reply to an email?
I've just installed UPB Version 2.0 BETA 1.4 and Love It! The only thing is that my installation is on a university student website and I don't know how to configure the script to allow me to use the email registration feature.... |
|
Last edited by: george kaplan on Feb 18, 2007 10:48:32 am
| |
![]() UPB Team Member
Posts: 1036
Registered: 2006-11-14 |
Tim Hoeppner
UPB Programmer B. Sc. in Electrical Engineering |
|
Last edited by: Rebles on Apr 26, 2007 4:54:21 am
| |
![]()
Posts: 2
Registered: 2007-02-18 |
Pilot, thanks for your reply, but that new file didn't fix the problem. I found a workaround that seems to work okay by changing the following code:
Quote: To this: Quote: I'm thinking this just pretty much shorts out the error catching and allows people to create account with any email address they want. This isn't very good insofar as spam bots, etc., are concerned but for my purposes (a *very* small board), this should work just fine. Thanks for pointing me in the right direction though! ![]() |
![]() UPB Team Member
Posts: 1036
Registered: 2006-11-14 |
for future reference, if anyone else wants to do this, make sure you just comment out that line instead of doing what he did, cause if that check does pass its going to give an error message.
Tim Hoeppner
UPB Programmer B. Sc. in Electrical Engineering |
![]()
Posts: 5
Registered: 2007-03-16 |
Hello,
first, This a very good job,happy to find a board without SQL. As I use this site for intranet use, I was unable to output correctly any email due to security reasons. also I am not managing the web server. Your code register2.zip is working perfectly on my side !! no more problems to register. Thank you again |
![]()
Posts: 4
Registered: 2007-04-23 |
Quote: So which file is this piece of code in please? Also do I have to delete the install file? Geoff |
|
Last edited by: PaganMan on Apr 23, 2007 9:35:55 pm
| |
![]() Toilet Cleaner
Posts: 145
Registered: 2007-01-04 |
simple fix i used, just echo the reg message between the header and footer includes in the register.php file. its right after the mail() section.
Hi! I'm steak. |
![]()
Posts: 2
Registered: 2007-04-24 |
hi,
Can i have that register file too please? it does not seem to be available anymore. thnks adrian. |
![]() UPB Team Member
Posts: 893
Registered: 2006-11-14 |
![]() This file will replace the confirmation message after you register with the message defined in the "Register Email Message" Field (Admin Panel -> Config Settings -> Newly Registered Members Settings). If you have already modified your register.php, use the step-by-step instructions provided below. Note: recommended for advanced users [big]Step-by-step instructions to display login and password after registration[/big] [number]Delete [code=line 83]redirect("login.php", "5");[/code][/number] [number]Replace [code=line 80]print "You are now registered!<BR><BR>An email has been sent to your email account with a random password, <br>which you can change at any time. It should arrive within 2 - 5 minutes. <br><br>Thank you for registering!";[/code] with PHP Code: print $register_msg; [/number]
[number]Delete [code=line 77]if(!@mail($_POST["u_email"], $register_sbj, $register_msg, "From: ".$_REGISTER["admin_email"])) error_log ("Unable to send register email conformation to user: ".$_POST["u_login"], 3, "./logs/error.log");[/code][/number] That should do it. Note this code has not been tested so please reply if it doesn't work. --Jerroyd Moore
Bachelors of Science, Computer Science 2011 Jack Baskin School of Engineering University of California, Santa Cruz |
![]()
Posts: 8
Registered: 2009-07-22 |
Can I get a working register file for the current forum version, please?
|