Support Forum

Post Ratings Style

MW Michael Walden
Michael Walden
Member

 Hello!

I attempted to change the post ratings style from stars to thumbs up/thumbs down. I was not prompted to confirm the change nor did it save the change in the options panel.

Thank you!

13 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Are changes in the admin panels generally being saved OK? In other words is this specific to the Post Rating option or part of a larger issue?

MW Michael Walden
Michael Walden
Member

I haven’t noticed an issue anywhere else. I had to add some file type extensions to the file uploader plugin and that worked fine. Other than that I haven’t needed to make many option changes recently.

MW Michael Walden
Michael Walden
Member

This is all Greek to me, but it is what came up in the console. I just noticed too that even though the stars are still showing as the rating system on the display, they do not work anymore. Clicking on any star results in nothing as they no longer are a link.

 

Uncaught TypeError: Cannot read property ‘split’ of undefined
at HTMLDocument. (admin.php?page=simple-press%2Fadmin%2Fpanel-options%2Fspa-options.php&tab=display:6895)
at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3)
at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3)
at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3)
at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:9)
at y (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:4)
at XMLHttpRequest.c (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:4)
VM415:1

Uncaught TypeError: Cannot read property ‘style’ of null
at spjToggleLayer (eval at (spa-admin.js?ver=4.9.5:1), :1:1588)
at HTMLInputElement.eval (eval at (spa-admin-events.js?ver=4.9.5:1), :1:139)
at HTMLInputElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3)
at HTMLInputElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3)
spjToggleLayer @ VM415:1
(anonymous) @ VM417:1
dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3
r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3
VM415:1

Uncaught TypeError: Cannot read property ‘style’ of null
at spjToggleLayer (eval at (spa-admin.js?ver=4.9.5:1), :1:1588)
at HTMLInputElement.eval (eval at (sp-subscriptions-admin.js?ver=4.9.5:1), :1:3273)
at HTMLDivElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3)
at HTMLDivElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3)
spjToggleLayer @ VM415:1
(anonymous) @ VM420:1
dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3
r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jquery-ui-cor&load[]=e,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=4.9.5:3

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – that’s all a bit dense isn’t it!

Try this first.

  1. Go to the forum admin > toolbox > housekeeping and click on the two tasks to reset combined CSS/JS caches – one at time.
  2. Clear your browser cache to make sure it is nit holding ion to anything significant.

If that does not make any difference we may need to ask if we can access the SP Admin to take a closer look.

MW Michael Walden
Michael Walden
Member

I was so hopeful, as I had forgotten those options, but no, it didn’t help 🙁

YS Yellow Swordfish
Yellow Swordfish
Member

Shame – but it was worth a try!

Would it be possible to have a forum Admin account so that we can take a look at the generated source and look at the generated urls for the AJAX calls. Is this possible?

If so – could you please create an SP Admin account so that we can log in and see the forum behaviour. Please send a PM to both myself (Yellow Swordfish) and Mr Papa with credentials.

It helps if you can include links to not just your forum but also to this topic so we can get to it quickly to re-read what has been said. A brief reminder of the problem is also very helpful.

MW Michael Walden
Michael Walden
Member

Done. Botched the first message, that’s the kind of day I’m having haha! Second message has all the details

YS Yellow Swordfish
Yellow Swordfish
Member

OK. Thanks. I am seeing an odd error so I will need to confer

MP Mr Papa
Mr Papa
Member

seeing a bunch of errors on every admin page…  most scripts dont seem to like the split command…  only had short time to look, but wp scripts are being concatenated on the admin pages… and there seems a problem there…

could you try adding the following line to your wp-config.php file near the top and the other defines:

define(‘CONCATENATE_SCRIPTS’, false);

then clear your browser cache and try again…

MW Michael Walden
Michael Walden
Member

Followed your instructions to no avail. It did not prompt me to verify that I wanted to make the change, nor did it save the setting.

I’m curious, if I deactivate and then uninstall the post ratings plugin, will it remove the settings and data associated with it completely? If so that may be the easiest thing to do at this point. With the low number of posts currently, I doubt it would be a big deal for users to rate the posts again, and I’m not that concerned if they choose not to.

MW Michael Walden
Michael Walden
Member

Here’s a kicker. I logged out of the site, closed my Chrome browser and opened up Firefox. and changed the post rating plugin option. 

The change worked perfectly.

MP Mr Papa
Mr Papa
Member

closing the browser would fully clear the cache as I had requested…  so it might just be the issue with script concatenation I was seeing on your admin pages…

glad its working…