bug related to priv...
 
Notifications
Clear all

bug related to private topics

20 Posts
5 Users
2 Reactions
623 Views
Posts: 24
Topic starter
(@essam)
Eminent Member
Joined: 2 years ago

any update ? 

I need  fixing for this issue plz.

 

I used this code by snippet to make private topic for specific forums

 

add_action('wpforo_editor_topic_submit_before', function( $forum ){
if( in_array( (int) wpfval( $forum, 'forumid' ), [ 19, 22, 24, 23 ], true ) ) echo '<input type="hidden" name="thread[private]" value="1">';
});

 

and it works fine , 

but the issue that I explained until now did not fixed .

any help plz 

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

This is designed to work this way. The working logic in this case won't be changed, as it would affect the website's speed. In other words, if you delete the cache only for the user who created the private topic, there’s no need to clear the entire cache.

Reply
Posts: 24
Topic starter
(@essam)
Eminent Member
Joined: 2 years ago

@sofy even I made it works as it is , there is bug prevent private topic to seen by the own topic user , after he visited it , it will be hide , no one say it even him except who has moderator access .

what benefit for the writer to write topic and make it private then he can not see it in the forum display ?

it should to see his own private topic only . 

so every one has private topic he will see his only private topic and moderators only .

can you help me to fix it or any pro supporters , my working stopped because of this , and plz read the whole topic .

Reply
4 Replies
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10587

Hi @essam,

It seems you've set incorrect permissions to the users. You should provide the following information to allow us check it:

  • Admin user login details
  • The username who cannot see his/her own private topics

You can send the required details using this form: https://gvectors.com/pro-support/

Reply
(@essam)
Joined: 2 years ago

Eminent Member
Posts: 24

@Robert I sent required details , 

I need to fix this issue plz 

Reply
(@leckdo)
Joined: 1 month ago

New Member
Posts: 2

@essam Have you checked if there’s a setting to allow topic authors to see their own private posts?

Reply
(@essam)
Joined: 2 years ago

Eminent Member
Posts: 24

Posted by: @leckdo

@essam Have you checked if there’s a setting to allow topic authors to see their own private posts?

plz read the topic , 

user can see his own topic if he visit it by link, because forum display will hide the topic titles if he go away for anther page .

 

I will expalin it again here :

 

Joh is registered user , go to forum : science forum . , 

then he wrote new topic " day of life" , and he made it private , so no one see it except him and moderators .

after he published the topic , he can read it , but in the forum page " science forum" will not show his title linked to his topic , in topics lists , after he going to another page . 

topic lists only will show without errors if he is moderator . 

but he can go directly to his topic by link url if he save it in his own notes and copy it to explorer url .

can any one fix this 

 

this attachment , 

if he is moderator will see private topics was usual 

but the wonder of this topic will not see his private topics on forum display , as attachment , he will see it once and then if he comeback will see only public topics , his own private topics he can not see them until I go refresh forum setting then he will see it once and then disappear

 

@robert 

 

Reply
Posts: 24
Topic starter
(@essam)
Eminent Member
Joined: 2 years ago

if he is the user that wrote private topic he will see this without his owned private topics

@robert 

Reply
Posts: 24
Topic starter
(@essam)
Eminent Member
Joined: 2 years ago

hello I have sent login information but still I did not get reply I change it now , and this is explained by new installed Wordpress with wpforo , no any other plugins.

 

1.user "demo" wrote topic in the main forum and make it private : 

 

Reply
2 Replies
(@essam)
Joined: 2 years ago

Eminent Member
Posts: 24

2. he is visiting now  main forum page for 1st time after he published his topic and made it private 

the forum page will show his topic link so he can go to his topic 

Reply
(@essam)
Joined: 2 years ago

Eminent Member
Posts: 24

3. but after he refreshes the forum page or go to another page and comes back 

the forum will hide his topic and he will not see it , but he can visit it by direct link if he copy it in his note only 

this is make private topic so difficult to remember and to visit by the user ,

it should to make user see his only own private topic in the forum page topic lists , not others to use the function of private topic without this issue 

I need fixing for this issue 

Reply
Page 2 / 3