Forums

[resolved] New User Registration filter? (3 posts)

  1. Brayne
    Member
    Posted 3 years ago #

    Thanks in advance for any help...

    I'm looking for a "default role" filter(the filter??) for the default user level upon sign up... I'm creating a plugin, where upon new user registration, a user can choose an option at sign up...."Write for category A or category B"

    So their account will reflect "Role A or Role B".
    (I'm blocking categories accordingly)

    I'm using the plugin "Role Manger" for role definitions.... I can't seem to find the Filter to dynamically change this upon sign up. Is there one or should I just use raw programming to make it happen in the dbase??

  2. Brayne
    Member
    Posted 3 years ago #

    So I helped myself.....persistence is a virtue.

    F.Y.I. for anyone looking for something similar.... you can control user data at registration by tapping into the wp_insert_user($userdata) function located in registration.php

  3. Brayne
    Member
    Posted 3 years ago #

    Even More persistence pays off..... Has everything in the world already been done before?

    http://jumping-duck.com/wordpress/

    This plugin allows different roles at point of registration.

Topic Closed

This topic has been closed to new replies.

About this Topic