Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'registration'

Viewing 25 results - 2,226 through 2,250 (of 7,642 total)
  • Author
    Search Results
  • #241929
    modx
    Participant

    @djsteveb – Hi thanks for the info! So does this mean this has nothing to do with BuddyPress at all?

    Some posts are being posted with a user ID=0, even though registration is disabled already. Below is from the first 5

    log_id log_type log_function log_priority log_date log_date_gmt log_host log_username log_user log_url log_referrer log_data
    1 brute_force Invalid Login Attempt 5 2015-07-16 10:13:39 2015-07-16 10:13:39 23.250.34.71 rogeliomackie 0 a:0:{}
    2 brute_force Invalid Login Attempt 5 2015-07-16 10:16:56 2015-07-16 10:16:56 172.85.106.118 rogeliomackie 0 a:0:{}
    3 brute_force Invalid Login Attempt 5 2015-07-16 10:19:25 2015-07-16 10:19:25 172.85.103.167 rogeliomackie 0 a:0:{}
    4 brute_force Invalid Login Attempt 5 2015-07-16 10:23:32 2015-07-16 10:23:32 45.59.26.85 rogeliomackie 0 a:0:{}
    5 brute_force Invalid Login Attempt 5 2015-07-16 10:24:18 2015-07-16 10:24:18 50.118.159.10 rogeliomackie 0 a:0:{}

    #241899
    sharmavishal
    Participant

    Group organizer plugin maybe?

    Also use anti spam plugin for registration

    Rollercoasterider
    Participant

    Yeah, I am getting practice!

    So other than the folder name, the biggest–and probably more valid–difference is that I turned on registration before installing and activating BuddyPress. I had not done this with my original install that I was using when I started this thread–the install was a few months ago.
    It changed more than a just the working front page and that the activate and register pages were automatically created. In Settings–>BuddyPress–>Settings Group Settings are now available; I had not seen these on any install until now.

    And for anyone thinking they can just uninstall or deactivate BuddyPres and turn on registration and reinstall and activate…nope, I tried that early on in my troubleshooting.

    Rollercoasterider
    Participant

    Okay, I have not really solved the problem, but I’m trying a new install in a folder called ‘community.’ Maybe this will be less confusing for the system than having a folder called ‘members.’

    So far it is working, though I’m just getting started. Before installing and activating BuddyPress I made sure registration is open and I created a page called ‘welcome’ and added my content. I switched the theme to 2013–because the horizontal nav menu feels less confusing to me since that is what I am used to.

    Before installing and activating BuddyPress the ront page shows the welcome page!
    YAY
    After installing, activating and going through the configuration steps for BuddyPress the front page shows the welcome page!
    YAY!

    So perhaps not a resolution to the other address where wordpress is installed in the folder called ‘members,’ but it works so far at this other location.

    That doesn’t mean the issue is due to the folder being named ‘members.’ I did some steps in a better order this time–liek remembering to turn on registrations before installing BuddyPress. So when I went to view the core pages, both activate and register were already created–previously I had to add them myself.

    My next step is to slowly begin adding and activating the other plugins–testing between each.

    I think naming the folder community might be better anyway. I might move my forum to it if I switch to Simple:Press and then my community will truly be there, whereas originally it was only going to be paying members other than front page type access.

    Rollercoasterider
    Participant

    I’ve replied several times and it won;t go through, but a test that jsut said test did, so I’m going to try to break up my reply–that way at least some parts might go through.


    @djsteveb
    ,

    Thanks for responding–you are asking the right questions it seems, because those are all things I’ve had to review.

    I created a new page with the title ‘home’ and then went into settings–> reading and selected ‘home’ to be my static front page–though in menu I call it ‘Welcome’ because I have a main home page for all my sites. I did not create a page called ‘blog’ because my blog is at a separate WP isntall; this install is meant for zippy courses.

    and when you click on members it goes to home?

    No, it does the opposite. When I try and go to the front page which is at dotcom/members, it takes me to the Members page–but does not redirect the actual url to the members page which has /members to that address.

    I followed the config instructions and had forgotten to turn on registration before installing BP, so I did that and then manually created a register and activation page and pointed the register and activation functions to them. I tested them in a browser where I was not logged in and they work.

    #241748
    shanebp
    Moderator
    penfao
    Participant

    Thanks Dan for your answer.
    This plugin will be very usefull for me.
    But what I’m looking for if to use member type on registration page.

    I know how to change member type on backend but I’dl like user to be able to choose their member type on registration page, trough a Xprofile field

    #241704
    rebekahmeuir
    Participant
    #241678
    UgoDimma
    Participant

    @henrywright thanks for the suggestion, but it does not serve well to my expectation. I still have to do the manual work, not just that, that list appears from the most resent registered members.

    To be more specific, this is what I want; a plugin or code that will delete the user after x days of registration without activation. Let say a user registered on today, after two days without activating his/her account, his/her account will be deleted automatically with or without notice. That will reduce the administrative work of activating, deleting, and or resending activation link.

    #241619
    Henry Wright
    Moderator

    These are the steps:

    1. Write a function which adds a user to a group
    2. Hook the function to an appropriate hook which fires on successful registration

    Notes:

    • groups_join_group() is the function you’ll need to use to add new members to a group. It will accept the new user’s ID.
    • Use the strpos() function to check if the university’s domain appears in the user’s email

    Hope this helps!

    #241369

    In reply to: Stopping forum spam?

    Daethian
    Participant

    I have spam plug ins working and that keeps the spam registrations to a minimum. I don’t see blog comment spam either as I have that all turned off. These are forum posts and definitely not blog posts.

    I’ll try Akismet

    #241353

    In reply to: Stopping forum spam?

    shanebp
    Moderator

    You shouldn’t need to disable the activity stream commenting – but try it.

    There are several plugins re bbPress spam, such as:
    https://wordpress.org/plugins/stop-spammer-registrations-plugin/

    #241336

    In reply to: Login

    danbp
    Participant

    Hi,

    did you allowed user registration in WordPress settings ?
    http://www.wpbeginner.com/beginners-guide/how-to-allow-user-registration-on-your-wordpress-site/

    Are Register and Activation page created ?

    Configure BuddyPress

    penfao
    Participant

    Hi Everyone.

    Just wanna know if everyone finally found a solution.
    I still really need to be able to use Member Type as an Xprofile field
    on registration page..

    #241264
    danbp
    Participant

    hi @whiskyharry,
    it’s not a issue, it’s intended so.

    See here:

    Registration

    WordPress registration is explained here.

    #241200
    Gnostic_Thought
    Participant

    I am not sure. I bought a plugin from codecanyon and am trying to alter it to work with buddypress. I think this is the code I will have to alter

    public function __construct() {
    		$this -> admin = WP_Atr_Admin :: get_instance();
    		# registration hooks:
    		add_action( 'login_enqueue_scripts', array( $this, 'initialize_registration' ) );
    		add_action( 'register_form', array( $this, 'add_checkboxes_to_registration' ) );
    		add_filter( 'registration_errors', array( $this, 'validate_registration' ), 10, 3 );
    
    		# mu
    		add_action( 'signup_header', array( $this, 'initialize_registration' ) );
    		add_filter( 'wpmu_validate_user_signup', array( $this, 'mu_validate_registration' ), 10, 3 );
    		add_action( 'signup_extra_fields', array( $this, 'mu_add_checkboxes_to_registration' ) );
    
    		# add button
    		add_filter( 'the_content', array( $this, 'add_button_to_pages' ) );
    		$this -> register_page_status();
    		if( is_multisite() ) {
    			add_filter( 'all_plugins', array( $this, 'hide_plugin_in_mu_sites' ) );
    		}
    	}
    

    I would figure I would prefix bp_ to some of the code here

    # registration hooks:
    add_action( ‘bp_login_enqueue_scripts’, array( $this, ‘initialize_registration’ ) );
    add_action( ‘bp_register_form’, array( $this, ‘add_checkboxes_to_registration’ ) );
    add_filter( ‘bp_registration_errors’, array( $this, ‘validate_registration’ ), 10, 3 );

    but it like there is more to it than that according to your link.

    #241125
    Henry Wright
    Moderator

    You’ll need to be more specific. If you mean which hook fires when the registration page loads, then the answer is there are many. See here and look for the one you need.

    #241118
    danbp
    Participant

    hi @nnc24,

    you have to read and to debug. As first test, activate 2015 theme and deactivate any plugin but BP. Put debug mode on true in wp-config during your test.

    Some related topics:
    https://buddypress.org/support/topic/user-activation-issue/
    https://buddypress.org/support/topic/new-user-registration-problem-invalid-activation-key/

    #241052

    In reply to: PDF Functionality

    mnctigah
    Participant

    Thanks for the answers.

    Taking it a bit further… I played around with the wpDataTables plugin which allows me to enter SQL queries into an interface and display database info into a table with options to export as PDF or CSV. The problem arises if I use BuddyPress XProfile Data plugin. Serialized array and SQL.

    I also looked at Gravity Forms (with the User Registration Add-On). This handshakes with BuddyPress. GravityView, an additional plugin, allows me to access, extract, and display serialized data from the database, and then generate the desired PDF and CSV Membership Directory. A bit clunky, but then as luck would have it, there are conflicts with my theme (TwentyThirteen). When initially visiting the site, a manual refresh of the page needs to be done in order for GravityView’s search page to display correctly. And then the desired output (PDF + CSV) is garbled. TwentyThirteen is the only theme it will do it on. I’ve tried a CSS reset in the core css files to no avail. I’m running a TwentyThirteen child theme with a separate BP stack.

    So this brings me to a PHP solution for which I’m sketchy. I could either do some sort of cron job periodically and unserialize the xprofile data and insert it into a new table. That would let me access it via SQL Query and the original wpDataTables plugin. This would peridocially update any new additions to my BuddyPress Membership into an unserialized table.

    The better solution is to do it all with PHP. I now have the FPDF class up and running. I’m generating sample PDF output. So from my PHP script, I’m “requiring” fpdf.php and also an “include” for another php file to open a connection to MySQL.

    Now I’m to the point where I need info and help as to construct the code and read serialized data into my newly created file to generate the PDF (i.e. “sql2pdf.php).

    Thanks in advance.

    #241027
    dinesh.ravajani07
    Participant

    When i placed your code “var_dump( $matched_url, $home_url );”
    Above the // Nonce check failed line then it gives me below output

    string(59) “http://180.211.110.195:8082:8082/greenbc-new/registrierung/”
    string(39) “http://180.211.110.195:8082/greenbc-new”

    Actually the problem which i am facing with my project is that on Registration Page, if i directly submit the form then it is not displaying any validation error, it is because the
    bp_verify_nonce_request() returns me the false value.

    danbp
    Participant

    hi @maelga,
    You can’t actually automatically associate a user to a category.
    try Restrict Categories, which let you assign categories to each user via backend.

    To associate an xprofile value (or member_type), try this:
    https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887

    #240903
    maelga
    Participant

    I have tested the groups_join_group function and it works now. Thanks @shanebp

    However, the IF loop does not.

    function set_default_group( $user_id ) {
    	$accounttype  = get_user_meta( $user_id, 'I am a', true );
    	if ($accounttype  == 'Student'){
    		groups_join_group( 1, $user_id );
    	}
    	elseif ($accounttype  == 'Teacher'){
    		groups_join_group( 2, $user_id );
    	}
    }
    add_action( 'user_register', 'set_default_group', 10, 1 ); 
    

    I have also tried @imath’s gist… It works well as-is for all new registered members to auto join selected groups.
    But I need new members to join only specific groups based on the ‘I am a’ field (Student/Teacher).
    So unfortunately the gist doesn’t help if I can’t even get my IF loop to work 🙁

    It seems to be an issue with get_user_meta.
    I have tried $accounttype = xprofile_get_field_data( 'I am a', $user_id ); instead of $accounttype = get_user_meta( $user_id, 'I am a', true ); but none of them work.

    My field ‘I am a’ is part of the Primary Field Group (also shown on the registration form) and has only ‘Student’ and ‘Teacher’ as options.

    Any idea what goes wrong?

    #240681

    In reply to: Sign In page issue

    discdemo
    Participant

    thx Shane. Do you happen to know the function or an example of a function which would work for the buddypress sign in and also registration, if you happen to know? again, thx! (not my theme and so far unable to find out from the author.)

    danbp
    Participant
    #240648

    In reply to: Username problems

    billreefer
    Participant

    I think it’s better to give registrants and newbies a break by warning them to not use spaces BEFORE they try first to register instead of frustrating them ‘neener neener’ after they do it wrong (don’t ya think?)

    at wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php

    at line 46 then and 66 I added the following 2 edits in bold

    /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    do_action( ‘template_notices’ ); ?>

    <p><?php _e( ‘Registering for this site is easy. Just fill in the fields below, and we\’ll get a new account set up for you in no time. NO-SPACES-ALLOWED-IN-USER-NAMES. If you have an EXISTING ACCOUNT try logging in with Username (one-word) instead of User Name‘, ‘buddypress’ ); ?></p>

    <?php

    /**
    * Fires before the display of member registration account details fields.
    *
    * @since BuddyPress (1.1.0)
    */
    do_action( ‘bp_before_account_details_fields’ ); ?>

    <div class=”register-section” id=”basic-details-section”>

    <?php /***** Basic Account Details ******/ ?>

    <h4><?php _e( ‘Account Details’, ‘buddypress’ ); ?></h4>

    <label for=”signup_username”><?php _e( ‘Username NO SPACES‘, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
    <?php

    `
    Edit as you wish

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