AI Assistant
Notifications
Clear all

[Solved] How to add fields to the members left panel inside foroums

4 Posts
3 Users
3 Reactions
1,690 Views
Posts: 14
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@raphaelos)
Eminent Member
Joined: 4 years ago
[#24999]

Hi Friends,

We're in the final steps of creating a professional forum.

One of the things we're trying to achieve is the ability to let user see who is interacting with them inside the forum (like job title and company).

We've purchased members profile custom fields, and we're trying to understand how can we add custom fields to the user left box inside the form

You can see an example in the attached picture.

memebr1

3 Replies
Chris
Posts: 3610
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chris)
Famed Member
Joined: 5 years ago

Hi @raphaelos,

If you create a new Tab for the profile page, you can show it under the avatar next to other tabs buttons, but not a text field.

And please not if you have other questions about wpForo addons ask them at gVectors wpForo Addons Forum, we provide here only wpForo main plugin support.


Tutrix
Posts: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 years ago

@raphaelos

you can edit the post.php of the used layout
and add your custom flields with this php code

<?php echo implode( ', ', array_diff((array) wpforo_member($member, 'field_xxxxx'), array(0)) ) ?>

replace the "xxxxx" with the correct field number

Theme Customization

I have inserted all my custom fields under the posts like this

 


1 Reply
(@raphaelos)
Joined: 4 years ago

Eminent Member
Posts: 14
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@tutrix  Thank you so much! 


Share: