[Resolved] [Plugin: SoundCloud Is Gold] Cannot save settings on multisite
On a multisite install, settings do not save since message is displayed “do not have permission to save unregistered settings”.
This implies this plugin is not handling settings in the proper way.
I haven’t tested the plugin with multi site install. If you think that the plugin isn’t handling settings properly, please do tell me what would be the proper way.
UPDATE: There’s nothing about multi site on the plugin codex section about options. (As far as I can tell). It’s pretty straight forward. Sorry I can’t help more. Hope you will find a solution.
ps: If you find a solution, please do share it here as it could benefit the rest of the community.
By doing more research, it’s seems like there next to none documentation on multi-sites since they moved WordPress MU to the core of WP 3.0. Most of the issues from plugin and multi-sites is related to plugins creating new tables in the database or files in the plugin folder. “Soundcloud is gold” doesn’t do such things.
If you do find documentation or solutions to your problem I would be more than happy to implement those changes to enabled Multi-sites support. Unfortunately, it’s not on my priority list but it will be added to my to-do list and mentioned on the description that the plugin might not work with “multi-sites” install.
Same here, individual Blog Admins can’t save settings, only Super Admins can. Maybe this is of some help: Write a Plugin for WordPress Multi-Site
Aprt from that, it’s an awesome plugin, very well done!
Thanks for the tip, I’ve look at that page when livingos started the thread. This article is about the need to create a new table in the database for the plugin options. Soundcloud is Gold doesn’t do this and use the add_option build in functionality of WP.
I’m looking into moving to the Settings API as it will soon be the new standard on WP, but it seems to only let super admin save settings too. A bit confusing and there’s always very little documentation about multi-sites.
Anyways, it’s on the list 😉
ps: Thanks for the compliment.
Could you describe how it’s not working?
Is it that when you click on the sidebar menu (Soundcloud is Gold) you get an error message saying you don’t have the privileges or is it when you actually press the “save your settings” button on the option page?
It’s “save your settings” which doesn’t work. As a normal Admin I can view the settings, insert something via the button in the editor. So I guess it has something to do with the plugin trying to write its settings into the wrong database tables. You probably need to get the correct tables for the current blog first before saving in your plugin
It seems that only Super Admin have access or permissions over themes, plugins and options.
Is it the same for other plugins with option pages on your multi-sites install?
Most plugins just work in multisite environments too even if they have an options page. Example: SoundCloud Shortcode has a settings page and the settings can be saved successfully by normal admins. Maybe you can make a quick compare over what’s different between that and your plugin?
Cool, thanks for give me a plugin to look at. I think it’s because I need to move to Setting API which let you register your options. Probably why you get the “do not have permission to save unregistered settings“.
Yes, they’re using register_settings. So as soon as I made the move you will be able use Soundcloud is Gold with muti-sites 🙂
Yes, that was my point. Plugins and theme option pages should use the api – it has been around a while.
Easily the best plugin for soundcloud though so will look forward to the update.
While you are updating the options page – it would also be cool if it could look more like it belonged to WordPress.
This is also something that developers are being encouraged to do. Imaging 20 plugins all with their own uniquely styled options page – yuk! Pretty though yours might be it doesn’t help usability if it doesn’t look like the other pages in WordPress.
Could you tell me if version 2 solved that issues. You might have to deactivate and reactive after update.
Hi realtm, version 2 definetly solved this issue on my side. Many thanks!
- The topic ‘[Resolved] [Plugin: SoundCloud Is Gold] Cannot save settings on multisite’ is closed to new replies.