Not in love with the ?s2-ssl=yes convention
Posted: April 1st, 2011, 3:35 am
The new ?s2-ssl=yes query string seems a bit untidy to me. Call me old skewl, but I'm pretty hot on using the simplest URLs possible so that permalinks may remain PERMAlinks wherever possible: http://www.w3.org/Provider/Style/URI.html
Additionally, this new suffix may break certain plugins which rely on get_permalink() (or similar) calls to determine the proper referrer for form submissions.
One example of this is Jeff Farthing's "Theme My Profile" plugin, an alternative to the [s2Member-Profile /] method of themed profile modification:
http://wordpress.org/extend/plugins/theme-my-profile/
While not perfect, I like the "Theme My Profile" plugin because it provides access to custom profile fields in a more WordPress-y way. This seems more hookable/filterable/community-supportable than the s2member-specific "Custom Registration Fields" administration (which is a great feature for non-developers, kudos!).
For instance, using "Theme My Profile," I can control users' ability to update website, AIM, jabber and even custom usermeta items via WP's user_contactmethods filter. Here's a practical example which may be used within a plugin or a theme's functions.php:
Additionally, this new suffix may break certain plugins which rely on get_permalink() (or similar) calls to determine the proper referrer for form submissions.
One example of this is Jeff Farthing's "Theme My Profile" plugin, an alternative to the [s2Member-Profile /] method of themed profile modification:
http://wordpress.org/extend/plugins/theme-my-profile/
While not perfect, I like the "Theme My Profile" plugin because it provides access to custom profile fields in a more WordPress-y way. This seems more hookable/filterable/community-supportable than the s2member-specific "Custom Registration Fields" administration (which is a great feature for non-developers, kudos!).
For instance, using "Theme My Profile," I can control users' ability to update website, AIM, jabber and even custom usermeta items via WP's user_contactmethods filter. Here's a practical example which may be used within a plugin or a theme's functions.php:
- Code: Select all
function my_custom_contact_methods($content) {
unset($content['aim']);
unset($content['yim']);
unset($content['jabber']);
$content['facebook'] = __('Facebook');
$content['twitter'] = __('Twitter');
$content['linkedin'] = __('LinkedIn');
// only exposed to admins
if ( current_user_can('add_users') ) {
$content['affiliate_id'] = __('Affiliate ID');
}
return $content;
}
add_filter('user_contactmethods','my_custom_contact_methods', 10, 1);