Marcus Downing
Forum Replies Created
-
Forum: Plugins
In reply to: [Active Directory Integration] Feature Automatic Login / Single sign-on addedIs there a version of this diff that corresponds to the latest version (currently 1.1.8)?
Forum: Plugins
In reply to: [Active Directory Integration] Feature Automatic Login / Single sign-on addedWe’d be very interested in using this if we could.
Would it be possible for this to be a separate plugin, enabled alongside the Active Directory Integration plugin? Or does it need to access internals of the plugin to do its job?
If it does need to be an integral part of this plugin, has the author given any indication that he’d be willing to merge your changes in?
Forum: Plugins
In reply to: [Active Directory Integration] Add actions/filters to custom importActually, it may be possible to do everything we need just with the settings you’ve provided.
In general, I still approve of WordPress plugins exposing carefully-chosen hooks to each other.
Forum: Plugins
In reply to: [Plugin Security Scanner] Feature request: Email optionIt would also be nice to have the option to *not* send emails.
Forum: Plugins
In reply to: [Plugin Security Scanner] Safe way of exposing this information to NagiosI forked it: https://gist.github.com/marcusatbang/30f1fbb6272e1dc839f0
I attached the daily email to the action hook
plugin_security_scanner_vulnerabilities, so it should be easy for other plugins to disable that action and insert their own. The second parameter,$schedule, lets you know whether it was called by a daily scan or by clicking on the options page.I also took the liberty of adding i18n throughout.
Thoughts? Revisions? Hate mail?
Forum: Plugins
In reply to: [Plugin Security Scanner] Safe way of exposing this information to NagiosI think this can most safely be achieved by exposing the information as a WordPress action hook.
First, it needs to decouple the version check from
plugin_security_scanner_do_this_dailyandplugin_security_scanner_options, into a function called something likeplugin_security_scanner_get_vulnerabilitiesthat returns an array of plugins and their vulnerabilities.Then inside
plugin_security_scanner_do_this_daily, call an action:
do_action('plugin_security_scanner_vulnerabilities', $vulnerabilities);
This would allow other plugins to hook into this action and put the information wherever they see fit. In my case, I’d write it to a file that could be picked up in a task run by the local Nagios agent.
Would you object if I were to fork the plugin, make the necessary changes and send you a pull request?
Forum: Plugins
In reply to: [Plugin Security Scanner] Safe way of exposing this information to Nagios…and presumably any similar monitoring tool. There’s no reason to restrict the functionality to just Nagios.
Forum: Plugins
In reply to: [WP Activity Log] Action after database saveCool. Drop me a line if you need a beta-tester. A lot of our clients are interested in security audit and related areas, so we have an interest in having a good to available for WordPress.
Forum: Reviews
In reply to: [WP Document Revisions] Plays well with othersIt was custom development for a specific client, not something published to the Codex.
Forum: Plugins
In reply to: [Rich Text Excerpts] CSS to remove spaceCorrection to stop it interfering with the meta box’ title:
#poststuff #richtext_excerpt_editor_metabox div.inside { padding: 0; margin-top: 0px; } #poststuff #richtext_excerpt_editor_metabox .wp-editor-tabs { margin-top: -34px; margin-right: 36px; } #wp-excerpt-editor-container { border-width: 1px 0 0 0; }Forum: Plugins
In reply to: [Excerpt Tools] Announcement: taken over developmentThen I suggest going back to version 0.4 of the plugin:
http://downloads.wordpress.org/plugin/excerpt-tools.0.4.zipActually, I suggest upgrading PHP. It’s not a good idea to keep using a version that came out in 2008. But I realise that sometimes people don’t have a choice – maybe their hosting company gives them a specific version, or the OS they’re using is hard to upgrade.
Forum: Plugins
In reply to: [Third Column] Doesn't seem to work for me.Do you see any JavaScript or server errors when you try to move a metabox into the third column?
Forum: Plugins
In reply to: [MU Central Taxonomies] Any drawbacks with this approach?Can you be more clear about what went wrong with your menus?
When the plugin is switched on or off, the taxonomy term IDs will suddenly have a different meaning. I recommend turning this plugin on when you first design the site and never turning it off; it’s not something you can as easily turn on for a site that already has lots of content.
I should probably add a note to the front page of this plugin warning people of that.
Forum: Plugins
In reply to: [MU Central Taxonomies] Options/Flexibility RequestI appreciate the value of these, but they’re much harder to implement.
The current plugin uses a very simple trick to replace the name of the database table with the one from the main site. Doing this for only some taxonomies would be unreliable, not just for WordPress itself but for the hundred and one plugins that access those tables directly (at least one of which I’ve written…). These plugins don’t announce which taxonomy they plan to use, they just grab the table name straight from $wpdb.
Another complication is that the taxonomy IDs differ from the main and child sites. Allowing a mixture of IDs from both tables would inevitably cause clashes and confusion.
So to implement for only some taxonomies it would have to be implemented in a completely different way: it would have to copy the data from the taxonomy on the main site into each of the child sites, and keep that data synchronised. If people on child sites were editing the data, it would have to synchronise it back and forth. That’s a much, much more complicated plugin. Somebody may one day write it – that somebody might even be me – but it’s not a natural upgrade for this plugin.
Forum: Plugins
In reply to: [Excerpt Tools] Announcement: taken over developmentCan you tell me what specifically the error is? I’ll gladly fix it if I can find it. Depending on your server’s OS, software and setup, you should be able to find it in your web server logs somewhere.
The latest version of the plugin (released just a few days ago) uses PHP namespaces, which requires PHP 5.3 or above. That version was released in 2009, so it should be safe to take for granted now, but there may be a few holdouts stuck on older versions.