Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wp user activate'

Viewing 25 results - 676 through 700 (of 902 total)
  • Author
    Search Results
  • #77086
    techguy
    Participant

    I’ve started looking into bypassing the activation email. It seems like the code @ wrote above only works for regular WP installs and not WPMU. WPMU uses the wp_signups table and then when they’re activated they’re moved to wp_users. I’m going to see if I can’t figure out the WPMU code to do this. I’d love to hear if people know more about this. Otherwise, I’ll ask in the WPMU forums.

    Also, it seems like you could just use this function to disable the activation email from happening (once again that doesn’t work in WPMU though):
    function disable_activation_email() {
    return false;
    }
    add_filter( ‘bp_core_signup_send_activation_key’, ‘disable_activation_email’ );

    #76945
    Michael McCleve
    Participant

    I, too, have been getting the error “wp-content/plugins/tweetstream/twitter/EpiCurl.php on line” with the line number changing at times, etc. Since I have not yet been able to figure out a solution, nor find one in my web searching, I have deactivated the plugin on my site at http://citizensofinfluence.com. I do have a few users who really liked it, but it’s started causing too many problems.

    Anybody have any ideas, yet? I’m not a programmer, nor do I have any php experience, etc. I’m just a casual end-user who was really liking the way it was functioning initially.

    #76866
    @mercime
    Participant

    In WP 2.9.2 go to http://www.yoursite.com/wp-admin/options.php and go down to users_can_register and add 1 to box
    In WPMU 2.9.2 go to http://yoursite.com/wp-admin/wpmu-options.php and go to Allow New Registrations — Enabled.

    Hugo Ashmore
    Participant

    Boone there is this plugin which is really for dev setups where passing emails through the dev network is awkward so allows you to register a user normally then go into backend and manually approve using the activation id

    WPMU Manual Member Approve:
    http://mattkern.com/wpmu-manually-approve-new-members-on-local-install/

    Would you believe though I just tried to run it on my local site and it’s broken! at least it’s throwing an undefined function error bp_page_title()

    Haven’t time to look into that but it doesn’t look to much of an issue.

    Of course this doesn’t get round the issue of letting those users know they have been activated and not really sure one wants to simply activate a bunch of accounts when the users are never going to know about it.

    Of course once activated and once you have established you are sending emails correctly you might be able to work some means of adding everyone to a group and posting an update to that group that will send a notification out to email addresses?

    Boone Gorges
    Keymaster

    Signups (including non-activated users) are stored in wp_signups table. I have looked briefly but have never found a plugin for WP admins to manage these signups (activating accts from the Dashboard, resending activation emails, etc). Hard to believe, actually, as it seems like this is an area of great need.

    Maybe this is something I’ll write myself, as I’ve had need of such a thing on multiple occasions and I’ve usually had to dig directly into the db to find the activation keys.

    ajaxmac
    Participant

    I have found a solution to my problem – but don’t know exactly why these issues arose. I shall elaborate in case anyone else has similar problems:

    I have also been experiencing problems with the themes for blogs being all messed up. Regardless of how they were activated – either globally or on a blog-by-blog basis, they never displayed properly. Possible an obscure redirect issue. At the same time I was experiencing the messaging issues for which I started this thread.

    I think that these problems cropped up sometime between:
    – upgrading from WP MU 2.9.1 > 2.9.2
    – upgrading Buddypress 1.2.x > 1.2.3
    which were both done manually AND
    – trying out a whole buch of plugins that had not been tested (or verified) to work with my versions of BP and WPMU.

    So I rolled the whole site back – files and mysql to about a month ago – before I upgraded and fucked up my database. Then copied any posts, files, members, activities etc from one database to the other…

    So the lessons I learned from the sorry mess is:
    – Backup regularly (this goes without saying)
    – don’t try out spurious plugins that may damage your install (and lead to days of head-beating-on-wall WTF? moments)

    Also – running the whole site on Amazon Web Services which gives you cheap access to ubiquitous storage (S3) at insanely low cost. So I run a script that backs up all files and mysql from the site daily and hang the GB that will accrue – because each GB cost something like $0.01 – or something….And this just saved my sanity.

    Regards

    Ajax

    Ruth Maude
    Participant

    THANK YOU! THANK YOU! THANK YOU!

    So all I had to do was add the following two code snippets to my /wp-content/plugins/buddypress/bp-themes/bp-default/functions.php file and both these issues are fixed! Next step will be upgrading to php5.

    /*redirect activation email to admin for approval*/
    function my_redirect_activation_email()
    {
    return get_site_option( “admin_email” );
    }
    add_filter(‘bp_core_activation_signup_user_notification_to’, ‘my_redirect_activation_email’);

    /*disable blog signup for non logged in member*/
    add_filter(“wpmu_active_signup”,”bpdev_check_current_users_blog”);
    function bpdev_check_current_users_blog($active_signup){
    global $current_user;
    if( !is_user_logged_in() )
    return “none”;
    else
    return $active_signup;//if the user is logged in, do not change the site policies
    }

    Ruth Maude
    Participant

    found it I think… wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php, line 225,

    Ruth Maude
    Participant

    Thanks so much @r-a-y that code worked….

    I’m really struggling to find my way around – I’m experienced with WP but not with WPMU or BuddyPress structure. How do I change this text?

    Sign Up Complete!
    You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.

    Ruth Maude
    Participant

    @r-a-y I’m using WPMU

    r-a-y
    Keymaster

    @dandelionweb


    function my_redirect_activation_email()
    {
    return get_site_option( "admin_email" );
    }
    add_filter('bp_core_activation_signup_user_notification_to', 'my_redirect_activation_email');

    Add this to wp-content/plugins/bp-custom.php or your theme’s functions.php file.

    Ruth Maude
    Participant

    sigh… like a number of plugins the bp-registration-options won’t activate

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /…../clubfootclub.org/community/wp-content/plugins/bp-registration-options/bp-registration-options.php on line 23

    @mercime
    Participant

    There is a hack to core BP files which can be turned into a plugin (hint, hint) which works in BP 1.2.3 and WPMU 2.9.2 …

    Boone Gorges
    Keymaster

    Thanks as always for the feedback – you guys rule! You found several things I’d missed.

    @hnla

    not so sure whether the ‘Accepted’ column shouldn’t be sort by accepted/not yet accepted ?

    Bug. Fixed.

    What would ideally be nice would be that if invitee did accept we re populated the sent invite list but with Accepted column showing true?

    Good thinking. It’s actually not too hard – I just switch is_hidden to 0 when the invitation is accepted. My guess is that most users will be very happy to see that someone has accepted their invitation, even if they have previously cleared it from the list for space reasons.

    should someone who opts out update the sent invites list with one further column ‘Declined’

    I intentionally didn’t do this, because I figured that people who opt out don’t necessarily want to rub it in the faces of the people who sent the invitations. In the future I will think about a way to make this work without risking hurt feelings :)

    btw you will need li element margins

    Quite true. Fixed. I also decided to inherit most of the standard-form styles from bp-default, which I think looks better. Sorry if I sometimes suck at CSS :)

    @techguy

    The wildcard aren’t getting converted in the body of the email

    That’s because there are supposed to be two %s before and after to make it a wildcard. You’re not the only person to ask about this, though, so I’ve changed the filter so that either will work fine.

    The send invites button is showing on the group page even though the user isn’t a member of that group

    Bug. I had spent so much time getting the admin settings for that screen to work right that I forgot about the most basic thing – whether the person was a member of the group! Should be fixed now.

    Would be nice to have the option to choose between the invite existing members and invite email.

    Essentially, you do have the option. If you don’t want to use the email invitations, limit them to Administrators only. If you don’t want to have invite-anyone-from-the-installation, set each role to Friends Only. I should make better documentation for that.

    The widget’s title saves and displays right, but in the Appearance–>Widgets the title field is empty even when you just saved it

    Bug. Fixed.

    Something doesn’t feel right about the widget.

    I agree. I added ’email address’ in the boxes and I think it helps. Let me know what you think.

    I’m not sure if widgets can recognize which group your on and automatically check the box for that group.

    Great idea. I’ve done it.

    Might be worth making mention on the invites page that the email will include an opt out link.

    I’m going to add one more feature before tagging the plugin, which will be the ability for admins to add non-editable header/footer information to the invitation email. The inviter will see the header/footer text but won’t be able to edit it. That footer text will include the opt-out link. I think that’ll be explanatory enough.

    A link to the settings page for the plugin, next to the deactivate button on the plugins page is always a nice touch too.

    I agree. I’d never done it before, but it was actually quite easy! (stole some code from @paulgibbs’s Welcome Pack – with attribution, of course!) I should go back and do this on all my plugins…hmmm….. Anyway, done.

    @Erich73

    The position of the button named “Continue” is slighly hiding the widget-title of the one widget which I have placed underneath

    Good catch. It happened because I am bad at CSS and I was using a float where I shouldn’t have been. It’s been fixed.

    the text-format within the text-field named “Customize the text of the invitation” is changing its format-style

    I know. The way that that message gets populated is through the $_GET variable, which comes through bp_core_redirect and wp_redirect. Frustratingly, wp_redirect strips out url-encoded line breaks. That’s why the paragraphs are getting bunched together. I have a feeling that my best bet for fixing this will be some sort of ugly hack. I’ll see what I can do before tagging the next version.

    Is there a chance to style the “Subject Line” and the “Text-field” so that it looks like an e-mail

    Good idea. I always thought that it looked a little funny. I decided to style them exactly like the customizable fields, except make the disabled. I think it’s a lot more easily understandable this way.

    Is there a chance you re-name the wording for “Sent Invites” to something different

    I might change this in the future, but for right now it’s a pain to do it throughout. Maybe you could use a language file to fix it on your installation?

    Please let me know your PayPal-account so I can send you a few Buddy-Dollars to appreciate your great work !

    http://teleogistic.net/donate/ ! Thanks :)

    #74674

    In reply to: BuddyPress Spam

    Eric
    Participant

    captcha and math tools do not really help fighting spam.

    spammer register manually and then feed your blog automatically remote via xmlrpc.

    i am running a wordpress mu + buddypress site and had about 40 spammer-registrations a day with lots of spam. then i deactivated xmlrpc via renaming xmlrpc.php in wp-root, result was only user registrations (without content spam). about four days later spammer registrations were reduced from 40 to about three a day (easy to delete), seems that the spam-apps noticed that the rpc doesn´t work and deleted my site from their targetlists, entering their messages manually is to complicated for them….

    #74630
    techguy
    Participant

    Thanks r-a-y. I was actually ok with them having to activate it, but I guess if they don’t agree to give their Facebook email there’s no sense. Plus, if they already verified with Facebook, we should be good to go.

    However, should we still do something like this:

    /* Multisite installs have their own install procedure */

    if ( bp_core_is_multisite() ) {

    wpmu_signup_user( $user_login, $user_email, $usermeta );

    } else {

    wp_insert_user($user_data) ;

    }

    Although, maybe that doesn’t matter so much once WPMU and WP are merged?

    I also think it’s better to offer the code to the plugin developer instead of using his hook, no? Then, future BP users it will just work out of the box.

    I’ll try out the x-profile field stuff. Is there any documentation anywhere on the x-profile fields? What’s required? What’s available, etc?

    #74516
    r-a-y
    Keymaster

    Just looking into the bp_core_signup_user() function again. Sorry for pointing this to you in the first place!

    I would not recommend using this function because it sets a user’s status to “not active”, then sends an email to activate the account (which makes sense because that’s the default registration behavior in BP!).

    Since we don’t want to ask a FB user to activate their account, stick with the wp_insert_user() function, then use some code to sync up the xprofile fields like:

    // set xprofile field 1 (Name) with the fbuser's first name
    xprofile_set_field_data(1,$user_login_id,$fbuser['first_name']);

    /*
    * @param $field The ID of the field, or the $name of the field.
    * @param $user_id The ID of the user
    * @param $value The value for the field you want to set for the user.
    */

    To initialize BP, look at using the bp_init action:

    https://codex.buddypress.org/how-to-guides/checking-buddypress-is-active/

    [EDIT]

    Just looking into the WP-FB-AutoConnect plugin, Justin (the author) has a do_action that you could hook into:

    do_action('wpfb_login', array('WP_ID' => $user_login_id, 'FB_ID' => $fb_uid, 'facebook' => $facebook) );

    Here you can sync up your xprofile fields, etc. Unfortunately, this action occurs every time a Facebook user logs in. You could view this as a positive or a negative!

    I think it would be nice if Justin added another do_action right after the wp_insert_user() function in _process_login.php.

    [EDIT #2]

    Requested a new do_action on Justin’s plugin page – http://www.justin-klein.com/projects/wp-fb-autoconnect/comment-page-5#comment-11638.

    #74132

    Does this also work with the BP Compatibility plugin or would there be an extra step? I have no problems getting this hack to work with single user WP + BP. However, when I try it with WPMU, it doesn’t work. I thought perhaps it was due to the fact that I’m using the Compatibility plugin in conjunction, but even when that is deactivated the hack isn’t working. Thoughts?

    jivany
    Participant

    So, your question is really a WPMU question. You should try asking the question on a WPMU support site as it will likely get more response than here.

    As for the blog thing – you currently have users with no blogs. If you create a new blog for every user then what default content are you going to put on that blog for the users who have no interest in the blog? Are you going to leave the default Welcome to WP post with the comment from Mr WordPress? As a user, I’d be annoyed by that if there wasn’t some way for me to delete the blog. Oh, yeah, there is a way – don’t automatically create a blog for a user that’s not interested. ;)

    But anyhoo, I assume you have asked your user base and this is what they all want so do what you need to do.

    Nahum
    Participant

    Let me put it another way simply. Trying to take an already existing wp blog (by wp blog I mean being used as cms not a blog) with members and converting it to a wpmu/bp site. Now i’d like to retrofit those members with blogs, a bulk edit.

    #73226

    In reply to: bp-default theme

    jivany
    Participant

    f you think you can help me I sure would appreciate it. Cause I cannot figure this thing out – I have tried and tried.

    YES, I moved the bp-default theme into wp-content – themes… okay I deleted it just now AND for a second I thought I was going to lose my blog posts – it looked like it in IE – I have deactivated the plug in buddy press and the buddy press template pack – and actually deleted them from the system. I do NOT understand php, but do understand css and html – I would really like to get this thing to work with my template currently. Can you help?

    It does seem a go idea to open a new folder on my site and install my theme and wp and buddy press and buddy press theme pack – to get it to work first… however, I have a LOT of posts in my blog currently and they are permalinked all over the place . I cannot mess with the permalinks and the posts. Can I transfer them into a new theme folder on my site and not lose the permalinks – I think not.

    You know I am beginning to wonder if this thing works at all. So muc for the three step easy install. Does it work at all?

    OK, I’d rather keep this in the forums instead of in private messages because then other can benefit from the discussion if they have the same issues.

    First, it’s never a good idea to muck around with a live site. Go and install XAMPP or MAMP and setup a test/development environment on your local PC. It’s super simple. I’m doing this right now as are many of the other BP users.

    Second, Installing BP will not cause you lose any of your posts. The only reason you are going to lose post is if you delete them or you do something silly and end up corrupting your database. Go back to the first point I made – don’t develop on a live site. This applies to everything online, not just WP or BP.

    Once you have the offline test site setup with WP (make sure you mirror the setup you have online or you’re not going to have the same issues) and your current theme installed, add the BP plugin. Then add the BP Template Pack plugin and start following the directions. @Modemlooper has commented in a number of threads here about what typically needs to be done to make your theme work with BP.

    Do the work required to get your test site looking how you want it to look. On the testsite, install the plugins you currently use (one at a time to ensure none of them break BP) and make sure they work and look how you want them to look.

    Once you have that done, add any new BP specific plugins you want to run (again, one at a time) and get them looking “right”.

    Finally, go to your live site and find the Tools –> Export page. Export your live site data into a file and then import that data into your offline test site. This will allow you to ensure your existing posts/content will look OK.

    Once you’re satisfied with everything offline on your testsite, start uploading to the live site. Upload the new theme (but don’t activate it), install (but don’t activate) any new plugins required (including BuddyPress).

    Yes, BuddyPress works. No, it’s not going to work for every single user in every single possible combination of WP installations. You will need to do some work to resolve issues.

    #73042
    r-a-y
    Keymaster

    @dwenaus

    I think it would make sense if there was a unified karma plugin. Forums are nice, but that’s only really one component of BP. I also know this means a lot more work on your part.

    I don’t know what you have planned for blog post karma, but I’m guessing at some point, you’d need the thumbs up/down voting block across all blogs on a WPMU install, so it’d have to be a plugin that is activated site-wide or a plugin that resides in /wp-content/mu-plugins/. Unless you think that users should activate the plugin on certain blogs only.

    Personally, I’d rather see activity karma than blog post karma, but that’s just me.

    #73142
    r-a-y
    Keymaster

    @dwenaus

    I think it would make sense if there was a unified karma plugin. Forums are nice, but that’s only really one component of BP. I also know this means a lot more work on your part.

    I don’t know what you have planned for blog post karma, but I’m guessing at some point, you’d need the thumbs up/down voting block across all blogs on a WPMU install, so it’d have to be a plugin that is activated site-wide or a plugin that resides in /wp-content/mu-plugins/. Unless you think that users should activate the plugin on certain blogs only.

    Personally, I’d rather see activity karma than blog post karma, but that’s just me.

    Nahum
    Participant

    hm. don’t really see it as forcing a blog on a user if the intent of the site is to have a blog? The intent for sites like tumblr,posterous is to have a blog come standard, the user knows that. You have to remember not all sites using wpmu/bp are the standard default blog setup you are thinking of. I can see why you would say that, I wouldn’t create new blogs either..but the intent here is building a website that revolves around niche blogging…so users know what they are getting from get go. hmm. think again of posterous, tumblr, you get a blog at signup not to choice to create a blog or not. it just comes standard. user chooses to use it or not afterwards.

    Nahum
    Participant

    hm. don’t really see it as forcing a blog on a user if the intent of the site is to have a blog? The intent for sites like tumblr,posterous is to have a blog come standard, the user knows that. You have to remember not all sites using wpmu/bp are the standard default blog setup you are thinking of. I can see why you would say that, I wouldn’t create new blogs either..but the intent here is building a website that revolves around niche blogging…so users know what they are getting from get go. hmm. think again of posterous, tumblr, you get a blog at signup not to choice to create a blog or not. it just comes standard. user chooses to use it or not afterwards.

Viewing 25 results - 676 through 700 (of 902 total)
Skip to toolbar