Kristina
El Presidente
Just Getting Started
Member Likes (0)
One plugin that I would find most useful would be something to allow the user to create a tag line for the blog at the time of registration. Just as you have password at sign up plugin,, this would be super useful too..

Responses (9)
Erstwhile founder (joined May 2007) Likes (0)
Good idea. Would any one else like to see a plugin for this?
Thanks,
Andrew
Member (joined August 2009) Likes (0)
Andrew with a little guidance I would give it a try.... what is the best and easiest way to learn enough to do that? ( I am a good coder - just not a wp coder,, but I could learn somewhat I suppose )
Keeper of the Dark Chocolate (joined July 2007) Likes (0)
http://mu.wordpress.org/forums/topic/12572 ? You would have to code it to use the tagline though instead of a new and extra field.
Hope this helps,
-drmike
Member (joined August 2009) Likes (0)
drmike,, thanks for the tip.. I will look into this code.. it is most likely usable ... I need to figure out the tagline field :)
Member (joined August 2009) Likes (0)
With mike's suggestion I got about to the 30%...
<?php/*
Plugin Name: Force Tagline
*/
//add the extra fields here
add_action('signup_extra_fields', 'my_extra_field');
//validate the extra field
add_filter('wpmu_validate_user_signup', 'my_validation');
//capture the data and add it to the $meta array. You can use the captured data where ever $meta array is available.
add_filter('add_signup_meta','my_add_signup_meta');
//pass the extra fields as hidden fields to the blog registration form
add_filter('signup_blogform', 'my_extra_fields_pass_through');
function my_extra_field($errors) {
$error = $errors->get_error_message('error-tag');
?>
<label for="password"><?php _e('Your Blog Tagline'); ?>:</label>
<input name="name-of-field" type="text" id="tagline" value="" autocomplete="off" />
<?php
if($error) {
echo '<p class="error">' . $error . '</p>';
}
?>
<?php
}
function my_validation($content) {
$data = $_POST['name-of-field'];
if($data == '' && $_POST['stage'] == 'validate-user-signup') {
$content['errors']->add('error-tag', __('You should enter the this data to signup.'));
}
return $content;
}
function my_signup_meta($meta) {
$data = $_POST['name-of-field'];
$add_meta = array('meta-tag' => $data);
$meta = array_merge($add_meta, $meta);
return $meta;
}
function my_extra_fields_pass_through() {
if (!empty( $_POST['name-of-field'] )){
?>
<input type="hidden" name="name-of-field" value="<?php echo $_POST['name-of-field']; ?>" />
<?php
}
}
This of course places the field on the wrong part of the sign up page process, LOL,, and of course I don't know how to actually insert a tag line for the blog being created.
Anyone? Help? A little code?
Founder & CEO (joined May 2007) Likes (0)
Hi Kristina,
Best of luck with the coding stuff, unfortunately (as I think Andrew's explained over email) we simply can't hold your hand step by step through development... it's a really specialized task and wouldn't exactly be economical as I guess you can imagine.
You're more than welcome to ask for and receive help from the rest of the community, get help and support for our existing plugins / themes etc, and we always welcome feedback and requests, but I figured I should drop in to just make it clear that the service we offer doesn't support what you're after in terms of development support and that you'll be best off contacting someone at:
http://premium.wpmudev.org/wpmu-jobs/
or posting your projects there if you want 1-to-1 support.
So please don't take it personally if we don't reply to the emails / every post along these lines, we need to be as efficient as possible with what we offer to deliver value to every member of WPMU DEV Premium.
Cheers, James
Member (joined August 2009) Likes (0)
No problem James... I posted a project for assistance.
Founder & CEO (joined May 2007) Likes (0)
Thanks for your understanding Kristina, I'll mention it at wpmu.org to see if we can drum up some more help for you.
Keeper of the Dark Chocolate (joined July 2007) Likes (0)
Just adding in the link in case someone searches for this:
http://premium.wpmudev.org/project/set-blog-description-on-blog-creation
edit: I didn't even know this was available. :)
Become a member