Welcome, Guest. Please Login or Register.
May 08, 2025, 11:56:25 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Displayed Name « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Displayed Name  (Read 242 times)
Eliza
Noobie
*
Posts: 5


No, my powers can only be used for evil.

Displayed Name
« on: December 24, 2002, 12:44:14 AM »
Reply with quote

I was told I should post this in mod ideas.

I would like to be able to have the displayed name the same as the username and I don't want them to be able to change the displayed name.

If that makes any sense at all.
Logged
Armadillo
Noobie
*
Posts: 22


Medieval Warrior

Re:Displayed Name
« Reply #1 on: December 24, 2002, 05:58:04 AM »
Reply with quote

Here is a quick and dirty way to disable that.
Find the following code in your "Profile.php" file....
     </tr><tr>
   <td width="45%"><font size=2><b>$txt[68]: </b></font><BR>
   <font size=1>$txt[518]</font></td>
   <td><input type="text" name="name" size="30" value="$memsettings[realName]"></td>
      </tr><tr>
And replace it with....
     </tr><tr>
   <td width="45%"> </td>
   <td><input type="hidden" name="name" size="30" value="$memsettings[realName]"></td>
      </tr><tr>
It will not undue any current changes, but it will prevent any future name changes. It simply removes the text from the page and hides the text box for the users display name. I have this on my board and it seems to function.
Be sure to make a backup copy of your current "Profile.php" before editing it.
I hope this helps.
Logged

Everything should be made as simple as possible, but no simpler.
Eliza
Noobie
*
Posts: 5


No, my powers can only be used for evil.

Re:Displayed Name
« Reply #2 on: December 24, 2002, 06:44:19 PM »
Reply with quote

Thanks so much! That worked out perfectly!
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Displayed Name « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.107 seconds with 20 queries.