MyBB Community Forums
How to add a custom area in the user control panel - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: How to add a custom area in the user control panel (/thread-176928.html)



How to add a custom area in the user control panel - Venusian - 2015-08-30

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


RE: How to add a custom area in the user control panel - Leefish - 2015-08-30

You can add profile fields via the acp.


RE: How to add a custom area in the user control panel - Venusian - 2015-08-30

(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)


RE: How to add a custom area in the user control panel - Leefish - 2015-08-30

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.


RE: How to add a custom area in the user control panel - Venusian - 2015-08-30

(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


RE: How to add a custom area in the user control panel - Leefish - 2015-08-30

Yes, you need to edit the usercp_contact_fields templates.


RE: How to add a custom area in the user control panel - Venusian - 2015-08-31

(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 .


RE: How to add a custom area in the user control panel - Leefish - 2015-08-31

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.