Forums / Cotonti / General / Profile edit

minoation
#1 2009-07-15 01:32
I am trying to put a code to add an extra field but it does not show up.Here is the code I put.
                          </tr>   
                                <tr>        
                                        <td>{PHP.skinlang.usersprofile.Psnname}</td>   
                                        <td>{USERS_PROFILE_PSNNAME}</td>  
I edited the extra fields for users but it still won't show up.Help please.
Awesome!
This post was edited by minoation (2009-07-15 01:42, 14 years ago)
pieter
#2 2009-07-15 02:07
where have you put this? Which file?
Try to be more specific.
... can we help you ...
minoation
#3 2009-07-15 02:14
I have edited two things:users.profile.tpl file
and the add extra fields for users in the admin panel.I am trying to put a field called PSN Name in the place where users can edit their profile.But the field is not showing up.HELLO?! X-(
Awesome!
This post was edited by minoation (2009-07-16 05:41, 14 years ago)
Mynt
#4 2009-08-18 07:25
First things first.

When you create the field, you are going to want to make sure you have the exact call name for it. If PSNNAME is it, then your golden. Are you getting the ability to have the extra fields show up in the user option when they edit there profile but not in the actual display view?

For the display view (IE -> I clicked on your profile) Make sure to edit this file:
users.details.tpl

This is the place you see the actual contents of what field_extra your placing in.

The file you want to edit if you want to place the text box in there for the user to edit themselves IE: I am going to login to my account and change my PSN name on the account, you will edit this template: users.profile.tpl

For safe measure, you should probably also edit : users.edit.tpl so that you can change it incase a member decides to put something NSFW, or anything crude.
"I only sleep when I know I won't miss a thing."