|
|
Joined: Apr 2001
Posts: 4
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 4 |
I have a site setup that integrates UBB with my other site security. The login that is used for the rest of the board is the user's email addy. Well, I thought this was working fine until one user complained that he couldn't get into the forum. His email addy was 30 characters and UBB was rejecting it as invalid.
I manually edited the member's var file and it still didn;t work.
Can anyone shed light on what I need to do to make UBB ignore the 25-character limit?
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Gah, I can imagine how frustrating that would be... public_register_page.pl, find: code:
<tr bgcolor="$vars_style{AltColumnColor1}"> <td> <font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <b>$vars_wordlets{login_name}</b>: </font> </td> <td> <input type="text" name="username" size="25" maxlength="25" /> </td> </tr>
Replace with: code: [qb]<tr bgcolor="$vars_style{AltColumnColor1}"> <td> <font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <b>$vars_wordlets{login_name}</b>: </font> </td> <td> <input type="text" name="username" size="25" /> </td> </tr> [/qb] public_register_page_kid.pl, find: code:
<tr bgcolor="$vars_style{AltColumnColor1}"> <td> <font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <b>$vars_wordlets{login_name}</b>: </font> </td> <td> <input type="text" name="username" size="25" maxlength="25" /> </td> </tr>
Replace with: code: [qb]<tr bgcolor="$vars_style{AltColumnColor1}"> <td> <font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <b>$vars_wordlets{login_name}</b>: </font> </td> <td> <input type="text" name="username" size="25" /> </td> </tr> [/qb] Hope that works for you.
|
|
|
|
Joined: Apr 2001
Posts: 4
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 4 |
Well, I had already thought of changing the max-lengths on each form, but I am afraid that there might be something a little more intense going on.
When a person registers on my website a hidden page is referred that is set up to quietly create the UBB account using the same information. Basically it is a self-submitting form that contains hidden inputs that corespond to each necessary UBB field. On this form I have no max length for the login... and it appears that UBB truncated the login automatically to fit the 25 character limit.
Also, I manually edited the member's var file to include the entire email addy... without luck. When I attempted to log in using the full-length email the UBB system wouldn;t recognize that as a valid member's name.
I am thinking that there must be some code somewhere that is not allowing a long name.
Any ideas?
--Darren
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|