Stephen S
Forum Replies Created
-
Forum: Plugins
In reply to: [Better Admin Help Tabs] Same Tab two pagesCurrently, you would have to create one entry for each page, but this is a good idea for an enhancement, I will look into it.
Same thing with defaults, there is no way to suppress them, but I will look into adding that as a feature.
Thanks for the feedback.
So there is no workaround to get the original width directly from the db? I need to downgrade to 1.9.1?
Well, that is somewhat of a help, thanks, except that the data (no matter how many times I re-save it) seemed to be serialized incorrectly. When I try the following:
while($row = $rs->fetch_assoc()){ $variables = unserialize(base64_decode($row["meta_data"])); $wid = $variables["width"]; echo $wid; }It will not return width values, AND it gives me a PHP notice about an Error at offset 0, which usually indicates badly serialized data.
Any ideas?
I found the incompatibility, hopefully this will help others in the future. I am using Slim Jetpack (with sharedaddy enabled only) and it is the cause. When I deactivate that plugin, the Akismet settings pages will show.
I am having the exact same problem. Just activated Akismet and settings page is blank. No other errors. Turned on both php and wp_debug which were not much help (only two warnings none of them related or fatal). Any ideas?
Forum: Plugins
In reply to: [WordPress Hook Sniffer] Causing Fatal ErrorSame thing happened to me!
Forum: Plugins
In reply to: [Better Admin Pointers] How many times does the pointer appear?FYI, new version I just released allows you to reset all pointers for all users at once.
Forum: Plugins
In reply to: [Better Admin Pointers] How many times does the pointer appear?You may not realize this btw, but you can already reset any pointer globally just by changing its unique id and re-saving it. Since there will no longer be a reference in the db to the id, it will show up again on those screens for everyone. 🙂
Forum: Plugins
In reply to: [Better Admin Pointers] How many times does the pointer appear?Good idea, I was thinking about that myself, but trying to decide if it makes sense to allow it to be reset globally (for everyone) or per user. I will think about it and add it to my feature requests list.
Forum: Plugins
In reply to: [Better Admin Pointers] How many times does the pointer appear?Thanks! The pointers are per user, and each time they hit the dismiss link, that pointer should be gone for the user for good. (Unless someone deletes the “dismissed_wp_pointers” meta field in the db, in which case they will come back again until dismissed once again).
I say SHOULD, because I just discovered a small bug in the underlying code that I integrated into my plugin that will sometimes affect this dismissal if there is more than one pointer on a particular page. In those rare cases, the pointer dismissal might be out of order. I am looking into a fix for this and hope to have one shortly.
Forum: Plugins
In reply to: [Better Admin Pointers] Network capability exists?btw, I have added options page to restrict permissions and just uploaded a new version. 🙂
Forum: Plugins
In reply to: [Better Admin Pointers] Network capability exists?Hi, I don’t have a multi site install setup, would you mind testing on yours and telling me if the plugin stores data separately per site? I believe (from my limited reading) that it should do so automatically. Let me know if this is not the case (and specifically what you found to be issues in multi site) and I will try to look into it in the coming days. Thanks.
Forum: Plugins
In reply to: [Better Admin Pointers] Network capability exists?You are welcome, thanks for the thanks. 🙂
I have not tested it or tried it out on multi-site, but I will put that and your permissions options (1 and 3 above) on my requested features list.
Not sure at all about number 2, but as long as the pages/screens are unique, it should only show on those that are defined. I will look into it…
Forum: Reviews
In reply to: [Better Admin Pointers] NiceThanks! I found only two others that deal with pointers, and both had serious limitations for me. One of them allowed you to create pointers with a nice interface, but there was no way to actually edit them. The other was $15, and only worked on the built in post type. For these reasons (and for the challenge :)) I built my own. Thanks again for your comment, I hope you like the plugin.
Forum: Plugins
In reply to: [Frontend Uploader] Help? "Author" not being saved?I’m sure there is another way to fix this, but I did it this way:
$currentuserid= get_current_user_id(); // Construct post array; $post_array = array( 'post_type' => isset( $_POST['post_type'] ) && in_array( $_POST['post_type'], $this->settings['enabled_post_types'] ) ? $_POST['post_type'] : 'post', 'post_title' => isset( $_POST['caption'] ) ? sanitize_text_field( $_POST['caption'] ) : sanitize_text_field( $_POST['post_title'] ), 'post_content' => wp_filter_post_kses( $_POST['post_content'] ), 'post_status' => $this->_is_public() ? 'publish' : 'private', 'post_category' => $category, 'post_author' => $currentuserid, ); $author = isset( $_POST['post_author'] ) ? sanitize_text_field( $_POST['post_author'] ) : ''; $users = get_users( array( 'search' => $author, 'fields' => 'ID' ) ); if ( isset( $users[0] ) ) { //$post_array['post_author'] = (int) $users[0]; }(that is, got the current user id, added it to the post array, and commented out getting the first user, which I have no idea why it was there, but it works )