MyUPB.com Discussion forums
You are not logged in. Please Register or Login.

Announcements

This project is not completely dead. I've just started work on localisation.
Please email me at clark@NOSPAMmyupb.com once you've registered so I can activate your account (remove "NOSPAM" from the email address)
~~~~ Clark


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

Download myUPB
Version 2.2.7 Released - 24th December 2010


Pages (2):1
Posted: Feb 18, 2007 10:46:41 am
george kaplan



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....

Posted: Feb 18, 2007 4:14:16 pm
Pilot



Tim Hoeppner

UPB Programmer
B. Sc. in Electrical Engineering

Posted: Feb 18, 2007 7:27:41 pm
george kaplan



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:

    if(!checkdnsrr($email[1], "MX")) exitPage("Please enter a valid email! No mail server seems to exist at <b>www.".$email[1]."</b>", true);




To this:

Quote:

    if(checkdnsrr($email[1], "MX")) exitPage("Please enter a valid email! No mail server seems to exist at <b>www.".$email[1]."</b>", true);




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! :)

Posted: Feb 18, 2007 9:12:51 pm
Pilot



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

Posted: Mar 16, 2007 9:59:08 am
Jice06



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

Posted: Apr 23, 2007 9:34:44 pm
PaganMan



Quote:
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.



So which file is this piece of code in please?  Also do I have to delete the install file?
Geoff

Posted: Apr 23, 2007 10:51:07 pm
Gigaman2003



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.

Posted: Apr 24, 2007 7:29:29 pm
asouthwell



hi,

Can i have that register file too please?
it does not seem to be available anymore.

thnks
adrian.

Posted: Apr 26, 2007 4:53:41 am
Rebles



Download upb2beta1.4_for_disabled_stmp.zip


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

Posted: Jul 28, 2009 10:15:42 pm
bmwqg



Can I get a working register file for the current forum version, please?

Pages (2):1
Powered by myUPB v2.2.6  ·   © PHP Outburst 2002 - 2013

Creative Commons License