Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wp user activate'

Viewing 25 results - 726 through 750 (of 902 total)
  • Author
    Search Results
  • #68765
    victor_moura
    Participant

    Hi Etiviti!

    Thanks a lot for this – when I’m able to add the BBcode and buttons, it will be great!

    I still have not managed to do it so your guidance is much appreciated.

    Since I’m a newbie, let me explain step by step what I did:

    1. After uploading the zip file and extracting on my /home1/fromvict/public_html/comunidade/wp-content/plugins BuddyPress directory, I activated the plugins.

    2. After activation, I clicked On BuddyPress -> Forum Extras and followed the instructions to edit the theme on /home1/fromvict/public_html/comunidade/wp-content/themes/bp-default/groups/single/forum and add the ” <?php do_action( ‘bp_forum_extras_topic_links’ ) ?> ” code as instructed.

    3. This gives me the successful message:

    QUOTE

    BBCode enabled.

    This plugin will convert bbcode to html prior to database updates and is recommend for external bbPress installs.

    You may enable _ck_’s bbcode buttons via the BBCode Settings page but this might conflict with other textarea editors installed (tinymce, markitup) on the forum textareas.

    UNQUOTE

    4. When I click on the bullet item just below, “BBCode”, I get the following:

    QUOTE

    Group Forums BBCode

    BBcode Buttons

    Fatal error: Call to undefined function bb_get_option() in /home1/fromvict/public_html/comunidade/wp-content/plugins/buddypress-group-forum-extras/bp-forum-extras-bbcode-admin.php on line 29

    UNQUOTE

    Any idea of what may be wrong? Thanks!

    p.s. Just a (hopefully) constructive feedback: as a newbie, it took me some time to figure out that the groups/single/forum was located in the address I pointed out in step 2. Maybe other users like me have a similar experience. In that case, it would be good to have one simple phrase like “you have now to find where the theme is installed, generally it is a themes/bp-default/ folder under your BuddyPress installation”

    #68680
    r-a-y
    Keymaster

    I haven’t tried my mod site-wide on WPMU because it was only needed on the BP community-side for a site I was working on. If you’re not using WPMU, you should be okay.

    Don’t activate the plugin site-wide if you want your user blogs made public. In this case, only activate the plugin on the blog where BP is activated.

    Re: invites. What are you using for that? The modified plugin doesn’t block the register or activation pages, so if your invites plugin hooks into the register page, you should be fine.

    #67812
    r-a-y
    Keymaster

    @luccame

    Here’s my modified code for Registered Users Only 2:

    http://pastebin.com/x8MpfLW1

    I didn’t spend much time on it, but it gets the job done.

    I used this on WPMU and only activated the plugin on the blog where BP is installed; I don’t recommend activating this site-wide.

    #67629
    Ann Christine
    Participant

    Unfortunately I have the same problem as the two of you. I am running fresh installations – newest WPMU and BP.

    It was running all fine.

    Now I (admin) get no email notifications at all – users do not receive any either. The activation emails are not being sent. The WPMU ones are not sent out either.

    I am using a catch-all email on my email host to be able to sign up with different emails on the same domain.

    First thing I was thinking was whether BP or WP was thinking all this signup from the same email domain was SPAM and therefore closing down signups from my IP or whatever.

    I have searched for answers and found this: https://mu.wordpress.org/forums/topic/13039

    Apparently some hosts do not allow automated emails to be sent out.

    (However, if my host do not allow this, how come it worked fine for two weeks?)

    Only plugin I have installed is the cets-blog-defaults. I have tried to deactivate it, but it does not help.

    This is really frustrating :(

    #67559

    I have this same problem – I know WPMU is sending me emails for other things, but BuddyPress related items do not get sent.

    On new user registration, the final part of the registration process says “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.”

    No email sent to either new user or admin, and new user isn’t in list of users in admin panel.

    thekmen
    Participant

    thanks etiviti,

    just realised using BuddyPress 1.2.1 and WP (single) 2.9.2 there is no activation email sent, the account is activated automatically & the user can log in straight away.

    I am presuming this is the issue as the user doesn’t have to click an activation link?

    mingya
    Member

    I have the same question on this particular issue too.

    How to setup email activation for new user on single WP + buddypress, exactly like registrating with http://testbp.org/?

    #66320
    Tosh
    Participant

    Another issue here, when somebody clicks on this: http://www.p3blog.net/members/gm-luke/

    They get redirected to the home page.

    Is the – in the username an issue? My permalinks structure is not default either.

    1. Which version of WP/MU are you running? 2.9.1 Single WP

    2. Did you install WP/MU as a directory or subdomain install? http://www.mysite.com

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

    4. Did you upgraded from a previous version of WP/MU? If so, from which version? No

    5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes

    6. Which version of BP are you running? Version 1.2.1

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

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

    10. Have you modified the core files in any way? Yes, to fix the avatar upload issue:

    bp-core-avatars.php line 389

    Replace:

    if ( !$path = get_option( ‘upload_path’ ) )

    $path = WP_CONTENT_DIR . ‘/uploads’;

    With:

    if ( !$path = get_option( ‘upload_path’ ) )

    $path = WP_CONTENT_DIR . ‘/uploads’;

    else

    $path = ABSPATH . $path;

    …and report back?

    https://trac.buddypress.org/ticket/1970

    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? Not using bbPress.

    13. Please provide a list of any errors in your server’s log files. – Nope, shared server.

    14. Which company provides your hosting? Hostgator

    #66225
    Tim Nicholson
    Participant

    Enlightenmental1, I’m not sure if you are a developer or not, but if so there is a function called bp_core_get_total_member_count() in bp-core.php. That function will return the total number of members. However, keep in mind that this may be different than the total number of registered users in WP if you didn’t have BP up and running from day 1. If you are going to hack the core WP admin screens, you should make sure to check that the BP plugin is activated before calling that function.

    #66217
    Tim Nicholson
    Participant

    Ok, here’s where I’m at so far. I found out what BP uses to determine if a WP user is a BP user. There is NOT a separate table for BP users. A WP user is considered a BP user if that user has performed ANY “activity”. The BP Members page displays ONLY users that have done something in BP.

    For example, when a new user registers, an activity is created saying that user registered. The standard WP user meta table (wp_usermeta) gets a record added for that User ID called “last_activity” and the meta value is the current date and time. Once a user has a last_activity record, then they are displayed in the BP Member directory. You’ll notice that in the Member directory it shows the total users, which should be your total number of WP users, but it also says “Viewing member 1 to x (of x active members”.

    I have verified this by manually adding a record to the user meta table for one of my users that registered before I was running BP. That person now shows in the BP member directory.

    Now I also see code in BP that attempts to update (or create if not found) the user’s last_activity meta record every 5 minutes while they are logged in. This is so that BP can show how long ago a particular user was “active” for various pages and widgets. I tested this by logging in as another WP user (non-BP user) and it added the record and now displays that person in the list. It also seems to have added that user’s full name in the BP custom profile field table (wp_bp_xprofile_data).

    So without doing ANYTHING, our BP member directory will grow as users log in to our site. This probably isn’t a bad thing because if there are users that registered a long time ago for some reason and don’t plan on ever coming back, why list them in the directory?

    However, I may still go ahead and try to figure out the best way to programatically add records for all the WP users. My site is new and since I only have 221 users, I’d like to have them added to BP, if for no other reason than for better testing of the plugin before I roll it out. I currently have BP activated, but have hidden all the menus so user’s don’t really know how to get to any of it. My site is at http://xtremelysocial.com if you want to check it out. Just go directly to a BP URL, such as http://xtremelysocial.com/activity/. I’m jacking around with adding BP support to my highly customized WP theme right now so if the formatting looks whacky, that’s why.

    I’ll post an update if I work something out programatically to add all the WP users to the BP member directory.

    isos
    Member

    I’m using wpmu 2.9.1 and buddypress 1.2.1. I’m having this issue after the upgrade to 1.2.1. I can create users in the back end, and they can create posts and pages, but if they sign up through the /register/ page, then they do not have an “Add New” option for posts or pages, even though the user is an Administrator on that blog, and has activated their account.

    #65952
    peterverkooijen
    Participant

    Is user_register the same point in the process as wpmu_activate_user?

    I’m still on BP 1.1.3, still have to upgrade to 1.2…

    #65899
    chip-d
    Member

    I too have also tried to use the tutorial that carrotcreative has mentioned, but not managed to get it working. The reason for my problem though I believe is that I am trying to use BuddyPress 1.2.1 on a standalone installation of WordPress 2.9.2. The tutorial is referencing the hook “bp_core_activate_account” which as far as I can see is in turn calling the function “wpmu_activate_signup” which I am guessing doesn’t exist outside of MU.

    I’ve tried using the “user_register” too hook onto and run the “update_usermeta” ,but that doesn’t appear to be working. Does anyone know what hook should be used for standalone WordPress in the absence of “bp_core_activate_account”

    Thanks.

    #65879
    danbpfr
    Participant

    Have you tried to use your WPMU alone at first ?

    I recommand you to test anything in WPMU (creating blogs, users, sending mails, etc)

    If all is ok, install buddypress and deactivate all the 7 BP plugins (buddypress ->options) exept one . View if it’s working, activate the second, and so on…

    #65739
    snark
    Participant

    Running single-user WP 2.9.2 / BP 1.2.1. Downloaded v. 1.1.4 of Tweetstream, but got this error when trying to activate it:

    Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /var/www/vhosts/……/wp-content/plugins/tweetstream/twitter/EpiCurl.php on line 4

    #65588
    Windhamdavid
    Participant

    i’m unaware of a variable as i don’t believe there is a distinction b/t a registered user and an un-activated user in wpmu_create_user() but you might investigate bp-core-activation.php and wp-includes/wpmu-functions.php (ms-fuctions.php for 3.0-alpha for wpmu_create_user() & wpmu_activate_signup() to see if you can hook in there.

    #65574
    andrew_s1
    Participant

    Code revised to give protection even if buddypress gets deactivated: adds a second line of defence by hooking a wordpress action too. I’ve assumed that there’s no conflict here, but I don’t know if these two hooks collide. It seems to work ok.

    <?php
    /*
    Plugin Name: BuddyPress Lockdown
    Plugin URI: https://buddypress.org/
    Description: Lock down your BuddyPress site if a user is not logged in.
    Author: Andy Peatling & Andrew_S1
    Version: 1.2
    Author URI: https://buddypress.org/
    Site Wide Only: true
    */

    function bp_lockdown() {
    global $bp;

    if ( BP_REGISTER_SLUG != $bp->current_component &&
    BP_LOGIN_SLUG != $bp->current_component &&
    BP_LOGIN1_SLUG != $bp->current_component &&
    !is_user_logged_in() ) {
    bp_core_redirect( site_url( BP_LOGIN_SLUG ) );
    }
    }
    function wp_lockdown() {
    if ( !is_user_logged_in() ) {
    auth_redirect( 'wp-login.php' );
    }
    }

    add_action( 'bp_init', 'bp_lockdown');
    // if no buddypress, have a backup plan
    add_action( 'send_headers', 'wp_lockdown');
    ?>

    #65430
    peterverkooijen
    Participant

    As far as I know wpmu_activate_user is a plugin action hook. Also mentioned here. It works for my function. Not sure what you need exactly.

    #65425
    carrotcreative
    Participant

    I’m not sure that I follow this. I can’t find this action “wpmu_activate_user” . Are you referring to “wpmu_activate_signup?”

    #65423
    peterverkooijen
    Participant

    I use a function with something like this:

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

    $uid = get_userdata($user_id);
    $email = $uid->user_email;

    $fullname = $meta[field_1];

    ...
    update_usermeta( $user_id, 'nickname', $fullname );
    ...
    }
    add_action( 'wpmu_activate_user', 'synchro_wp_usermeta', 10, 3);

    Andy Peatling
    Keymaster

    Deactivate BuddyPress and perhaps try manually clearing your user blogs table. Then reactivate.

    #65106
    zageek
    Participant

    I installed the 1.2.1 update and I can see whats going on in the activity pages and I can see the blogs listed but when I click on them it goes back to groups. Groups seems to be the landing page for my site and I can’t access the front page. This is defnitelly BP related because when I deactivate BP and go back to WPMU themes then I can see everything.

    I am running WPMU 2.9.1 with BP 1.2.1

    Check out my site http://www.arduino.za.net to see what I mean.

    #64691
    @mercime
    Participant

    We definitely need a plugin which will allow user to deactivate BuddyPress triggering automatic deactivation of all BP-related plugins/components AND auto-revert theme to WP Default Theme :-)

    #64597

    In reply to: BuddyPress Maps

    peterverkooijen
    Participant

    Grosbouff, are you aware of the Geo Mashup plugin. Couldn’t you leverage that?

    I installed and activated Geo Mashup site-wide, but then it asks all the member blogs for their own Google API code in the wp-admin, which is annoying and will confuse many users.

    Haven’t had time to test your plugin yet, but if it does the same as Geo Mashup, I’d rather have a cleaned up BP-ready version of Geo Mashup.

    #64592
    dailynewarker
    Participant

    @Tore, thanks. It occurred to me that I should remove all of the plugins from every blog. I gave that a shot for my blogs and still no joy. It could be that other users have some plugins active that I should try to deactivate, but this wasn’t an issue until upgrading to BP 1.2.

    Could it be an .htaccess thing? The register link is trying to go to /wp-login.php?action=register, which is redirecting to /register. What should happen is that BP shows the registration.php file from the theme, but it’s just redirecting from /register to the root site (dailynewarker.com/).

    I was kind of hoping other people would be having this issue. :-( Perhaps there’s something wrong with my install?

Viewing 25 results - 726 through 750 (of 902 total)
Skip to toolbar