Notifications
Clear all

wpForo 1.x.x [Closed] Exclude Notification widget, from Cache

3 Posts
2 Users
1 Reactions
1,382 Views
Posts: 1187
Topic starter
(@percysgrowroom)
Noble Member
Joined: 5 years ago

HI. My theme allows me to put a widget in my menu. SO I have luckily been able to put the new widget above the side bars show it first on mobile

The problem is, all pages on my site are cached and optimised other than the forum stuff. Moving this widget outside of the forum pages makes it Display incorrectly. 

You can see it display perfect here: https://percysgrowroom.com/forum/

( unless I add view members information, and then the badges show vertically instead of horizontally)

But on my other pages it displays wrong: https://percysgrowroom.com

Is the a way for me to exclude this particular widget from the cache plug ins?

2 Replies
Posts: 1602
(@anonymous20)
Noble Member
Joined: 9 years ago

@percysgrowroom

 

Athought i have decided to not participate a lot here, i can't resist to help you in this.

There is NO way to do that with wpForo widget when caching is used, UNLESS

 1. A wpForo widget can be used with a shortcode. Then the excellent Ajaxized plugin for widgets can be used and works great. But wpForo widgets, as far as i know, do not support shortcodes.

2. If you use Litespeed cache with a Litespeed server, you can disable caching in widgets per case. But even then Litespeed cache has other problems with wpForo pages.

There is no other way, i'm afraid.

1 Reply
(@percysgrowroom)
Joined: 5 years ago

Noble Member
Posts: 1187

@anonymous20

Thats all good mate. I think I can figure out another way

I have widgets options plug in, so what ill do is make one only viewable on the forum page for logged in users, and one on all pages for logged out users. This will show the login box all over the site, but only show the res o the info on the forum page

That will do 🙂 Thanks for your input as always mate