bug related to priv...
 
Notifications
Clear all

bug related to private topics

7 Posts
2 Users
1 Reactions
115 Views
Posts: 15
Topic starter
(@essam)
Eminent Member
Joined: 1 year ago

hello , 

i have specific forum for topics related to reports or text which should be private for the owner.

when a user choose to put his topic "private" , he can read it after published , and title link in forum display will show it for while then if he go another page and come , it will be disappeared from topics list , but he can go to his own topic by direct link in explorer if he has other. 

this issue related to permissions that make only moderators can see all private topics titles on forum display page , but other users should also see thier owned private topics only .

for example :

john wrote private topic in forum :poems 

David also wrote private topic in forum : poems 

 

a moderator can see both of them , this is good and works fine 

john should see his own private topic ony , and davis also should see his own prvate topic only , this is not work properly because both of them can not see thier owned  titile/links topics in the forum : poems , but they can go directly by http address if they save it . 

this iisues appear after publishing topics and browse the forum and come back again to forum :poems for example.

 

i need to fix this because i use specific forums to be private , each user see only his own private topics .

also another issue , counter numbers did not count private topics for forum stats .

 

thank you

6 Replies
Sofy
Posts: 4843
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi,

Probably this is cache related issue? 

If you have some cache plugins installed on your website, please check out this FAQ: https://wpforo.com/community/faq/wpforo-and-cache-plugins/#post-37150

Reply
Posts: 15
Topic starter
(@essam)
Eminent Member
Joined: 1 year ago

hello i have lite speed cache , which i did all configurations early when i use wpforo , 

also i disabled the plugin and test the issue which still there , 

it may be related to wpforo cache itself or , there is something in permissions who are not moderator but can make his thread private or something like that .

 

plz i need this feature to works because my business depend on integrations between pmp pro level access to specific forums , which should be with private topics for each customer :

every permitted user related to permitted group can write private topic , so he can see his only topic and only see his topics title on the forum topics list , not others .

Reply
Posts: 15
Topic starter
(@essam)
Eminent Member
Joined: 1 year ago

after hard tests , this bug related to wpforo cache system , because i disabled all features of litespeed and this issue still there , even i deactivate the plugin 

but 

if i click clean temporary cache links on forum home that supplied by wpforo , the list of topics owned by specific user will be shown to him correctly for 30 seconds or little more , if he refresh all list will be hidden as clean forums , and there is no way to show them again except by using same step by me , or by update any setting related to access settings with update ,

i need to fix this issue 

thank you

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

Support Team
Posts: 4843

@essam 

We'll check and get back to you soon. 

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

Support Team
Posts: 4843

Hi,

Please try this code: 

add_filter( 'wpforo_cache_by_usergroup', '__return_true' );

Insert it in your active theme functions.php file. 

Here is the article on How to Easily Add Custom Code in WordPress (Without Breaking Your Site): https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

 

Reply
(@essam)
Joined: 1 year ago

Eminent Member
Posts: 15

@sofy it is not working , 

issue still there .

 

i did another hard tests and i got this :

1. when i update any  specific forum setting , any usergroup setting , any access setting , it will show the private topics on forum display once for a user , if a user make refresh or go another page then visit the forum he wrote his private topics , topics titles/links will not show for him and this issue continue 

2. if i update wpforo major setting , this is will not work for him at all 

3. this issue only for useres did not belong to admin or moderator user groups .

 

i hope this will help to fix this issue .

another thing , counter /stats of each forum will not count any private tipics , this is also need to be fixed .

thank you 

Reply