WordPress.org

Ready to get started?Download WordPress

Forums

Simplr Registration Form Plus+
[Plugin: Simplr User Registration Form] Integration between Simplr Registration Form and Register Pl (18 posts)

  1. abdul_ibad
    Member
    Posted 3 years ago #

    I want to integrate Simplr Registration Form with Register Plus Redux to make powerful registration form.

    This is what I got
    see http://localorganicfoodstore.com/register/

    Source
    http://dl.dropbox.com/u/520662/Reports/simplr_reg_page.txt

  2. mpvanwinkle77
    Member
    Plugin Author

    Posted 3 years ago #

    Looks good. did you modify the source at all. can you indicate where?

    Mike

  3. abdul_ibad
    Member
    Posted 3 years ago #

    Not at all, Only add some filters and actions.
    See my source code, I have post it.

  4. radiok
    Member
    Posted 3 years ago #

    Not to be dense, but reviewing this source code I don't see how this interacts with Register Plus Redux. Can you explain any more? Have you identified any changes I need to make to Redux?

  5. abdul_ibad
    Member
    Posted 3 years ago #

    I added this code before submit button to call register_form action

    ob_start();
    			do_action('register_form');
    			$action = ob_get_contents();
    			ob_end_clean();
    
    			$form .= $action;

    And this code before if(!$message)

    $errors = new WP_Error();
    	$user_name = $_POST['username'];
    	$sanitized_user_login = sanitize_user($user_name, true);
    	$user_email = $_POST['email'];
    
    	do_action( 'register_post', $sanitized_user_login, $user_email, $errors );
    
    	$errors = apply_filters( 'registration_errors', $errors, $sanitized_user_login, $user_email );
    
    	if ( $errors->get_error_code() ){
    		$message = $errors->get_error_message();
    	}

    @radiok: You don't need anything to make redux and no need anything to changes.

  6. mpvanwinkle77
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks, I'll give it look, perhaps make it a permanent part of the plugin. I think it's a good addition because I have not intention of building a UI for adding registration fields and Register Plus simply works on the default registration ... perhaps there some synergy.

  7. abdul_ibad
    Member
    Posted 3 years ago #

    Great, I'm waiting for next release.

  8. nkarafo
    Member
    Posted 3 years ago #

    Hey Abdul, can you please help me?
    Can you please tell me how exactly you made in your wordpress the register form? I want the exact thing and I don't know how to do it! All the other plugins leave you from the main blog and user does not feel familiar. Can you please send me an email to nkarafo@gmail.com or post below? (I use wordpress 3.0.1 and I also tested myself - sorry if you have received my details as a test).

    THANK YOU!!!!

  9. bajan4evr2
    Member
    Posted 3 years ago #

    Does anyone have a url with this feature in action? I'm new to this stuff. I installed the plugin and cant get it to work. Some working code would be helpful. Thanks

  10. mpvanwinkle77
    Member
    Plugin Author

    Posted 3 years ago #

    There are instructions on the settings page for how to use the plugin. If those are not working please post the specific issue you are having. Does anything show up on the page where you put the shortcode? if so what?

  11. bajan4evr2
    Member
    Posted 3 years ago #

    @mpv. Thanks for the prompt reponse. I figured it out! It was like you said: 'simply employ the shortcode on any page'. Thanks again. Now only if i could integrate this into 'pie register' plugin.

  12. abdul_ibad
    Member
    Posted 3 years ago #

    @bajan4evr2

    Replace with my code.

  13. gabaozin
    Member
    Posted 3 years ago #

    Hello everyone,
    I was about to open a new post, but then I thought that maybe posting here would make more sense.

    When I see abdul's page, I only see one registration page/option.
    When I read mpvanwinkle77's post: "Register for Different Roles", I understand that he's looking for more than one register page.

    I find both plugins very good, but couldn't get what I was looking for done, yet.

    I would need AT LEAST to have the option of an individual or a company registering. (php if)

    So after selecting an Additional Field under Register Plus, I would need to have different options. Like I said: Company would bring up Company ID for example, and individual would bring up something else (could be ID, why not).

    I have an example of what I'm trying to achieve:
    http://www.omelhordavida.com.br/fornecedores/login

    After google translate for english (page is in portuguese):
    http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=pt&tl=en&u=http://www.omelhordavida.com.br/fornecedores/login

    I hope you guys will be able to help and I'm sure other people will benefit from it.

    Thanks in advance.

  14. mpvanwinkle77
    Member
    Plugin Author

    Posted 3 years ago #

    Anyone else try Abdul_ibad's solution yet? I should work though I haven't spent much time testing it. I will incorporate this into future versions. I'll add this as a setting also so you'll have to "turn it on" first.

  15. abdul_ibad
    Member
    Posted 3 years ago #

    I think "turn it on" is bad idea.

    this code should add after default register form.
    do_action('register_form');

    like wordpress registration does.

  16. nkarafo
    Member
    Posted 3 years ago #

    Yes, I agree.

  17. mpvanwinkle77
    Member
    Plugin Author

    Posted 3 years ago #

    Care to be more specific about why you don't like the "turn on" option. Here's my thinking. The goal of my plugin is to provide multiple registration forms to accommodate need. If the hook is there without an easy way for the user to turn it on or off, then all their registration forms will output all the fields. What's the harm in letting them turn off extra fields when they want to without having to "remove_hook".

  18. gabaozin
    Member
    Posted 3 years ago #

    Any ideas on how to have more than one register page?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic