Previous Thread
Next Thread
Print Thread
Rate Thread
#280316 10/02/2004 3:10 PM
Joined: Jul 2002
Posts: 135
Journeyman
Journeyman
Joined: Jul 2002
Posts: 135
I'm sure this must have been asked before but I couldn't find anywhere.

Anyway, I was wondering how to make it so when a user picks their login names it automatically makes their Display name the same. I don't plan on allowing my users to change their names and many of them are very easily confused.

Thanks in advance!

Sponsored Links
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
Not sure if there is an administative option to do so, if there isn't, you can do the following:

In /templates/default/newuser_signup.tmpl

find and delete:

<tr>
<td class="lighttable">
{$ubbt_lang['DISPLAY_IN']}
</td>
<td class="lighttable" valign="top">
<input type="text" name="Displayname" class="formboxes" size="40" />
</td>
</tr>


That's it.

Joined: Jul 2002
Posts: 135
Journeyman
Journeyman
Joined: Jul 2002
Posts: 135
Worked great. Didn't realize that it automatically makes the display name the login name.

Thanks again!

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, and I think if you just take the display name out of the registration template, if it's blank, then it uses the login name as the display name.


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:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2947
Topics Created 0
Posts Made 0
Users Online 2
Birthdays 29
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)