Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Cache issue  

  RSS

pedropamn
(@pedropamn)
New Member
Joined: 2 years ago
Posts: 3
21/01/2019 7:27 pm  

Hi

I’ve noticed that when an user change your profile photo (not via gravatar, but via WP User Avatar Plugin) or change your name display (Via WordPress config, for example, John Doe to Doe John), it not update in comments. To update, is necessary clear browser cache or run incognito window…

How to prevent cache for comments?


Quote
Topic Tags
Astghik
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4481
22/01/2019 1:36 pm  

Hi @pedropamn,

as we mentioned here we are going to add a new option for this purpose. However, as you need it asap please follow these steps:

1. In  /wp-content/plugins/wpdiscuz directory replace the  class.WpdiscuzCore.php file with the file I've provided below.

2. The same with the class.WpdiscuzWalker.php file in /wp-content/plugins/wpdiscuz/templates/comment directory. 

The new files can be found in this folder:


ReplyQuote
pedropamn
(@pedropamn)
New Member
Joined: 2 years ago
Posts: 3
23/01/2019 9:19 pm  

Thank you, works fine!

A question: If i update the plugin, it will overwrite this changes?


ReplyQuote
stefanse
(@stefanse)
New Member
Joined: 2 years ago
Posts: 1
24/01/2019 4:07 am  

Hello,

Great plugin! Exactly what I was looking for for comments, plus a lot more, all for free.

I was also having an issue with caching. I was getting "500 error"s when I tried to update posts. I ran a plugin conflict test and found out that it was caused by WpDiscuz. I use the Varnish cache provided by my host, Dreamhost, and can check for caching errors using a plugin called Proxy Cache Purge.

I tried the solution in your post above and it worked! I have the same question as Pedro: will these changes be preserved when I update the plugin?

Thanks!


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4481
24/01/2019 12:06 pm  

@pedropamn@stefanse,

The changes won't be lost, as we've already included it in the next version release. 

 


ReplyQuote
Share:
Scroll to top