Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Widget: Recent Forum Posts wrong link
Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Oct 17, 2020 - 1:14 pm

Hi,

2 days ago the widget "Recent Forum Posts" no longer has correct links to the forum posts. I display 5 forum posts and for each of these forum posts the link is the current page, not the actual forum post link.

So if the widget is on my homepage, anybody clicking on any of the 5 forum post is taken again to the home page where he already was.

I upgraded 2 days ago from SP 6.5 to 6.6.1 and Template and Widget plugin from 2.2.0 to 2.2.1.

I tried resetting my permalinks under both WP and Simple Press. I also tried flushing redis cache and page cache (even though the widget itself is never cached).

Thanks

Avatar
SP Community Support
SP Moderator
sp_UserOfflineSmall Offline
Oct 17, 2020 - 2:48 pm

Hi:

When you hover over the links and look at the link in the browser footer bar, does it show the link pointing to the current page?  Or does it show the proper URL for the link ?

Whenever I hear about items like this it's almost always a caching issue.  Did you clear your caches after the upgrade?

Also, please remember that WP can have multiple caching levels:

- Your host can have a cache that you might or might now have access to

- There can be a page caching plugin

- You might have an object cache as part of the hosts' WP installation

- If you're using a CDN such as CloudFlare it has a cache.

- Your browser has a cache as well.

- If you're using certain themes (especially page builders) they tend to build caches as well though they shouldn't be caching anything from the forum.

So you'll need to make sure all those caches are cleared out.

Thanks.

Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Oct 23, 2020 - 10:38 am

Hi,

Thanks for the answer. I am pretty savvy with caches and indeed agree with you that often caches are the culprit. But not here.

After a few days searching I finally found the "bug" (?).

If in the widget settings I put "all" under "Scope of Link" then I get the bug mentionned above. If however I put "forum" then all works. Previously it was set to "all" and worked perfectly.

Not sure if this is a bug but appears to me to be one 🙂

Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Oct 23, 2020 - 10:49 am

Hi again,

I think I found a related bug.

If under "display order" I have ATFU and Scope of Link "forum" then:

- Clicking on the forum link beings to the topic

- Clicking on the topic link brings to the forum

 

If "display order" is set to AFTU then it works correctly (but this is not what I want)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626