#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Empty items in Rece...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Empty items in Recent Posts widget

Page 1 / 2 Next
    Last Post
RSS

cmw14
Posts: 83
 cmw14
Topic starter
December 19, 2020 2:17 pm
(@cmw14)
Trusted Member
Joined: 6 years ago

This is becoming all rather tedious now! So the fix lasted for one day until yet another wpforo update (1.9.3)

So after 1.9.2 the widget worked correctly which is why I thanked you above. Then you release 1.9.3 in response to some other bug and the widget reverts back to not working again!!!! (see attached below)

As I say this is all very tedious. Congrats though, now it hides any sensitive text on the widget from the private forum thread and leaves it all blank. Oh and they all say 51 years ago as before.....

Guess I'll just have to go back to disabling it again!

 notagain.jpg
10 Replies
1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8971
Robert - Twitter
December 19, 2020 3:52 pm
Reply tocmw14cmw14

@cmw14,

Nothing is changed and it works fine. Go to Dashboard > Forums >Dashboard admin page and delete all caches.

Then delete your website cache.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
VereK
Posts: 321
 VereK
December 19, 2020 4:30 pm
(@verek)
Reputable Member
Joined: 4 years ago

Working as expected on 1.9.3 on my boards.

Reply
Robert
Posts: 8971
Robert - Twitter
 Robert
Admin
December 19, 2020 5:19 pm
(@robert)
Support Team
Joined: 6 years ago

@cmw14,

Also, go to Dashboard > Forums > Dashboard and click the [Clean Up] button to remove orphan / damaged topics and posts.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
cmw14
Posts: 83
 cmw14
Topic starter
December 19, 2020 7:41 pm
(@cmw14)
Trusted Member
Joined: 6 years ago

Firstly, apologies for the tone of my first post, reading back it comes across badly, no excuse just frustration blinded common sense and manners.

Secondly, I tried all the cache options suggested and it failed to rectify the reported problem, however here are some observations.

After a few minutes pass and I navigated around a few posts, those private "empty" posts of "51 years" ago vanish from the recent post widget list. All good you and I might think. However, they appeared back later on, then disappear once again. This is most odd and I've no idea what is going on to cause such behaviour. 

If you go to the forum now they're gone but you can bet they'll pop up again later.

Radios-TV.co.uk/community

Reply
cmw14
Posts: 83
 cmw14
Topic starter
December 19, 2020 8:11 pm
(@cmw14)
Trusted Member
Joined: 6 years ago

Thought I would just say 30mins after posting the above, the phantom private forum widget entries are back

Reply
2 Replies
VereK
 VereK
(@verek)
Joined: 4 years ago

Reputable Member
Posts: 321
December 19, 2020 9:56 pm
Reply tocmw14cmw14

@cmw14

I too must retract. Did some tests to see if I could replicate your phantom posts issue. There is definitely something wrong with the logic; I set the widget to show the latest 5 entries, if those 5 entries are from private/restricted topics the widget goes completely blank for those members who do not have viewing privileges. This is of course less than ideal.

My setting in the attached image.   

 recent_posts_widget_settings.PNG
Reply
cmw14 liked
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8971
Robert - Twitter
December 20, 2020 12:47 pm
Reply tocmw14cmw14

@cmw14,

I think you have some abandoned posts in the database. This is your website specific issue and it comes from database tables. There are some incomplete data, some topics and posts which were not deleted completely, which doesn't have connection to users, topics or forums. That's why we cannot find such a problem in our test website.

 

In any case I'd recommend making the following change in the wp-content/plugins/wpforo/wpf-includes/functions-template.php file. Open it and find this line:

if( !WPF()->post->access( $post, WPF()->current_userid ) ) continue;

 

Add the following new line after that line:

if( !wpfval($post, 'topicid') || !wpfval($post, 'url') ) continue;

 

The end result:

if( !WPF()->post->access( $post, WPF()->current_userid ) ) continue;
if( !wpfval($post, 'topicid') || !wpfval($post, 'url') ) continue;

 

Then delete wpForo in Dashboard > Forums > Dashboard admin page and test it.

 

BTW, please don't mix topics opening new issue discussion in the same topic. I've already split this issue from the previous topic. Now you're talking about the notification email. This has not any relation to this topic and this is only related to your email provider. It seems it has some strict spam filter and the emails sent by our server cannot be delivered. This is not related to the wpForo plugin.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
Page 1 / 2 Next
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Forum description

    By Vijiki, 8 hours ago

  • Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    By Noved, 12 hours ago

  • Slight changes to my forum

    By marios, 1 day ago

  • No Wpforo widget

    By Vijiki, 1 day ago

  • Guest to not see recent posts on Recent activity page

    By OMTesla, 2 days ago

  • Prevent access to the url "community"

    By totor, 3 days ago

Topic Tags

  • css50
  • translation49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • forum accesses30
  • spam29
  • phrases28
View all tags (2163)

Recent Posts

  • RE: Dark mode

    Free WP Plugin for Dark Mode toggle switch. I just in...

    By ReddBeard, 5 hours ago

  • Forum description

    I wanna make the forum description to show only when th...

    By Vijiki, 8 hours ago

  • RE: How to schedule a topic?

    When will this be available?It'll be a very good featur...

    By Joselito, 10 hours ago

  • RE: Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    Hi @noved, Please read this instruction:/p>

    By Robert, 11 hours ago

  • RE: Guest to not see recent posts on Recent activity page

    @omtesla, Please take a screenshot of your Usergroups...

    By Robert, 13 hours ago

  • RE: Can I permanently set a single user to have all posts moderated?

    @fawp Realistically that might be what happens at the e...

    By Upstart DM, 15 hours ago

  • RE: No Wpforo widget

    @vijiki, To Remove Share Buttons, go to Dashboard >...

    By Chris, 18 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,771 Topics
49.5 K Posts
9 Online
44.5 K Members

Latest Post: Dark mode Our newest member: rohit730 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation