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 (4): 3
Posted: Aug 30, 2007 6:37:03 pm
Sol_Prime



Quote:
Could you let me see your site please?:)



I can't unfortunately. It’s on an Intranet and not visible to the outside world. I could send you copies of the .php files in question if that would help, but I don't have a way for anyone to view it as is.

Posted: Aug 30, 2007 8:45:15 pm
Jono345



Is it possible that the issue is that misaligned database problem that we found a while ago?

That damn thing stuffed up email pretty good =/

Microsoft  Certified Systems Administrator (MCSA Messaging)
Microsoft Certified Professional (MCP XP)
SDI Help Desk Analyst (SDI HDA)
CompTIA A+ Certified Technician (A+)

Posted: Sep 01, 2007 6:23:18 pm
Rebles



--Jerroyd Moore
Bachelors of Science, Computer Science 2011
Jack Baskin School of Engineering
University of California, Santa Cruz

Posted: Sep 05, 2007 2:15:59 pm
Sol_Prime



Quote:
Maybe if you try this on the register.php:
www.myupb.com/wiki/index.php/UPB1_Common_Problems#Profile_Error:_Submit_.28upb_1.x.29



I don't have a smtp server running on my system. What do I do if I can't have an smtp server running on my system? Is there any kind of mod that allows the user to create thier OWN passwords without having to send out an e-mail? Right now, whenever someone tries to create a new account it goes to a blank white page and nothing happens. The forum doesn't even TRY to create the account, it blanks the screen and does NOTHING. I'm getting REALLY frustrated with this and am about to toss it in the recycle bin.

Posted: Sep 05, 2007 4:20:19 pm
Rebles



Do this:
create a file called "phpinfo.php", with the contents PHP Code:
<?php phpinfo(); ?>
, upload it in your forum directory, and copy/paste the URL here.

As for a disabled-STMP server, there is a mod available.  Check the bug discussion for closed tickets.  One topic should be about STMP servers and register.php
--Jerroyd Moore
Bachelors of Science, Computer Science 2011
Jack Baskin School of Engineering
University of California, Santa Cruz

Posted: Dec 04, 2007 4:25:40 pm
therog



Quote:
As for a disabled-STMP server, there is a mod available.  Check the bug discussion for closed tickets.  One topic should be about STMP servers and register.php



I am trying to install the forum on an intranet with a disabled-STMP server. I looked in the bug discussion but was unable to locate any related mod. Can anyone provide guidnce on disabling the email registration feature and just deliver the password to the User so that they can use the forum? As it works right now, when I fill in the User Registration form and click submit I get the HTTP 500 ISE page. Thank you for your help!

Posted: Dec 05, 2007 3:36:13 pm
Clark



Attachment: register.php

Try the attached file.

Hopefully it will detect that you are unable to send email and will display the username and the temporary password to the user instead of emailing it.

If later you move the forum to a server which does allow you to send emails you won't need to make any changes to register.php

Please let me know if it works or not.
myUPB Developer

Posted: Dec 06, 2007 1:55:53 pm
therog



Thank you for your help. There is still a problem. Now when I register the following message appears:

"Please enter a valid email! No mail server seems to exist at www.hotmail.com"

It doesn't matter what email address domain I enter... aol.com, yahoo.com, etc. I get the same message...
-"Please enter a valid email! No mail server seems to exist at www.aol.com"
-"Please enter a valid email! No mail server seems to exist at www.yahoo.com"

Do you know what I should do now? Thank You!

FYI: I did alter the register.php to remove the security image requirement. I do not have the GD library on my server so it was not working. I followed the instrucitons in this forum:

http://www.myupb.com/viewtopic.php?id=5&t_id=8&page=1

(I included the instructions below. The line numbers did not match but the code was the same)

Delete line 17: session_start();

Delete line 19-25: Code:
--------------------------------------------------------------------------------
    if($_POST['s_key'] !== $_SESSION["u_keycheck"]) {
        exitPage("Please enter the secrity code <b>exactly</b> as it appears...", true);
    }
    $_SESSION = array();
    setcookie(session_name(), '', time()-42000, '/');
    session_destroy();
--------------------------------------------------------------------------------


Delete line 117-118: Code:
--------------------------------------------------------------------------------
        <tr><td rowspan='2' bgcolor='$table1'><span style='color:red'>*</span> <font size='$font_m' face='$font_face' color='$font_color_main'>Security Code<br><font size='$font_s'>Please enter the code in the image: (all lower case) <a href='register.php'>Load new image</a></font></font></td>
        <td bgcolor='$table1'><img src='./includes/image.php?id=$encid&key=$key'></td></tr><tr><td bgcolor='$table1'><input type=text name=s_key maxlength=7 size=12></td></tr>
--------------------------------------------------------------------------------

Posted: Dec 06, 2007 8:46:59 pm
therog



Success! I got it working by commenting out line the "checkdnsrr" line:

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

It works now. When  a user registers they receive a temporary password. Now the only problem is if they forget their password and they enter their user name to retrieve it, since email is inactive on my server an email containing their password is never sent. Any ideas on resolving this issue? Is there a way that I, as the Admin, can see a users password and email it to them or issue them a temprorary password? Thanks!

Posted: Dec 07, 2007 10:20:54 am
DJ_Spray



in the worst case, you can always manually set a temporary password. You don't need to know their's to set a new one (you are a superuser).

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

Creative Commons License