Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 4
Junior Member
Junior Member
Offline
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?

Sponsored Links
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Gah, I can imagine how frustrating that would be... frown

public_register_page.pl, find:

Quote
code:
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]
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" />
</td>
</tr>
[/qb]
public_register_page_kid.pl, find:
Quote
code:
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]
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" />
</td>
</tr>
[/qb]
Hope that works for you. smile

Joined: Apr 2001
Posts: 4
Junior Member
Junior Member
Offline
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)