Notifications
Clear all

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

8 Posts
2 Users
0 Reactions
411 Views
Danno61
Posts: 37
Topic starter
(@danno61)
Trusted Member
Joined: 8 months ago

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: 6149
Admin
(@astgh)
Illustrious Member
Joined: 7 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: 8 months ago

Trusted Member
Posts: 37

@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: 7 years ago

Illustrious Member
Posts: 6149

@danno61,

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

Danno61
Posts: 37
Topic starter
(@danno61)
Trusted Member
Joined: 8 months 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: 37
Topic starter
(@danno61)
Trusted Member
Joined: 8 months 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: 7 years ago

Illustrious Member
Posts: 6149
Danno61
Posts: 37
Topic starter
(@danno61)
Trusted Member
Joined: 8 months 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