AI Assistant
Notifications
Clear all

[Solved] User Fields are not Showing in Member user profile

8 Posts
2 Users
0 Reactions
1,086 Views
Danno61
Posts: 39
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
(@danno61)
Trusted Member
Joined: 2 years ago
[#12479]

I have tried to figure out the issue. all my user profile fields are not showing.

I have used the following code to try to solve the issue, and it is still not working

I added this php snippet using the plugin WPCode and it still does not work. any suggestions. I have the plugin for "User Custom Fields"

Many thanks

add_filter( 'wpforo_profile_field_displaying_restriction', '__return_false' );

7 Replies
Astghik
Posts: 6645
Admin
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
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi,

wpForo has a function that hides a user's profile fields if they haven't made any posts. Please ensure that the user has at least one approved topic or post so that their profile fields will be displayed in the User Profile Tab.

Additionally, make sure to clear all caches.


2 Replies
Danno61
(@danno61)
Joined: 2 years ago

Trusted Member
Posts: 39
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

@astgh Thank you for your response.

1. I had found a possible solution  stated in the OP.

2. i am a little confused on how to clear cache. There seems to be a lot of options. How do I do that properly?

3.I used a plugin staed in OP, is  there a better place to add that code without using a plugin?

Please advise. 

Thank you


Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
Astghik
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

@danno61,

You can add it in the active them functions.php file. 


Danno61
Posts: 39
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
(@danno61)
Trusted Member
Joined: 2 years ago

Thank you for that response. According to the documentation, I should create a child theme for that will not be affected by updates on WpForo.

Can you please explain how that is done?

Can you also tell me where to put that snippet once I am editing that in the functions.php file?

Many thanks


Danno61
Posts: 39
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
(@danno61)
Trusted Member
Joined: 2 years ago

I used the plugin "WP child theme generator." and I know have  a child theme in use. I added the snippet from above in the functions.php file. and "purged all" in Cache. from admin bar in dashboard at top of admin area.

I am still not seeing  user profile fields in user profile fields in the front end.

any options? what do you think?


1 Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
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

@danno61.

The following articles may prove helpful for you:

1. How to add custom code in child theme’s functions.php

2. How To Create A Child Theme In WordPress (With Examples)

3. How to Allow PHP in WordPress Posts and Pages (Easy Tutorial)

 

 


Danno61
Posts: 39
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
(@danno61)
Trusted Member
Joined: 2 years ago

Thank you for all the help. I wish you guys would do a video series on How to's. I just mentioned this in another post. I love the product, though.


Share:
Scroll to top