MyBB Community Forums

Full Version: How to edit "Edit User Profile" fields ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Have now reconstucted my board after a hackdown, but I cannot find the proper place/templates to change Edit User Profile of my new MyBB 1.2.

Would appreciate much any help - I've shown what I need changed in the figure here http://wahl.dk/EditUserProfile.jpg

Regards
Edward
I dont give a warranty that this would work since I didnt really test it..

There are some settings in the Admin CP that might be able to help.

Custom User Title can be removed in the following area
-> Admin CP
-> User and Groups
-> Manage Groups
-> Registered (whoever you want to change)
-> Permission Account Management
-> Can change username -> NO
-> Can use Custom Titles -> NO

Hope this helps... well there is another way which is going to the Templates Location. like so: BAD IDEA for newbie... use back up

-> admin CP
-> Templates
-> Modify / Delete
-> Your Theme (Your Selected Theme) -> Expand
-> User Control Panel Templates -> Expand
-> usercp_profile -> Expand
-> FIND THESE (IMPORTANT! MAKE SURE YOU CAN RESTORE YOUR ORIGINAL OK???)
<td width="50%" class="trow1" valign="top">
{$customtitle}

That would be the starting point to highlight ... now find these

{$awaysection}
</td>
That would be the END pointof highlight...

In-case you are confused, This would be the whole code to highlight:
<td width="50%" class="trow1" valign="top">
{$customtitle}
<fieldset class="trow2">
<legend><strong>{$lang->additional_contact_details}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td><span class="smalltext">{$lang->icq_number}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="icq" size="25" value="{$user['icq']}" /></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->aim_screenname}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="aim" size="25" value="{$user['aim']}" /></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->msn}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="msn" size="25" value="{$user['msn']}" /></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->yahoo_id}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="yahoo" size="25" value="{$user['yahoo']}" /></td>
</tr>
</table>
</fieldset>
{$awaysection}
</td>

(Back up Everything first before doing okay?)
Delete Them --> that would be the 3 Area's you want to delete...

now next step. removing "Sex Field" and editing "Location" and "Bio".

-> admin CP
-> Users and Groups
-> Custom Profile Fields
-> Sex -> Controls -> Delete Custom Profile Fields -> Click GO

Editing Location and Bio

-> admin CP
-> Users and Groups
-> Custom Profile Fields
-> Location / Bio -> Edit Profile Field -> Go

after that Have fun because you've just finished your problem... Smile If it helps you then maybe a reputation would be nice Big Grin have fun with your forums ^^,

Future Possible questions:

Q: My Table is big and yet the there are empty spaces... how can I make the other Table cell to become 100% size?

A: okay.

Find these at that same area:
<td width="50%" class="trow1" valign="top">

-> admin CP
-> Templates
-> Modify / Delete
-> Your Theme (Your Selected Theme) -> Expand
-> User Control Panel Templates -> Expand
-> usercp_profile -> Expand

IF you already deleted the other area you will only be able to find 1 result... but if not then you will find 2 results just get the one above. [the 2nd one is the one that you should suppose to delete... before this faq]

Change it to:
<td width="100%" class="trow1" valign="top">

Q: OMFG! It didnt work!

A: okay my bad... As I said I didnt test this so I did not give any guarantee that this would work.. I Told you to back up before doing anything.

Q: OMFG! I didnt know what happenedeverything in that area got deleted!what should I do?

A: okay, thats your bad. just go here and dont panic.

-> admin CP
-> Templates
-> Modify / Delete
-> Your Theme (Your Selected Theme) -> Expand
-> User Control Panel Templates -> Expand
-> usercp_profile -> Revert to Original

Done its back again... Smile
1) and 3) go to AdminCP - Custom Profile Fields (under Users and Groups) - then select the fields you want to edit or delete

2) you have to edit the template I believe...at least the member_profile, usercp_profile. Basically have to remove the cells with this information. Just make sure that you check your work afterwards as you're bound to break the table-structure if you just blindly delete the (td)(/td) parts...
i am just sooooo slow....must be getting old Smile
blood618^_^ Wrote: I dont give a warranty that this would work since I didnt really test it..

There are some settings in the Admin CP that might be able to help......

Thank you so much for the quality advice - I have now changed the templates and everything is just fine now...

Regards
Edward