MyBB Community Forums

Full Version: How to add a custom area in the user control panel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As you know That In User Control Panel

If you go to

U.CP-->Edit Profile--> There are a lot of areas there Like  (See attachment)


My forum is a Gaming Forum So

i think It would Be A Good Idea To Add

A New area named 

Gaming Info

And In there will be

Steam ID
Origin ID
Uplay
PSn
Xbox

etc


How can I do that
You can add profile fields via the acp.
(2015-08-30, 05:36 PM)Leefish Wrote: [ -> ]You can add profile fields via the acp.

I know that

I dont want to add profile fields

But I want to add areas .


The green colored areas (shown in the attachment)
Then it would be a plugin; alternatively you can repurpose the contact fields (its what I did on damnfineshave). There are only 5 slots though.
(2015-08-30, 06:00 PM)Leefish Wrote: [ -> ]Then it would be a plugin; alternatively you can repurpose the contact fields (its what I did on damnfineshave). There are only 5 slots though.

5 slots are enough

Just tell me how to repurpose the contact fields ?

DO i need to edit a template ?

Please tell me
Yes, you need to edit the usercp_contact_fields templates.
(2015-08-30, 11:05 PM)Leefish Wrote: [ -> ]Yes, you need to edit the usercp_contact_fields templates.

I edited the template But it doesnt seem to be working ?

Please look at the Attachment Picture and tell me how to do it .
Stop pming me on this . All you have to do is edit the templates for each of the contact fields.

member_profile_contact_details - change the {$lang->users_contact_details} to say whatever you want

For EACH CONTACT FIELD: example : member_profile_contact_fields_aim

Turn that into your steamid field. ETC.