Posts Tagged ‘more fields’

More Fields 1.4b

Monday, January 25th, 2010

We know we’ve neglected you for a bit, and we’re sorry about that. We’ll try to step it up and do better.

Please try the new version of More Fields (1.4b1) before we submit it to the WordPress Plugin Repository.

Download: More Fields 1.4b1

Please note that support questions should be discussed in the support forum, not in this comment thread.

Changed in this version:

copy wp-admin/js/post.js to wp-content/plugins/more-fields/post.js
wp-content/plugins/more-fields/post.js: Comment out line 234
wp-content/plugins/more-fields/post.js: Comment out line 235
wp-content/plugins/more-fields/post.js: Comment out line 236
wp-content/plugins/more-fields/post.js: Comment out line 237

Update

New version (Beta 2) with more compatibility with legacy branches (2.8).

Download: More Fields 1.4b2

Update 2: Beta 3

Download: More Fields 1.4b3

Implemented $wp_query->add_rule in $more_fields->generate_rewrite_rules:754, so that php calamity is avoided.

More Fields version 1.2

Tuesday, December 23rd, 2008

It has gone a little un-noticed here, but we’ve quietly slipped out More Fields version 1.2, compatible with the new admin revealed in WordPress 2.7.

Whilst the changes in the admin layout (2.7 is different from 2.6 which is different from 2.5), together with the rapid release cycle that WordPress adheres to, have been frustrating, but we are very pleased with the way things now stand, and we intend to keep More Fields current with new releases of WordPress.

The plugin can be downloaded from here.

Enjoy!

And lastly, a bashful call for donations — if you find this plugin useful for your commercial WordPress projects, a donation will ensure future development, essentially buying my time from off other projects. And will keep me plied with delicious beverages.

Locale dependent actions in WordPress

Wednesday, April 2nd, 2008

For some reason or other there are actions in WordPress that have translatable fields in them, so when these actions are used on other languages than English, they change. They are actions involving the $page_hook variable., e.g. admin_head-$page_hook. I ran into this problem when updating More Fields. The problem in the context of plugins is that the language is not loaded when the plugins are loaded, so that the needed translation is not available. To get around this, the actions requiring translation are called at the ‘admin_init’ action instead.

function mf_pre_queue_js () {
    add_action('load-' . sanitize_title(__('Settings')) . '_page_more-fields', 'mf_queue_js');
}
add_action('admin_init', 'mf_pre_queue_js');

I got help with this on the wp-hackers mailng list – a great source for WordPress insights.

>Try adding your actions on the init hook, I think that runs after
>the translatable stuff has been loaded and setup.

Correct.

Everything related to languages should be done at init or later, so that everything is loaded and any plugins that modify the content are loaded.

So, at the init/admin_init hook, we’re safe to assume that the appropriate language has been loaded.

More Fields version 0.6

Monday, March 31st, 2008

I’ve just updated More Fields to version 0.6, compatible with WordPress 2.5.

New features:

  • Compatible with the new admin introduced in WordPress 2.5
  • Set default value in a select list.
  • Enable right hand column boxes in WP 2.5.
  • Option of removing the ‘Related’ links on the right hand side on the Write/Edit page.
  • A new set of actions, enabling users to change the behavior of More Fields. The documentation has been updated to include an example on how to use these actions.

The plugin can be downloaded from wordpress.org.

Any feedback is always greatly appreciated.

We release the ‘More Fields’ Wordpress plugin!

Thursday, January 10th, 2008

Finally, having uhhmm’d and ahhrree’d about implementation, I’ve decided submit the 0.4 beta version of the ‘More Fields’ plugin to the Wordpress Plugins CVS server, else it might never happen.

You can find more information about the plugin here. I’m hoping to update the examples to reflect the current look of the plugin, albeit I’m still hoping for a redesign of the ‘More Fields’ admin for some future version.

You can download the plugin from Wordpress.org.

The plugin is a beta, which means it might be riddled with bugs and oddities that might sink your particular Wordpress ship. It is released under the GPL license.

As always, feedback and comments are always very much appreciated.

I’m quite exited to see this one out the door. There are another two proprietary plugins that we currently run on dagensskiva.com – one that handles the external links associated with posts, and one (sizable) ad-management system. I’m hoping that these will also be released shortly.