Search Results for 'activation email'
-
AuthorSearch Results
-
October 15, 2009 at 8:14 pm #54601
In reply to: Welcome plugin bug @djpaul
Paul Wong-Gibbs
KeymasterI’m still lost. I also don’t really have time to look at this until the weekend sometime. Could you help me again please?
Yep, I go to the main blog via Users menu (not site admin>users) and…Could you give me a sample link (feel free to cut your domain off the beginning), i.e. http://example.com/how_to/get_to_this/page. I’m being a noob and can’t see it

...EXCEPT the email with username & randomly generated password that should replace that activation email shown above. (I'm thinking this is a wordpress email? Not sure.)Correct. Welcome Pack doesn’t (or shouldn’t) touch the activation email, which is why this issue is so weird-sounding.
You ARE aware since BP 1.1, if a new user registers via http://testbp.org/register, they are able to pick their password and as such it isn’t emailed to them? (Though they still get a confirmation/account activation email)
October 15, 2009 at 6:47 pm #54590In reply to: Welcome plugin bug @djpaul
copgarden
ParticipantWhen I use the site admin>users method it doesn’t engage with Welcome Pack, which is the same thing that happened in my previous version of BuddyPress. The activation email gets killed there too, just tested that.
October 15, 2009 at 6:43 pm #54588In reply to: Welcome plugin bug @djpaul
copgarden
ParticipantYep, I go to the main blog via Users menu (not site admin>users) and input the username and email address, select skip confirmation email, send. I get all of the notifications welcome pack sends out EXCEPT the email with username & randomly generated password that should replace that activation email shown above. (I’m thinking this is a wordpress email? Not sure.)
The weird thing is when I do the same process from a sub-blog everything behaves the same except I DO get the email with the username & randomly generated password in addition.
In case it helps here’s what happens over 3 tests from each main & sub blog dashboards:
MAIN BLOG DASHBOARD:
1. Broken activation email – came first all 3 times
2. Then these 3 come, random order each time:
Welcome pack welcome email
Welcome pack friend invite email notification
Welcome pack group invite email notification
SUB BLOG NEW USER:
1. Broken activation email
2. Then these 4 come, random order each time:
Account is setup email with username and randomly generated password
Welcome pack welcome email
Welcome pack friend invite email notification
Welcome pack group invite email notification
October 15, 2009 at 2:38 pm #54567In reply to: Welcome plugin bug @djpaul
copgarden
ParticipantThank you for working on this problem!
BP1.1.1, Welcome Pack 1.41
In case it helps, see the activation email that I get below, it gives up at the link. This message gets sent even though I had skip activation email selected, and no email stating username and password is sent.
Hi,
You’ve been invited to join ‘CoP Literacy Network – Sandbox’ at
http://copgardensandbox.com as a subscriber.
If you do not want to join this blog please ignore
this email. This invitation will expire in a few days.
Please click the folowing link to activate your user account:
%s
October 14, 2009 at 11:49 pm #54545shedmore
ParticipantHey DJ Paul
I noticed that you added bp_core_account_activated hook which should work in most cases, but like I said (in my particular case) I skip over the activation via the buddypress fbconnect plugin. It inserts the user directly.
Maybe there is a way for me to call that activation once the facebook user is authenticated? Do you know of a way to trigger that whole authorization process without actually making the user click on an email?
That way it basicaly works like this
1. User registers with Facebook conenct button
2. Facebook sends back userinfo (via the api) – thats working currently
(and here is where I am fuzzy)
3. Take the fb information and trigger the account activation “automatically” …effectively bypassing the need for a “key”
Or
Is there another hook I can grab onto somewhere in the process beyond bp_core_account_activated that would work only on INITIAL Registration…but still after all globals are loaded (to ensure the messaging will work)
Any ideas?
Thanks again for the help!
October 14, 2009 at 7:48 pm #54538shedmore
ParticipantWow thanks…I will try as soon as I get back to the local computer hosting my test dev. What seems to be happening (in short) is that becuase my users use facebook to login/register…it never goes through the “activation” email scenario….and becuase it registers a new user (and activates them) BEFORE those messages_global are set – the send message function fails.
I tried reording the load_plugin order of the core and the message globals so that they would boot before, but once I did that it screwed up other things (like the order they need to be in to boot through the various functions in buddypress)..so I reverted, and have sense been trying to figure out how to maybe Trigger the “activation” silently in the registration process so that the email verification is not necissary.
I will try the new plugin and report back
October 14, 2009 at 2:34 pm #54515In reply to: Registration Email with wrong passwort, WPMU Bug?
copgarden
ParticipantI 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.
October 13, 2009 at 6:09 am #54420In reply to: How to turn Confirm Email Off?
Paul Wong-Gibbs
KeymasterOctober 13, 2009 at 6:05 am #54417In reply to: Can buddypress activation emails be turned off?
Paul Wong-Gibbs
KeymasterTHis is a WPMU thing. I believe this behaviour has changed in BP 1.1.1. I strongly suggest you upgrade your install regardless.
October 13, 2009 at 12:13 am #54405In reply to: How to turn Confirm Email Off?
Mythailife
ParticipantI’ve searched over there already. Can’t find anything that can be used to disable that email activation.
September 18, 2009 at 6:35 pm #52729In reply to: User lost activation email
Andy Peatling
KeymasterYes in wp_signups table you will find a key. Then go to:
September 18, 2009 at 6:35 pm #52730In reply to: User lost activation email
Andy Peatling
KeymasterYes in wp_signups table you will find a key. Then go to:
September 2, 2009 at 11:37 pm #51940cpkid2
Participantactually 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.
August 23, 2009 at 5:21 pm #51454In reply to: Import existing user
peterverkooijen
ParticipantTrying 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.
August 23, 2009 at 3:41 pm #51446In reply to: ListMessenger (or PHPlist) integration – plugin?
peterverkooijen
ParticipantThis 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?
August 22, 2009 at 3:22 pm #51417In reply to: ListMessenger (or PHPlist) integration – plugin?
peterverkooijen
ParticipantEven 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);??
August 22, 2009 at 2:22 pm #51411In reply to: ListMessenger (or PHPlist) integration – plugin?
peterverkooijen
ParticipantI’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'");August 21, 2009 at 9:53 pm #51380In reply to: control of new user activation email
Paul Wong-Gibbs
KeymasterOriginal 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.
August 21, 2009 at 9:51 pm #51379In reply to: Activation/signup email text in Buddypress?
Paul Wong-Gibbs
KeymasterThis 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.
August 21, 2009 at 6:42 pm #51364In reply to: control of new user activation email
peterverkooijen
ParticipantI meant to say, no, it’s NOT possible. Not without some serious hacking.
August 21, 2009 at 6:35 pm #51363In reply to: Activation/signup email text in Buddypress?
peterverkooijen
ParticipantWhat is now the recommended approach for editing the activation/signup emails?
Other threads about this:
Modified mail message registration
August 19, 2009 at 10:29 pm #51276In reply to: Autogenerate or remove username
peterverkooijen
ParticipantTo 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…
August 18, 2009 at 3:38 am #51202peterverkooijen
ParticipantHow 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?
August 16, 2009 at 6:03 am #51093peterverkooijen
ParticipantThe 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.
August 16, 2009 at 5:25 am #51092Mariusooms
ParticipantBP1.1 will be released in September pending development speed. I’m inclined to agree with Mike Pratt. Especially if you have a deadline that close, your solution seems very elaborate even trying to use the fullname function from BP. There is no guarantee the first and last name are existing in the username, so you can’t back on that info to be in usermeta. The only way to guarantee accurate first and last name info is to have those in user registration as a mandatory field.
Bypassing the username and using email as a login option further removes you from even having remotely any user information other than the email address.
Sorry to sound a little discouraging, but I’m scratching my head as to how you are trying to achieve this? Perhaps a combination with the email plugin and two required fields for first and last name is your best option, imho.
That way you do need another plugin that needs development after you release your project and stays inline with bp updates and what not.
-
AuthorSearch Results