The Worst Developer in the World Bar None
Forum Replies Created
-
Forum: Plugins
In reply to: [Dashboard Site Notes] Feature Request – email notification to userI won’t add it directly, but it will be possible to write it yourself using hooks in the next version (hopefully to be released in January, or at the very least I should have a development version online by then you can try out).
I can’t remember if the current version allows you to add notes to the contextual help tab, but I think the latest development version supports adding notes there, which could help you reduce clutter.
Forum: Plugins
In reply to: [Dashboard Site Notes] Not compatible with Capability ManagerPlease post the text of the errors and I’ll look into it.
In fact, you can replace that line I mentioned with:
var str = <?php echo json_encode(get_option('AAPL_loading_code')); ?>;
and simplify it even more. No need to try to escape the string yourself, you’ll just drive yourself mad that way ??
Thanks for the comments! I’ve thought about it, and it may happen at some point, but it’s pretty low priority for now.
Don’t hold your breath, but I’ll probably look into it eventually and bump this thread once it’s solved.
From searching, I see a lot of problems like that with ClickBump. Since it seems to be a pay plugin, I can’t take a quick look at it and say why it’s doing that.
Not a solution, more like sweeping it under the rug:
If it’s actually preventing the notes from being created, you could try disabling printing of warnings in your PHP settings and see if that helps. It would at least take care of the third warning listed which could be all that is preventing it from working. It’s best not to display warnings on your live website anyway (although just ignoring them like this is not a great idea either).The problem with checking admin by default is that if you’re not aware those options exist, you may create notes and assume they’re showing up for everyone when in reality they’d just be showing up for the admins.
However, I will probably add a note or some clarification to the add/edit note pages specifically pointing that out, since I know it’s a bit confusing at first. Since this plugin (originally, anyway) was targeted at site developers, I haven’t really put much focus on ease of use.
The style you would need to change is “.updated.dsn .note .title”
The “correct” way of adding admin styles would be adding this to your functions.php (untested but should put you on the right track):
wp_enqueue_style( 'my_admin_css', get_template_directory_uri() . '/css/admin.css' );
and then create css/admin.css in your theme.You could add it to the css in the plugin itself, but then it’ll just get removed whenever it gets udpated.
Forum: Plugins
In reply to: [Dashboard Site Notes] Advanced Access Manager and Dashboard Site NotesThanks for the report, I’ll look into that.
In the current version, no, but I’ve got experimental support for it in a dev version by choosing custom url parameters to display the note on.
I can’t say when it will be available, though. Once it’s at least stable enough not to outright break things, I’ll put it in svn so people who want to test it out can grab it.
Forum: Plugins
In reply to: [WP i18n] WP i18n works (mostly) with WP 3.4.1, but waiting for bugfixes!I’m glad it (mostly) works for you. I obviously haven’t updated it (or any of my other plugins) lately since I’ve been keeping way too busy with other things, but once I find some time I’ll look into those problems.
Nevermind, I was wrong about how simple it would be. I’m fixing this for a client, so I’ll try to provide a patch at some point.
It’s understandable that it was done this way because of how annoying it was to conditionally enqueue on the existence of shortcode prior to 3.3. In 3.3, however, you can do use wp_enqueue_script in a shortcode.
Sorry for not providing a patch, but I fixed it by just moving all of the non-admin enqueues over to wpss_getQuiz. So, unless I’m missing something, it should now be trivial to wrap the existing enqueues with something like this:
if ( version_compare( get_bloginfo('version'), '3.3.0', '<' ) ) {
// enqueue code that's already there
}
and then copy over the enqueues to the shortcode function with the opposite version compare wrapped around it.Fixed in the latest version.