• Welcome to Simple Machines Community Forum. Please login or sign up.
December 03, 2021, 06:04:39 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Users Name not Username is showing up when they post

Started by DirkDiggler, January 30, 2005, 01:13:48 PM

Previous topic - Next topic

DirkDiggler

I dont know if this is a setting I have overlooked but everytime new users post to the forum their name shows up not their username, where can I correct this

[Unknown]

Why would their username show up instead?  I could tell you how to *change* this, but to correct it seems impossible to me - it already seems correct :P.

Notice my post.  My username (the one I use to log in) is "unknown".  However, my name is "[Unknown]".  It's the one I want shown when I post.

-[Unknown]

Orstio

I guess the discrepancy here for those who have used Mambo, but not SMF, is that in Mambo, the person's "realName" doesn't show anywhere but the admin panel, or in articles if the author or admin so chooses.

punkvaulter

February 07, 2005, 12:46:13 PM #3 Last Edit: February 07, 2005, 12:56:57 PM by punkvaulter
Could you show me where to edit the registration form so that "name" says "forum name"  on the bridged registration.  This would help clear things up for new users as they've been putting their real names in under name and get upset when their real name is showing on the forum.  Thanks!!

punkvaulter

Found it!

Encase anybody else wants to do the same thing.

I edited /components/com_smf_registration/smf_registration.html.php 

weekend camper

February 08, 2005, 03:06:11 AM #5 Last Edit: February 08, 2005, 06:15:15 PM by weekend camper
thanks punk, that was on my to-do-list.

@edit:

in case people wonder about an example of this change, here's my changes, YMMV:

find in /components/com_smf_registration/smf_registration.html.php 

Quote
<td colspan="2"><?php echo _REGISTER_REQUIRED; ?></td>
</tr>
    <tr>
      <td width="30%"><?php echo _REGISTER_NAME; ?> *</td>
      <td><input type="text" name="name" size="40" value="" class="inputbox" /></td>
    </tr>

    <tr>

      <td><?php echo _REGISTER_UNAME; ?> *</td>
      <td><input type="text" name="username" size="40" value="" class="inputbox" /></td>
    <tr>

      <td><?php echo _REGISTER_EMAIL; ?> *</td>
      <td><input type="text" name="email" size="40" value="" class="inputbox" /></td>
    </tr>

    <tr>
      <td><?php echo _REGISTER_PASS; ?> *</td>
      <td><input class="inputbox" type="password" name="password" size="40" value="" /></td>
    </tr>

    <tr>
      <td><?php echo _REGISTER_VPASS; ?> *</td>
      <td><input class="inputbox" type="password" name="password2" size="40" value="" /></td>
    </tr>

    <tr>
      <td colspan="2">&nbsp;</td>

replace

Quote
<td colspan="2"><?php echo _REGISTER_REQUIRED; ?></td>
</tr>
    <tr>
      <td width="30%"><?php echo _REGISTER_NAME; ?> *</td>
      <td><input type="text" name="name" size="40" value="" class="inputbox" />(displays in the forums)</td>
    </tr>

    <tr>

      <td><?php echo _REGISTER_UNAME; ?> *</td>
      <td><input type="text" name="username" size="40" value="" class="inputbox" />(login name)</td>
    <tr>

      <td><?php echo _REGISTER_EMAIL; ?> *</td>
      <td><input type="text" name="email" size="40" value="" class="inputbox" /></td>
    </tr>

    <tr>
      <td><?php echo _REGISTER_PASS; ?> *</td>
      <td><input class="inputbox" type="password" name="password" size="40" value="" /></td>
    </tr>

    <tr>
      <td><?php echo _REGISTER_VPASS; ?> *</td>
      <td><input class="inputbox" type="password" name="password2" size="40" value="" /></td>
    </tr>

    <tr>
      <td colspan="2">&nbsp;</td>

Fardo

I got the same problem ... it's confusing to use name and username though ... is it possible to use the username ans forum name and login?


chadness

Those variables, _REGISTER_NAME, _REGISTER_USERNAME, etc. are in the Mambo file languages/english.php.  Just change them to say what you want in there.  For instance, I have those lines reading:
DEFINE('_REGISTER_NAME','Real Name:');
DEFINE('_REGISTER_UNAME','Please choose a username:');

Advertisement: