Signatures - Min Po...
 
Notifications
Clear all

[Solved] Signatures - Min Post Short code breaks pages

6 Posts
2 Users
1 Reactions
201 Views
Posts: 26
 Trey
Topic starter
(@trey)
Eminent Member
Joined: 10 months ago

Hi, I asked in another thread but thought I would start a new topic on this. For whatever reason, a member's signature doesn't show up until they've posted 5 times, (which is pointless). You have listed a snippet (below), but I, as well as others here, have stated it does not work and ends up breaking the page. I even tried changing the 0 to a 1 with the same effect. Can someone research this and perhaps provide a snippet that works?

add_filter('wpforo_min_rating_level_for_signature', 0);
5 Replies
Sofy
Posts: 5233
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi Trey,

Please provide us with the detailed steps you have followed.

You can either record a video or share some screenshots.

Reply
Posts: 26
 Trey
Topic starter
(@trey)
Eminent Member
Joined: 10 months ago

Here you go. I added & activated the snippet, cleared all wpForo & forum caches and site cache, then refreshed page. As you can see, it smashed the page. I can't scroll or see other comments.

Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 5233

@trey 

We'll check and get back to you soon. 

Reply
Sofy
Posts: 5233
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Try this one: 

add_filter('wpforo_min_rating_level_for_signature', function(){ return 0; });
Reply
1 Reply
 Trey
(@trey)
Joined: 10 months ago

Eminent Member
Posts: 26

@sofy after some initial testing, this snip seems to do the job without breaking anything. If I run into any issues post launch, I'll come back here to follow up. Thank you so much (again).

Reply