Plugin Contributor
dudo
(@dudo)
Hello, hard to say without link, but this usually happens because a conflict whit caching plugin.
You don’t need to use browser private mode, just try to use another browser with clean cache.
What caching plugin are you using?
Can you please provide a link to the site?
Best,
Dario
In normal mode, everything works. My employers have checked my work, and they also want everything to work in private mode. Because It was necessary to do it urgently, as a temporary measure, I had to make changes to your js-file, so now when you go to the site everything will work in private browser mode.
Here is a link to the page where your plugin is used:
https://datingsite-rate.com/quiz/
Try the plugin on a test project in private mode. I think the error will be found. As I said above, in the conditions there is a check for the readonly property which == true in private mode and in normal mode == false.
Below I took a screenshot of the source code and highlighted 2 places in the code that I mentioned above.
http://joxi.ru/nAyEGPBfkP5wjA
-
This reply was modified 1 year, 5 months ago by shiva2019.
Plugin Contributor
dudo
(@dudo)
I want to be extra sure: when you’re in normal mode, are you logged in or out? And, more important,
In Yet Another Stars Rating -> Settings, at the question “Who is allowed to vote?” is it checked “Allow everybody (logged in and anonymous)” ?
Try the plugin on a test project in private mode
Yes, I do this dozen of times at day, and just tried this again, and not able to reproduce the issue
The plugin works for both logged in and non logged in users.
Now I have returned the original plugin file to the site.
In anonymous mode(private mode) on chrome browser I checked the code again. He does not work.
In the browser, in the sources in yasr-globals.js, you can see what value comes into the m variable and that the comparison fails and got to “return”
Allow everybody (logged in and anonymous) is checked.
Plugin Contributor
dudo
(@dudo)
That file (yasr-global.js) is just a compiled static file of the two files (yasrWindowFunctions.js and raterJS), a library that I have been using for years now. The part of the code you edited is from the latter (should be line 153 and 157).
yasr-globals.js is not generated dynamically; it must always be served as the same file, both in private or normal windows. If you see a different version of the file, it could be something else (usually a caching plugin or the browser cache).
If you can’t keep the original file in production, it would be great if you could create a staging environment so that I can run some tests.
Now the site contains the source file of the plugin.
There is no other version on the site.
I’m clearing the cache now. Perhaps because of him it was not possible for you to find an error. Please check again.
I make a video by this problem. Sorry for my not good english.
https://drive.google.com/file/d/1x1q2HvNn5_JwLe7pgGs9NSolh21F_V-v/view?usp=sharing
ps. I pressed ctrl+f5 for refresh if problem not appears.
-
This reply was modified 1 year, 5 months ago by shiva2019.
Plugin Contributor
dudo
(@dudo)
Sorry, I will back to work tomorrow.
Plugin Contributor
dudo
(@dudo)
Hi again, I’m back at work today, due to a little health issue.
Did you restored your edited file? Because everything is working fine in my end
I restored the original version of the file a few days ago. And he made a video where on this version he showed how everything works.
Plugin Contributor
dudo
(@dudo)
Yes, I’ve saw the video couple of times, but still not able to replicate the issue in any environment.
-
This reply was modified 1 year, 5 months ago by dudo.
Plugin Contributor
dudo
(@dudo)
Can you please write me at free_support AT yetanotherstarsrating DOT com ?
I wrote a message to email.
-
This reply was modified 1 year, 4 months ago by shiva2019.