News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Username and name registration confusion

Started by Cache-man, April 27, 2005, 10:49:07 PM

Previous topic - Next topic

Cache-man

I have recently set up my site at www.cache-community.co.uk and there is something I would like to change, but dont know how.

It seems that members are experiencing confusion on the registration page with the Name field and the username field, and often enter these details in the opposite boxes.
I would like to edit this page and change the titles of the Name field to 'Screen-name', and the username field to 'Login name'. I think this would then avoid the confusion.

Is this possible? If so, which file do I need to change, and which particular lines of code?

I offer my thanks in advance. :)

Cache-man

This is really beginnning to hack off some of the new members I know from other forums, as they really do expect the names to be the other way around.

Surely it's a relatively simple change to make to some HTML, but I just cant find the code anywhere.
Somebody please help :) ???

Orstio

Look in your components/com_smf_registration folder.

The file is called smf_registration.html.php.

The two lines you want to change look like this:

      <td width="30%"><?php echo _REGISTER_NAME; ?> *</td>

and this:

      <td><?php echo _REGISTER_UNAME; ?> *</td>


chadness

#3
And to further clarify, _REGISTER_NAME and _REGISTER_UNAME are defined in Mambo's language file - /language/english.php if you are running it in english.

And if you're feeling really ambitious, smf_registration.php controls which field gets imported in to each part of SMF and Mambo (their user names and real names)....

Cache-man

Thanks for your help. I have fixed the issue, although it took a combination of all of your answers to figure out

Advertisement: