Notifications
Clear all

[Solved] Members page

14 Posts
2 Users
1 Likes
686 Views
Posts: 18
Customer
Topic starter
(@pierre-chopot)
Member
Joined: 12 months ago

Ok credential sent via PM.

Pierre

1 Reply
Kyle
 Kyle
(@kylew)
Joined: 3 years ago

Prominent Member
Posts: 728

@pierre-chopot,

After testing your website, we found that there are no issues with the addon, the reason that the fields were hidden/not called is that wpForo has a function that doesn't show the fields of those users who don't have any approved post. This is for stopping spam, users to add spam information in their profiles.

If you check my profile in your website, you would see that my profile fields are shown, that's because I have created a topic in your forum.

You can disable that option by using the below code:

add_filter( ‘wpforo_profile_field_displaying_restriction’, ‘__return_false’ );
Posts: 18
Customer
Topic starter
(@pierre-chopot)
Member
Joined: 12 months ago

If I understand correctly, with that filter code, we should see all profiles, even those of people that do not have an approved post ? if that's the case, there is still a problem because that code is already there and we still cannot see profiles of all users, for example "Rania" didn't post anything and her profile shows empty even though we added the code a while back.

Or I am completely misunderstanding 🙁 the code was added to functions.php of the child theme ...

Pierre

1 Reply
Kyle
 Kyle
(@kylew)
Joined: 3 years ago

Prominent Member
Posts: 728

@pierre-chopot,

Check this topic about how to add PHP code in your website: https://woorkup.com/add-php-to-wordpress/

Posts: 18
Customer
Topic starter
(@pierre-chopot)
Member
Joined: 12 months ago

Sorry but I don't think I need to be told how to add a function into functions.php, as I said this code has been added a while back to the child theme functions.php but still, we cannot view profiles of people who didn't post ...

Pierre

2 Replies
Kyle
 Kyle
(@kylew)
Joined: 3 years ago

Prominent Member
Posts: 728

@pierre-chopot,

I have added the code in your active themes function.php file and all worked well.

If you open the functions.php file of your active theme, and scroll to the bottom, you would see the code that I have added.

 

My profile doesn't have any topics/posts, but the fields are visible: https://fameais.ubiquando.fr/participant/gvector/

Customer
(@pierre-chopot)
Joined: 12 months ago

Member
Posts: 18

@kylew 

Thanks ! it seems that we do have 2 child themes (one of them being inactive of course), I don't know why ... and because the 2nd one was the one with "child" in its name we thought it was the only child ... so we added the code at the wrong place ever since we started investigating this problem !

Thanks for your patience !

Pierre

Page 2 / 2
Share:
Scroll to top