Hello.
Im having problems with the vote functionality, the system works and the votes are being processed, but the results are not being shown after page refresh.
This is, if you up/down vote a comment, you will get the counter actualized , but if you leave and reenter the page, the vote count will be the same as before you voted.
This is a cache issue, the vote count will be updated if you deactivate the cache plugin or clean the cache, so i need to know wich files should i whitelist in order to get this propertly working.
Thanks.
Hi Alex,
this may be cache plugin specific issue, because we use cache plugins with wpDiscuz on all our websites and we've never faced with such issue. Please leave your cache plugin name.
Hello, im sorry.
I use WP-Rocket
Thanks.
I'm sorry but we don't support WP-Rocket, this is a paid plugin.
I'd recommend read this support topic and try it:
https://gvectors.com/forum/emoticons/emoticons-not-working-on-our-site/#post-1278
I understand but, i suppose, you guys can tell me wich JS do i need to whitelist, isent it?
I just need the name of the JS involved in the Vote count call.
Asking too much?
As far as I see the problem comes after refresh. it doesn't show current count of vote. The current count exists correctly in database and it's being displayed by PHP. But this cache plugin caches all HTML and doesn't allow wpDiscuz to update HTML with new data. I don't see any JS function here. There should be some solution to initiate WP Rocket "cache update" depending on new votes. And this is a plugin specific solution, we don't familiar with this plugin code, so we can't provide with custom code.
I just need the name of the JS involved in the Vote count call.
JS doesn't make any count, all comes from database with PHP code. You can create AJAX request and update all votes of HTML after refresh, but it doesn't have direct relation to wpDiscuz JS and it'll be much more hard than asking WP Rocket support to help update cache after vote.
Thank you so much, now i can get to WP-Rocket Team with some data. Thank you.