Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'activation email'

Viewing 25 results - 1,776 through 1,800 (of 1,893 total)
  • Author
    Search Results
  • #54515
    copgarden
    Participant

    I am also having problems with Welcome Pack. BP1.1 & BP1.1.1 same problem, WPMU2.8.4a. Fatal error on activation of the plugin, though it mostly works here’s what I get:

    Register a user as admin in dashboard, select “skip confirmation”. Sends out confirmation anyhow, and email dies at activation link. I do get all other welcome pack emails except:

    If sent from main WPMU blog don’t get the email that states username & pw

    If sent from sub blog do get the email that states username & pw

    Both tests have the same confirmation email that shouldn’t be sent that dies at activation link.

    #54420
    Paul Wong-Gibbs
    Keymaster
    #54417
    Paul Wong-Gibbs
    Keymaster

    THis is a WPMU thing. I believe this behaviour has changed in BP 1.1.1. I strongly suggest you upgrade your install regardless.

    #54405
    Mythailife
    Participant

    I’ve searched over there already. Can’t find anything that can be used to disable that email activation.

    #7061
    Mythailife
    Participant

    When people register it forces them to click on the activation link in their email. How do I turn that off?

    #6659
    madloki
    Participant

    Hello djpaul :p

    With your plugin users can not activate her account:

    >Die Nachricht konnte nicht versandt werde. Versuch es später noch einmal.<

    Copy per hand > same bug.

    Deactivate plugin and everything is ok, activation works without welcome 1.3. But not good: the username+email ist reserved for a few days (deleted in admin!).

    WP 2.8.4a and BP1.1alpha

    Any idea?

    Kind regards

    Markus

    #52729
    Andy Peatling
    Keymaster

    Yes in wp_signups table you will find a key. Then go to:

    http://mydomain.com/activate?key=THEKEY

    #52730
    Andy Peatling
    Keymaster

    Yes in wp_signups table you will find a key. Then go to:

    http://mydomain.com/activate?key=THEKEY

    #6621
    darrent71
    Participant

    One of my new users lost their activation email, is there anyway I can manually through phpmyadmin activate them? Does doing this also add them to the users table?

    #6458
    peterverkooijen
    Participant

    I get these error messages with my mailing list integration code?

    [04-Sep-2009 10:12:57] PHP Warning: join() [function.join]: Invalid arguments passed in /serverpath/wp-content/mu-plugins/bp-custom.php on line 363

    [04-Sep-2009 10:14:44] WordPress database error Duplicate entry ‘781’ for key 1 for query INSERT mailusers SET users_id=’781′, group_id=’1′, signup_date= UNIX_TIMESTAMP(), firstname= ‘Test’, lastname= ‘User’, email_address = ‘peter@emailaddress.net’ made by require, require_once, do_action, call_user_func_array, bp_core_do_catch_uri, load_template, require_once, custom_do_activation, wpmu_activate_signup, do_action, call_user_func_array, synchro_wp_usermeta

    The problem is that I tried to use the same ID from WPMU/BP in my mailing list, but my mailing list already has many more users on it.

    Is there a way to reset the members ID from now on to a higher value? Specifically, my latest member ID is 780, how can I make the next one to be 3000?

    What would happen if I sign up a test user and manually change his ID in the database to 3000? Would the next one take 3001? Or would I mess up the entire system?

    Or is there a cleaner, official way to do this?

    #6443
    mymorningstory
    Participant

    2 people I personally know, tried signing up to my website, and have still not received *activation emails* Both members use *AOL*

    It seems people that use other email addresses, were able to sign up fine; But both AOL members haven’t received the confirmation

    One person has tried signing up on my website a few times now. Does anyone know what is causing this? Or how to fix it?

    #51940
    cpkid2
    Participant

    actually the log out problem is gone now. the only problem i have is that users don’t get the registration/activation email. here are the answers.

    1. Which version of WPMU are you running?2.8.4

    2. Did you install WPMU as a directory or subdomain install? directory

    3. If a directory install, is it in root or in a subdirectory? root

    4. Did you upgraded from a previous version of WPMU? If so, from which version? no

    5. Was WPMU functioning properly before installing/upgrading BuddyPress? don’t know, i installed both one right after another

    6. Which version of BuddyPress (BP) are you running? 1.0.3

    7. Did you upgraded from a previous version of BP? If so, from which version? no

    8. Do you have any plugins other than BuddyPress installed and activated?

    -ajaxed wordpress

    -akismet

    – all in one seo pack

    – contact form 7

    – events calendar

    – google xml sitemaps

    – login with ajax

    – more privacy options

    – page links to

    – register plus

    -remove buddypress admin bar

    – sociable

    -tweetmeme button

    – wordpress database backup

    -wp postratings

    9. Are you using the standard BuddyPress themes or customized themes? customized

    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? no

    13. Please provide a list of any errors in your server’s log files. how do i check?

    Also, I don’t know if this is relevant but hosting is through GoDaddy.

    #51454

    In reply to: Import existing user

    peterverkooijen
    Participant

    Trying to use Manoj Kumar’s Buddypress Users Import plugin. I get this error:

    Fatal error: Maximum execution time of 30 seconds exceeded in /serverpath/wp-includes/class-phpass.php on line 60

    I don’t recognize anything in that line:

    function get_random_bytes($count)
    {
    $output = '';
    if (($fh = @fopen('/dev/urandom', 'rb'))) {
    $output = fread($fh, $count);
    fclose($fh);
    }

    Can I just temporarily delete it? Would that solve the problem? Other solutions?

    I’m trying to import 600+ members, so I’m not surprised it times out.

    EDIT: 490 members were actually imported quite nicely! :-)

    EDIT2: Not as nicely as I first thought… Username and full name didn’t make it over, only email addresses. Should I have added labels to the top line?

    EDIT3: There is no fast way to delete 490 users…?

    EDIT4: Does this plugin also update firstname + username in wp_usermeta. If not, I have to add it.

    #51446
    peterverkooijen
    Participant

    This works:

    function synchro_mailinglist($user_id, $password, $meta) {
    global $bp, $wpdb;

    $email = $wpdb->get_var("SELECT user_email FROM $wpdb->users WHERE ID='$user_id'");

    $fullname = $meta[field_1];
    $space = strpos( $fullname, ' ' );

    $company = $meta[field_2];

    if ( false === $space ) {
    $firstname = $fullname;
    $lastname = '';
    } else {
    $firstname = substr( $fullname, 0, $space );
    $lastname = trim( substr( $fullname, $space, strlen($fullname) ) );
    }

    $firstname = nameize($firstname);
    $lastname = nameize($lastname);

    ...

    $wpdb->query("INSERT mailingusers SET users_id='$user_id', group_id='1', signup_date= UNIX_TIMESTAMP(), firstname= '$firstname', lastname= '$lastname', email_address = '$email' ");
    $wpdb->query("INSERT mailingcdata SET cdata_id=NULL, user_id='$user_id', cfield_id='1', value='$company'");

    }
    add_action( 'wpmu_activate_user', 'synchro_mailinglist', 10, 3);

    I used it as part of this function. This should work other mailinglist scripts as well, just change the table and field names.

    I don’t understand why $user_email didn’t work. I had to pull the user_email from the database. Is there a cleaner way?

    #6348
    peterverkooijen
    Participant

    I need this for a plugin/function. I can’t figure out how to do anything with the user_email during activation. When I do this:

    function synchro_wp_usermeta($user_id, $password, $meta) {
    global $bp, $wpdb;

    $email = $wpdb->query("SELECT user_email FROM wp_users WHERE ID='$user_id'");
    echo $email;

    ...

    }
    add_action( 'wpmu_activate_user', 'synchro_wp_usermeta', 10, 3);

    I only get the number ‘1’. I have no clue why. I’m clearly missing something obvious.

    If I can’t select the user_email on $user_id, how? The query works fine directly in the database. Do I need to change something in the PHP/Wordpress tagging system?

    Please help me out. I’ve been horribly stuck on this for the last 24 hours… :-(

    EDIT: Sorry, figured it out. Should have studied the codex. This works:

    $email = $wpdb->get_var("SELECT user_email FROM $wpdb->users WHERE ID='$user_id'");
    echo $email;

    But I still don’t get why simply $user_email doesn’t work in that function…

    #51417
    peterverkooijen
    Participant

    Even this doesn’t work:

    $email = $wpdb->query("SELECT user_email FROM $wpdb->signups WHERE activation_key = %s", $key);

    And this also does not work:

    $email = $wpdb->query("SELECT user_email FROM $wpdb->users WHERE ID = %s", $user_id);

    ?? :-(

    #51411
    peterverkooijen
    Participant

    I’m now trying to add firstname, lastname and email address straight to the database tables of my mailing list. I’ve added the queries to the function I had put together here:

    function synchro_wp_usermeta($user_id, $password, $meta) {
    global $bp, $wpdb;

    ...

    $wpdb->query("INSERT mailingusers SET users_id='$user_id', group_id='1', signup_date= UNIX_TIMESTAMP(), firstname= '$firstname', lastname= '$lastname', email_address= '$user_email'");
    $wpdb->query("INSERT mailingcdata SET cdata_id=NULL, user_id='$user_id', cfield_id='1', value='$company'");

    }
    add_action( 'wpmu_activate_user', 'synchro_wp_usermeta', 10, 3);

    This mostly works, except the for the email address. $firstname, $lastname and $user_id are all correctly added to the table, but the email_address field stays empty.

    Can anyone spot the problem?

    How can I “call” the user’s email address upon ‘wpmu_activate_user’?

    Adding a $user_email argument only produces missing argument errors. I’m out of guesses…

    $current_user->user_email doesn’t work either:

    $wpdb->query("INSERT mailingusers SET users_id='$user_id', group_id='1', signup_date= UNIX_TIMESTAMP(), firstname= '$firstname', lastname= '$lastname', email_address= '$current_user->user_email'");

    #51380
    Paul Wong-Gibbs
    Keymaster

    Original posters:

    a) Yes, but please discuss this on https://buddypress.org/forums/topic/modified-mail-message-registration.

    b) Yes I believe so, but this is a WPMU question so you are best searching on the WPMU forums

    c) Yes, it’s in the theme files. You can edit these at the moment and it might be easier to do in BP 1.1/trunk.

    #51379
    Paul Wong-Gibbs
    Keymaster

    This is not only resurrecting a 4 month old thread – of which you yourself have found several duplicates – this is more a WPMU question that BP. Use https://buddypress.org/forums/topic/modified-mail-message-registration for discussion on this area, i’m closing this thread.

    #51364
    peterverkooijen
    Participant

    I meant to say, no, it’s NOT possible. Not without some serious hacking.

    #51363
    peterverkooijen
    Participant

    What is now the recommended approach for editing the activation/signup emails?

    Other threads about this:

    Modified mail message registration

    Use full name in confirmation emails

    control of new user activation email

    #51276
    peterverkooijen
    Participant

    To autogenerate a temporary username put this function in bp-custom.php:

    function randomusername() {
    $length = 10; //length of string
    $start = 65; //Where to start from on ascii table
    $end = 90; //where to end on the table

    for ($k = 0; $k < $length; $k++){
    $randomname .= strtolower(chr(round(rand($start, $end))));
    }

    return $randomname;

    }

    Make this edit to the username input field on the form (hacking core file, should become easier in version 1.1):

    <input name="user_name" type="text" id="user_name" value="'.$user_name = randomusername().'" maxlength="50" />

    Test it if you want; you’ll see a random string in the username field that will be replace by the autogenerated username based on fullname on activation.

    You can hide the username field on the signup form, without getting error messages for not giving it proper TLC, by using this CSS trick.

    That requires another core file hack, since you need to add a id like username-form-field. Again, should become easier in version 1.1.

    My registration form is now:

    Name:

    Email address:

    And that’s it! Everything works. Full name is available as first and/or last name. The URL is the full name lower case without spaces. :-)

    Only thing left to do is clean up the email messages etc. that still mention the username…

    peterverkooijen
    Participant

    How can you identify the user on wpmu_activate_user? Only by the key from the activation link? How does that work?

    Then $bp->loggedin_user->id doesn’t work on activation either, does it?

    How is Lance Willet able to use $userid on wpmu_activate_user?

    Can I somehow use that to pull up the right meta row from wp_signups and store the values in wp_usermeta with the right user_id?

    Or can I use the email address as an identifier?

    peterverkooijen
    Participant

    The ideal registration form would look like this:

    – fullname

    – email address

    Both fields would of course be mandatory. Ideally fullname would be checked for two or more parts, but xprofile_sync_wp_profile() can handle one part input and I can live with an occassional missing last name.

    I use a jQuery validation script on another form in my site, that I may also be able to use on the registration form. As far I understand it doesn’t interfere with anything on the server side.

    Username would be generated behind the scenes from fullname.

    Many other member information fields would be optional under edit profile.

    If I can figure out how to select fullname from meta in wp_signups, adapting xprofile_sync_wp_profile() shouldn’t be that difficult.

    Or are my latest attempts above still nowhere near a solution? If you see the obvious mistakes, please point them out.

Viewing 25 results - 1,776 through 1,800 (of 1,893 total)
Skip to toolbar