spencersokol
Forum Replies Created
-
Forum: Plugins
In reply to: Loading jQuery.Dialog via enqueue_script in plugin admin areaLooking at the codex page for wp_enqueue_script shows that it’s called ‘jquery-ui-dialog’. The dialog also depends on the ui core, so you’ll need to include that too.
wp_enqueue_script('jquery'); wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-dialog');
I think there may actually be more to it… there’s probably some default styles to load with wp_enqueue_style.
Forum: Plugins
In reply to: [Plugin: Capability Manager] Cannot Modify Administrator CapabilitiesOK, I figured it out. Other plugins seemed to be having the same issues, but they were all on secondary settings pages that were rarely touched. The issue turned out to be that my theme was using an old method of creating settings pages (pre 2.7 stuff, I think). Once I altered it, it took care of itself.
Forum: Plugins
In reply to: [Plugin: Capability Manager] Cannot Modify Administrator CapabilitiesI have upgraded to the latest version of this plugin, but I’m unfortunately still having the same problem. I can view the capabilities of a subscriber, but I cannot change them. I cannot view the capabilities of an administrator.
The capabilities for the administrator include “s:19:”manage_capabilities”;b:1;”, so it appears that an administrator should have that ability. I double-checked, and the users I’m attempting to make changes with have a user level of 10 with the capabilities of a:1:{s:13:”administrator”;b:1;}.
Is there anything else I can check?
Forum: Plugins
In reply to: [Plugin: Magic Fields] Related Type Cannot be duplicatedAfter deciding to go through the Magic Fields code this morning, I figured this thing out. The problem is Magic Fields can’t handle the use of dashes in your custom image field name. Looking through the [magic-fields\js\custom_fields\image.js code, you’ll see it splits the field id by a dash to remove the first bit.
Anyway, the workaround is to not use dashes in your custom image field name. I assume this will also fix being unable to duplicate fields and groups.
Devs for Magic Fields, please validate the custom field name for dashes or fix the javascript to account for dashes in the custom field name.
Thanks.
Forum: Plugins
In reply to: [Plugin: Capability Manager] Cannot Modify Administrator CapabilitiesIs there some way I can reset the admin capabilities manually to be able to add/modify capabilities? I’ve got no problem with SQL.
Forum: Plugins
In reply to: [Plugin: WordPress Admin Bar] Feature Request: Hide bar for comments popupAwesome, thanks!
Forum: Plugins
In reply to: [Plugin: Capability Manager] Cannot Modify Administrator CapabilitiesYes, I did a reset to WordPress defaults from the plugin’ settings area. I’ve tried doing a reset and then editing admin capabilities. I also tried doing a reset, deactivating Capabilitiy Manager and then reactivating it, hoping it would reset the proper capabilities to be able to edit admin capabilities, but it did not.
Is there some other way to reset to WordPress defaults?
Forum: Plugins
In reply to: [Plugin: Capability Manager] Cannot Modify Administrator CapabilitiesI tried this again, without success. I don’t have any other plugins related to capabilities or roles.
My wp_capabilities meta key is a:1:{s:13:”administrator”;b:1;}. I’m guessing it should be something more than that.
Forum: Fixing WordPress
In reply to: 404 pops after custom form submission by POSTJust ran into this same problem. For the life of me I couldn’t figure out why I could view the page without POST data but with data it bombed the 404.
I’m glad this explanation was here. Thanks.
Forum: Plugins
In reply to: [Plugin: Magic Fields] Related Type Cannot be duplicatedIn, IE when duplicating a group, the group appears to be duplicated, but these errors appear:
Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 646
Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 661
Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 668
Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 675
Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 711
Deprecated: Function set_magic_quotes_runtime() is deprecated in [path]\wp-settings.php on line 18
It’s quite possible they’re not related, but maybe that will help point you in the right direction.
Forum: Plugins
In reply to: [Plugin: Magic Fields] Related Type Cannot be duplicatedI’m having the same problem. Running Firefox 3.5.4 (running update to 3.5.6 now) and Flock 2.5.2 using WordPress 2.9 with WAMPSERVER.
My guess is it’s a javascript error… but I couldn’t say for sure. I’m not a big javascript debugger.
Yes, that should help. I will try that out. Thanks!
Speaking of hitting up the database, in what tables are these ads stored?