Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'registration'

Viewing 25 results - 2,451 through 2,475 (of 7,642 total)
  • Author
    Search Results
  • #233890
    5high
    Participant

    Neither of these plugins have been updated in over 2 years (according to w/p plugin directory), and I’m currently testing the BuddyPress Registration Groups plugin, but again it hasn’t been updated in ages, and although it works well, it has some styling issues that aren’t being addressed as yet.

    So… I was looking how to do this myself with the code – the function code you gave above, which php file should I add it into? And does this code mean that all new members would be automatically added to all groups?

    Thanks for your help with this – much appreciated.

    #233834

    In reply to: Fatal error 113

    r-a-y
    Keymaster

    Are you using any plugins that might interfere with the registration process? If so, disable them.

    #233824

    In reply to: Fatal error 113

    r-a-y
    Keymaster

    Thanks for the report.

    Since this bug was happening on v2.1.1, we need some more details to duplicate the problem.

    Are you using any registration plugins? If so, disable them and see if you get the same problem.

    If not, can you let us know exactly what you are doing on the registration form?

    For example:

    * First, I go to example.com/register
    * Next, I type in “newuser” under the “Username” field.
    * …

    Thanks!

    #233823
    @mercime
    Participant

    @lonewolf95665 did you enable registration in Settings > General?

    #233815
    Steve Valencia
    Participant

    I am having a Registration page issue also. In the captioned area on Pages > “Registration” there are two associated drop down menus. They are “Register” and “Activate.” I have attempted to select pages multiple times but wp will not save my selections. Instead it defaults to “-None-”

    I have deactivated all plugins except for bp and bp tool bar. Does anyone know why this would be happening?

    #233691
    Paul Wong-Gibbs
    Keymaster

    Right. To be clear:

    Members registrations need to be active, AND each member must have logged in, before they show up in the Members Directory.

    #233594
    @mercime
    Participant

    @wanderingsoles Just to be clear, you have enabled registration on your site and removed the copy correct? Have you have assigned the Register and Activate pages in Settings > BuddyPress > Pages? Have you tried changing your theme to 2014 or 2015 to check if it’s a theme issue or not?

    PanosL
    Participant

    Hello!

    Here is the information first:

    1. Which version of WordPress are you running?
    WordPress Version 4.1
    2. Did you install WordPress as a directory or subdomain install?
    Installed as a directory
    3. If a directory install, is it in root or in a subdirectory?
    Subdirectory
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    No
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes, its only the member profile pages not working and the registration page
    6. Which version of BP are you running?
    2.1.1
    7. Did you upgraded from a previous version of BP? If so, from which version?
    No, fresh wordpress installation fresh Kleo fresh Buddypress
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Akismet,AskApache Debug Viewer,K Elements, Resize Image After Upload,Revolution Slider,rtMedia for WordPress, BuddyPress and bbPress, bbpress, Taxonomy Metadata, WordPress SEO, WPBakery Visual Composer
    9. Are you using the standard BuddyPress themes or customized themes?
    No i am using Kleo
    10. Have you modified the core files in any way?
    No
    11. Do you have any custom functions in bp-custom.php?
    No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    bbPress 2.5.4
    13. Please provide a list of any errors in your server’s log files.
    its 404 not found
    14. Which company provides your hosting?
    Rackspace
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Apache

    Extra info: I have permalinks set to default. With default permalinks, the posts work but the member profiles give 404. If i change the permalinks to something else the posts don’t work and the member profile pages don’t work either. Also it appears i have no registration page. Its like Buddypress doesn’t recognise any of the paths. I have created Registration and Activation pages and have set them at the settings. I had it working on a previous wordpress installation that was the same, but then after a fresh installation it stopped working.

    #233501
    modemlooper
    Moderator

    WP won’t allow any character. WP uses sanitize_user function to strip out.
    https://codex.wordpress.org/Function_Reference/sanitize_user

    First thing I would do is deactivate all plugins and test WP registration alone to see if its WP issue. If it is then search and post in the wp.org forums.

    Hiren Purohit
    Participant

    I want this things in registration time. It anyone can check radio on registration time, i want to define that time role for both.

    // Use the add_role() method to add the editor role to this user.
    $user->add_role( ‘editor’ );

    For this method, we can assign role to logged in user, i want it to at register time.

    THanks,

    #233089
    Henry Wright
    Moderator

    Hi @nickguidomedia

    My first thought was to get the member count of the relevant group during each user registration.

    That can be done with groups_get_total_member_count( $group_id );.

    You’d need to check this figure is less or equal to 150 and if it isn’t, you’d need to add the user to an over-spill group, creating a new one if necessary.

    As you mentioned users are added to a group automatically during registration.

    The bp_core_signup_user hook fires at the end of the registration process so could hook all your code for the above to that. That hook gives you access to $user_id, $user_login, $user_password, $user_email and $usermeta, so you should be able to get all the info you need from those. For example:

    function my_func( $user_id, $user_login, $user_password, $user_email, $usermeta ) {
        // Write your code here.
    }
    add_action( 'bp_core_signup_user', 'my_func', 10, 5 );

    Hope this helps.

    #233054
    #232962
    chcsuter
    Participant

    Advanced Random Posts Widget
    Akismet
    Duplicator
    If Menu
    WPBakery Visual Composer
    WP Simple Login Registration

    #232911
    mcpeanut
    Participant

    @spiritix usually with any kind of members plugin you can restrict access per user level on a page or post basis and should have the option within that post or page to select what user level has access to it with a custom message and even a link pointing them to upgrading their account.

    what membership plugin are you using? and im sorry im not familiar with restrict content pro or bbpress though as ive not used them, if your users get given the correct roles within wordpress after registration then the problem lies with one of these plugins or some kind of conflict is my guess, maybe try to track it down by deactivating all plugins and reactivating them separately.

    #232909
    spiritix
    Participant

    Hello guys

    What I used is:
    – BuddyPress with combination of either bbP private groups plugin or Members plugin or Restrict Content Pro – bbPress plugin
    – I created extended BuddyPress profile fields in registration
    – I restricted access to the forum with one of above mentioned plugins
    – I used my code mentioned in the beginning

    How it looks like:
    – my code works like a charm! once you choose User1 type in registration, it applies subscriber role, User2 subscriber as well, contributor for User3 – THIS WORKS.
    – what does NOT work is restriction via plugins. Have no clue why. With members plugin od pivate groups, I set Forum1 to be accessable ONLY to User3 type of user, but User1 and User2 can access too! Why?! It has nothing to do with my code, after registration you can clearly check it in WP Users that the role has been assigned.

    If I knew hot to restrict access to the forum based on the WP Role, my code would be sufficient to solve this. Can you help with that part?


    @youmin
    – are upi saying in BB 2.2 access to forum based on the WP role is fixed?

    #232897
    mcpeanut
    Participant

    Hey @youmin and @spiritix i hear you both on this matter, after much testing myself on how to do this i have realized the best way to do this is via a few other plugins.

    firstly i would recommend using a membership plugin and a plugin to create your own registration forms as well as a roles capability management plugin, you can then overide the buddypress registration process (but you will lose the ability of integrating the custom fields you create for the buddypress registration unless you tie them into your own registration forms)
    but the way i got around this myself without the problem of having to tie them with my registration forms was to add a buddypress profile progression plugin so once they have registered they will see a notice in the header showing the percentage of the profile they have completed encouraging them to fill the fields in “you could even integrate it with an awards system the more they fill in” its up to you. (to me this works perfectly fine as i can still add as many buddypress fields as an when i want and have a simple registration process to boot).

    if you mess around with this idea you will see that assigning a user to a specific role does infact work with the right combo of plugins and effort, i know this seems a long haul work around but the way i have set it up works fine for me. i may go into more detail for you guys when i have more time and explain exactly how mine works. plus this way if you do decide to implement some kind of pay per view membership for higher levels in the future your ready to go!

    #232887
    spiritix
    Participant

    Never mind, I think I have it 🙂
    [edited – please use the ‘code’ button to share snippets]

    add_action('bp_core_activated_user', 'bp_custom_registration_role',10 , 3);
    function bp_custom_registration_role($user_id, $key, $user) {
       $userdata = array();
       $userdata['ID'] = $user_id;
       $userdata['role'] = xprofile_get_field_data('Typ konta', $user_id);
       
       if ($userdata['role'] == 'User1') 
          $userdata['role'] = 'subscriber';
       
       if ($userdata['role'] == 'User2') 
          $userdata['role'] = 'subscriber';
       
       if ($userdata['role'] == 'User3') 
          $userdata['role'] = 'contributor';
    
       //only allow if user role is my_role
       if (($userdata['role'] == "subscriber") or ($userdata['role'] == "contributor"))
          wp_update_user($userdata);
       
      }
    #232790

    In reply to: Auto Join Groups

    xektor
    Participant

    Hey,

    thanks for your answer but it dosen’t work. I set checkboxes on the registration page, and based on the selection the new users should automatically join a group.

    For example when a user select Catering he should automatically join the group Catering.

    #232765
    ARCangelGIRL
    Participant

    This line should look like this. [] caused problem user at registration, so I removed it
    $args['headers'] = 'Bcc: <admin@yoursite.com>';

    r-a-y
    Keymaster

    Does the registration page work when you switched your theme? (I’m not concerned about menus as that is independent from this issue.)

    Do you have registration enabled?

    Register and Activation Pages

    #232708
    r-a-y
    Keymaster

    BP 2.2 is introducing a barebones API for member types mostly for developers to get their hands on it. We haven’t done any deep UI integration into the registration or edit profile pages, but 2.3 will make further inroads into this.

    #232706
    youmin
    Participant

    i have a question for r-a-y, is it not possible to make it one time select able (for users), i mean locking down after selecting once or twice.
    but admin can change it on user request ?

    or making it available on registration form only ?

    i also saw the ticket above mentioned but its just hiding the box from user, i dont think its a perfect solution. i will be good to hide after selecting a member type by a user .

    #232698
    eli_damon
    Participant

    Sorry, but I’m pretty inexperienced with this stuff and your suggestion is beyond my current ability. I do see there are some plug-ins that provide randome password generator widgets, but I don’t know how to integrate such a widget into the registration page. If I try to edit the registration page, there is nothing there to insert the widget’s shortcode into. Also, that would require the user to record their password manually. It would be much easier if the password was recorded automatically in an email.

    #232688
    r-a-y
    Keymaster

    Just an idea, but you could probably create a plugin to inject some javascript and add a button called “Generate Password” on the registration page. When clicked, the JS will generate a password and populate the BuddyPress password fields.

    For the JS, you could use something like Chance.js.

    #232650
    ch1n3s3b0y
    Participant

    Would we use something like this to set the user role at registration:

    [edited – please use ‘code’ button when sharing code]

    function my_set_default_member_type( $user_id, $user_login, $user_password, $user_email, $usermeta ) {
        // Set the member's type to student
        bp_set_member_type( $user_id, 'student' );
        $user_id->set_role( 'contributor' );
    }
    add_action( 'bp_core_signup_user', 'my_set_default_member_type', 10, 5 );

    Not sure how we would change the user role when the member type is changed in admin.

Viewing 25 results - 2,451 through 2,475 (of 7,642 total)
Skip to toolbar