Welcome, Guest. Please Login or Register.
May 10, 2025, 10:20:22 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  lock users from changing their display name « previous next »
Pages: [1] Reply Ignore Print
Author Topic: lock users from changing their display name  (Read 1023 times)
Tranten
Noobie
*
Posts: 22


tranten@hotmail.com WWW
lock users from changing their display name
« on: February 08, 2003, 02:11:19 PM »
Reply with quote

I've searched around on these boards and havn't found anything on it, so if it's been done forgive me:

my problem is my other admins and I really don't like our members being able to change their display name all the time (they're getting into a habit of doing it 2-5 times a day, making it real hard to keep track of discussions and all that). Is there a mod out there (or could someone create one;) that would help us restrict that ability?

thanx all.
Logged
Tranten
Noobie
*
Posts: 22


tranten@hotmail.com WWW
Re:lock users from changing their display name
« Reply #1 on: February 08, 2003, 02:19:34 PM »
Reply with quote

btw yes I know about this thread but for some reason I can't find any of the code listed in it in my profile.php

I'm running a modded 1.4.1 if anybody wants to take a look at my profile.php I'd be more than happy to share.

Now, maybe it's not working for me cuz it's 6:20 in the morning and I havn't been asleep yet. So, I'm gonna go to bed, wake up and hopefully some of you guys will have been able to help me out, or at least point me in the right direction
Logged
Vegeta
Noobie
*
Posts: 45


WWW
Re:lock users from changing their display name
« Reply #2 on: February 08, 2003, 05:22:08 PM »
Reply with quote

I would appreciate this mod also, however I would like to have the admins be able to change anyone's name (including their own), since there could be errors in spelling and such. And a 1.5 mod would be appreciated too.
« Last Edit: February 08, 2003, 05:22:46 PM by Vegeta » Logged

_______
-Vegeta
Dragonball News Informant, Forum Administration
Dragonball Unlimited!
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:lock users from changing their display name
« Reply #3 on: February 08, 2003, 09:53:20 PM »
Reply with quote

for 1.5.0:

open Profile.php, search for
                     </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>


replace with
                     </tr>';
   if ($settings[7] == 'Administrator')
   {
      echo '
                     <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>';
   }
   else
      echo '<input type=\"hidden\" name=\"name\" value=\"$memsettings[realName]\">';
   
   echo '
                     <tr>


tell me if it doesnt work
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Tranten
Noobie
*
Posts: 22


tranten@hotmail.com WWW
Re:lock users from changing their display name
« Reply #4 on: February 09, 2003, 12:58:20 AM »
Reply with quote

even though I couldn't find the exact match to what you posted (remember, I'm on 1.4.1) I found the patch of code that has the $memsettings['realName'] display in it.

but applying the fix doesn't work. it just displays
;
  if ($settings[7] == 'Administrator')
  {
     echo '
as text in the edit profile page.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:lock users from changing their display name
« Reply #5 on: February 09, 2003, 01:22:41 AM »
Reply with quote

What version of YaBB SE is this?

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:lock users from changing their display name
« Reply #6 on: February 09, 2003, 01:43:23 AM »
Reply with quote

Quote from: Tranten on February 09, 2003, 12:58:20 AM
even though I couldn't find the exact match to what you posted (remember, I'm on 1.4.1) I found the patch of code that has the $memsettings['realName'] display in it.

the code above is for 1.5.0
check this thread for 1.4.1 -> http://www.yabbse.org/community/index.php?board=141;action=display;threadid=14532
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Tranten
Noobie
*
Posts: 22


tranten@hotmail.com WWW
Re:lock users from changing their display name
« Reply #7 on: February 09, 2003, 08:41:42 AM »
Reply with quote

I knew it was for 1.5.0 but I wanted to try it anyway, and in my 2nd post in this thread I already said I had tried that referred thread.

:( oh well I'll keep working on it.
Logged
Vegeta
Noobie
*
Posts: 45


WWW
Re:lock users from changing their display name
« Reply #8 on: February 10, 2003, 09:32:28 PM »
Reply with quote

I might need the code for 1.5.1, since the head admin of my forum is considering an upgrade.

Thanks in advance.
Logged

_______
-Vegeta
Dragonball News Informant, Forum Administration
Dragonball Unlimited!
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:lock users from changing their display name
« Reply #9 on: February 10, 2003, 09:44:02 PM »
Reply with quote

this one is for 1.5.1: http://www.yabbse.org/community/index.php?board=158;action=display;threadid=18010
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  lock users from changing their display 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.094 seconds with 21 queries.