Carl
Forum Replies Created
-
Forum: Plugins
In reply to: [HTTP 404 Email Notifier] [Plugin: HTTP 404 Email Notifier] errorI’m glad you’ve managed to solve the issue by yourself.
This plugin is no longer maintained and was therefore removed from the WordPress repository last year. Unfortunately it is still available in the plugin directory and I’ve contacted WordPress in order to resolve this.
Sorry for the inconvenience.
Forum: Plugins
In reply to: [HTTP 404 Email Notifier] [Plugin: HTTP 404 Email Notifier] errorThanks for telling me. The issue has been fixed in version 0.6.
Forum: Plugins
In reply to: change default display-nameIt will work for all existing users provided they log in at least once. Same goes for new users: change goes in effect upon log in.
The profile form will work as before apart from the “Display Name”-setting. The reason being that when a user attempts to select a different Display Name, upon sending the form it will revert to the forced setting.
I’ve already included a CSS-hiding solution in my example so there should be no worries.
However, I’d much prefer a proper removal of the drop-list from the form rather than hiding it with CSS. Any suggestions?
I for one think it’s wise to follow the current norms set by the core developers. Plugins failing to conform to current standards should simply be left behind unless the core itself manages to fix compatibility.
It certainly shouldn’t be a plugin developer’s job to provide compatibility-fixes above the current standard, I think.
In the case of WP Subdomains that plugin hasn’t been updated since before 3.0 and seems abandoned.
Forum: Plugins
In reply to: change default display-nameGreat work joseffb!
But don’t forget that if you run this code in functions.php or within a plugin you’ll probably have to fetch the current_user as an object first.
Also, since the select in the profile form will break by forcing the setting it might be a good idea to hide that option entirely.
Revised example (place the following in functions.php or in a plugin):
//force display-name of users to Firstname Lastname add_action('admin_head','force_pretty_displaynames'); function force_pretty_displaynames() { if (is_admin()) { $current_user = wp_get_current_user(); if ($current_user->display_name != $current_user->first_name." ".$current_user->last_name) update_user_meta($current_user->ID, 'display_name', $current_user->first_name." ".$current_user->last_name); echo '<style type="text/css">form#your-profile label[for="display_name"], form#your-profile select#display_name { display:none;}</style>'; } }
If anyone got a better solution for filtering the profile-form rather than hiding stuff with CSS please contribute!
Forum: Plugins
In reply to: change default display-nameI’m also interested in being able to force new users publicly displayed name into being “Firstname Lastname”.
Forum: Hacks
In reply to: Passing variable into a function that is only "called" by a hook?Exhaustive but doable workarounds. Good ideas!
I’m hoping for something more native and less labor-intensive though.
Great. Thanks Dave!
I’ve done a rollback to 1.16. That “fixed” the issue. Weird.
Forum: Fixing WordPress
In reply to: WP 2.9 image insertion no longer allows url to off site resourceHas this been fixed? I’m still experiencing this issue.