Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wp user activate'

Viewing 25 results - 251 through 275 (of 902 total)
  • Author
    Search Results
  • #235698
    rosyteddy
    Participant

    @danbp Yes the plugin is network activated. Try visiting/clicking the links like Archives / Categories – Refresh and come back to the site home page.

    If you have been unable to reproduce it will mean I am doing something weird or its a browser related problem ( I am using the very latest FF ).

    This post is not meant to take up moderator time ( that time is really precious and since we have WP BP stuff scattered over so many sites) – I just posted to see if any user has similar issues and workarounds. This happens in Twenty Fifteen theme only, so there are other themes which I can use without any issues,

    Thanks a lot for testing @danbp.

    danbp
    Participant

    hi @rosyteddy,
    guess the mytery sit here: http://localhost/wordpress/userA/

    Multisite (subdomain or subdirectory) need that wordpress stays at the site root. At least for a default install.

    SSite: hxxp://my_site.com
    MS: hxxp//my_site.com

    MS subdomain: hxxp//wouah.my_site.com
    MS subdirectory: hxxp//my_site.com/wouah/

    A local install (wamp, mamp or xamp) is mostly in a ‘www’ folder at your hard disk root C://
    (recommended path) Refer to your software documentation for more details about installing Wamp/Mamp/Xamp – at least about localhost in URL. In the latest version (wamp 2.5), this is no more used. In my case, the local URL is http://my_site/wp-admin/….

    C://www represent the private part of the site path. The equivalent of /var/your_account/htdocs/ on a production server.

    The same path scenario goes localy
    C://www/my_site (avoid confusion and don’t use WordPress as site name)
    My_site folder contains all WP directories and files:

    My_site/wp-admin
    My_site/wp-content
    My-site/wp-include
    My_site/wp-config.php and so on…

    At the end of the install, you got a htaccess file containing:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    The important things here are rewrite engine on and rewrite base /, where the slash means “start to manage site URL’s form this point”, which is /…/…/var/your_account/htdocs/<- from here !!!

    Before installing BuddyPress, activate pretty permalinks to what you want, EXCEPT default. Save. I do this before, because WP likes also pretty permalinks, and so i don’t forget to do it after i finished with a BP install.

    Install BP and setup (or at least control if they exist) the choosen component page(s).

    If you do this, you won’t have 404 or other issues, no matter if you use MS or subdirectories or subdomain. WP alone will work, and BP too.

    The most important advice if you want to work localy, is to setup correctly apache (mod_rewrite is not activated for ex.). And if you use it with windows, to double-check anything, including HOST file where you have to declare manually each of your local sites (since wamp 2.4 – don’t remember exactly)

    # localhost name resolution is handled within DNS itself.
    127.0.0.1       localhost
    ::1             localhost
    
    127.0.0.1       my_site
    ::1             my_site
    
    127.0.0.1       my_other_site
    ::1             my_other_site
    #235503

    In reply to: BuddyPress and Divi

    danbp
    Participant

    Hi @dorothykbiz,

    thought BP is not correctly configured.

    On the left menu, the member item shows ‘Log in’ who links to wp-admin. This is not the right way for users to login when BP is activated. Better you use the login widget. It’s a contextual widget, showing different items for loggedin/logged out users. The idea behind this, is that a visitor can login without changing screen:page. All is done from the same place, which is much better and faster as going to wp-admin login page and be redirected.

    Per default, you should also have a register page and an activation page.

    Your actual register page is here:
    rotaryeclubgreatermelbourne.org.au/register-3/

    should be:
    rotaryeclubgreatermelbourne.org.au/register/

    Check the page admin and remove all pages from trash (-3 means that you created 2 other register page which are registered and/or trashed but not deleted). When you delete something in WordPress, it goes to Trash, but it’s not removed from server. As in real lif, you have to empty the trash to really delete it… (read here)

    The activation page doesn’t seem to exist
    http://rotaryeclubgreatermelbourne.org.au/activate/

    To fix this issue, go to bp settings > pages and activate the register and activation pages.

    Once all is correctly working, you can apply again ‘members only’ rules.

    Hugo Ashmore
    Participant

    @studdlypig
    The admin user or primary user that is setup when a wordpress site installed is always able to login directly, and it’s initally only that user that can activate plugins i.e BuddyPress so I’m not sure why you are having trouble with activation requests. /wp-login.php should allow the admin to login regardless of whether BP is activated or not.

    What account are you trying to login with, the admin user ID 1 ?

    In the BP settings screen ‘Page’ tab what page have you associated to ‘Activation’ in the select box, as the redirect here appears to be the main issue and the WP link to login on the WP toolbar should redirect to the wp-login screen, which you can actually access directly by modifying your browser url so you can actually login as admin and manage your site.

    fyi you shouldn’t have to trouble your web hosts to deactivate BP, using a control panel or ftp you can rename the plugins folder which will force a deactivation of the plugin or any plugin if they give trouble.

    #235339
    danbp
    Participant

    Actually you have a single install with BuddyPress with N members and activities.

    Nothing will be deleted if you activate the site as network.

    That said it’s strongly recommended to dump your DB before doing this.

    For a better overview of the DB, see here
    The BP tables are the same on MS as on a single install, and WP adds only new tables for each blog and only if you create one at least.

    WP’s user table stays intact in any case, like bp activities and others related to members (profile, message and so on).

    This can help you too:
    https://codex.wordpress.org/Importing_Content
    https://wordpress.org/support/plugin/import-from-ning

    #234905
    danbp
    Participant

    @henrywright,

    good idea really.
    I have same issue as @peter-hamilton
    Local single install, WP 4.1.1, 2012, php 5.5.12 with only BP 2.2, bbPress and bp-default-data

    Admin use gmail, and also all dummy users created with BDD plugin.

    – first time i activated BI, all users showed the mystery man. And plugin works, as i see the border.
    – changed profile photo of admin: custom picture appeared.
    – removed the picture: identicon appeared on the admin account.
    -tried to do same thing with a dummy user. Nothing happened.
    – create a new user from back office, with gmail address, identicon showed up
    – all other dummy users comes with mystery man.

    – manually created a identicons folder in /uploads/

    – modified all dummy user mail address. Mystery man still showing.
    – applied a custom picture to one, ok, then removed. Mystery man again.

    – tried global settings to “empty avatar”. Nada ! Reverted to default MM setting and still no identicon.

    By default, members that haven’t uploaded a profile photo are given a mystery-man avatar. This BuddyPress plugin automatically replaces default avatars.

    BI seems to work only for newly users, with a big exception for the site admin.
    gmail icon has no priority, even if it is not a “default” picture.

    But it is not uploaded, which may probably be the logical disturbing point of this issue ?

    On a dev site, using this plugin would really help to avoid calling an external avatar service.
    Would also be true for a prod site, where specially gravatars are mentionned to be optimized as they slow down page speed.

    Implementing some options to the existing WP avatar settings to allow/disallow gravatar, gmail, etc , or to let BI playing alone OR aside existing settings, would be a huge improvement.

    šŸ˜€

    #234712
    danbp
    Participant

    hi @vikingpoker,

    I’m sorry to hear that BuddyPress has upset you.
    Members are the heart of BuddyPress and the plugin comes with anything necessary to let you manage them.

    We might be able to help, would you please let us know exactly which components you activated during the BP setup ?

    BuddyPress use the WordPress page system for internal purpose only. Content is shown dynamically, depending the context. When you click on a username, BP calls the pre defined member page and use the appropriate template to show the profile.

    BuddyPress has also his own menu, on which you’ll find activity, members, groups so far you have activate the respective component. To access this menu, go to dashboard > appearence > menu. If you don’t see it, go to the top right corner of the screen and open the sceen option, and check “buddypress”.

    You’re using a framework theme, which is not the easiest to handle if you have not much experience with WP theing. I tested it a while ago and can understand your disapointment. You may probably find good advice about BuddyPress on the Hueman support forum.

    I would recommend you to use 2015 or 14 theme during the time you familiarize yourself with BuddyPress.

    I invite you to read also the Codex to start with your BuddyPress.

    Oh, and if you don’t understand why this is not a #1 topic in this forum, it’s probably because a large majority of user haven’t this issue. And discover here all what you can do with BuddyPress. šŸ˜‰

    #234602
    officeFocus
    Participant

    Not multiblog that I can see – I have installed twice and still missing “Register” and “Activate” pages. All help displays settings I can’t see. Irony is I have a constant spammers registering as WP users, but I can’t find a way. I have Woocommerce and “Canvas” theme active, but have deactivated both with no change in outcome.

    #234497
    djsteveb
    Participant

    @jessiewordpress
    I would assume they are listed as pending because they did not get click an activation in email yes.

    Now does that mean that your server sent an email correctly and they actually recieved the email? Who knows.. sometimes my bp emails get auto-blackholed for some email services and users will never get an email from my bp site if they have say “gmail” or yahoo or something… (there are different methods for sending email via wordpress, some are less “flagged-as-spam-automatically” than others.. sometimes users do get the emails but they end up in a junk folder..

    sometimes it’s spammers trying to setup a fake account and they never will click on activate…

    if you start to get a lot of these, you might want to look into how your wp install is sending emails, what the headers look like, and see if you can adjust with something like a “wp mail via smtp” plugin or something.. and if you need to manage a bunch of pending users you might want to see if https://wordpress.org/plugins/unconfirmed/ is working with current bp version..

    random thoughts, hope they help.

    #234279
    majecdad
    Participant

    Ok, so I thought I was either crazy or missing something simple, but this exact same thing is happening to me.

    I ‘promote’ a member to Moderator, their avatar shows up as “Group Mod” – however, they never realize the ability to delete content within that group (except their own, of course).

    Interestingly, after this ‘promotion’ their Forum role never changes from ‘participant’ in the WP users page, and their Site role stays at Subscriber. (not sure if that is normal behavior?)

    I have deactivated all the other plugins except bbpress and buddypress, and the required theme plugins. I have tried it on two different themes.

    If I promote the user to Group Admin, they do realize the delete privileges, but that’s not what I want to do as it includes other group edit functions.

    WP 4.1
    BP 2.2
    bbp 2.54

    Any guidance is greatly appreciated.

    #234022
    gina
    Participant

    Thank you SO much for the quick response..

    WP Version 4.1
    Multisite
    It is network activated on the main site
    I have the invite anyone plugin installed so it is set to “Logged in users may register new sites.”
    WP Super Cache

    It is the weirdest thing because it was just working the other day… :/

    #234013
    Mathieu Viet
    Moderator

    Interesting discussion šŸ™‚

    First i’ll explain why i’m using bp_is_active( 'activity' ) : it’s just an extra check to be absolutely sure the activity component is active. I do it because BuddyPress is a set of components you can activate / deactivate from the BuddyPress settings. So if the activity component is not active, no need to add Post Type activities. And when you develop a BuddyPress plugin, you need to remember there can be configs that deactivated the component you are extending.

    Second, about the contexts argument. In this codex page https://codex.buddypress.org/plugindev/post-types-activities/ i’m describing a bit his role
    Here https://codex.buddypress.org/themes/activity-dropdown-filters-in-templates/ i’m talking about the way we are getting the activity types since BuddyPress 2.1 And finally reading this page https://codex.buddypress.org/developer/function-examples/bp_activity_set_action/ you will see the interest of the contexts argument.
    In short the contexts argument is a way to control where you want an option (activity action) to be displayed. For instance if you want to include an option into the single group’s home page dropdown filter you do contexts => array( 'group' )

    In the case of a post type, i think in most cases there’s not a great interest to have the activity filter in the group’s single home page because in most cases the post type have been created out of a BuddyPress group (mainly in WP Admin actually). That’s why in my example i suggest to use 'contexts' => array( 'activity', 'member' ), ‘activity’ means display the dropdown option into the activity directory and ‘member’ display it into the member’s profile. The ‘member’ context is interesting in the case of Post Types activities because a post type is always created by a user_id.

    Now with the question “could it be possible to display Post type activities into a given group’s stream ?” we must understand this part 'component_id' => 'activity' Here you are defining the component you want the Post type activities to be linked to. So you could say cool! lets put ‘groups’ to have activities in groups. But here you’d be wrong because all generated activities would be displayed in the first group the one having the id #1 (If multisite it could give another illusion…) Why id #1, because it’s the id of the blog where was created the post type. So you would need to have a different value depending from which group the post type was posted. As in core we don’t include a feature to post a post type from a group, by default we are setting the item_id field to the current blog.

    Unless you want to arbitrary display the activity in one particular group, i’d say this need should only concern Plugins extending the Groups component. Of course it’s possible, and i’ve done it for one of my plugin.

    I hope my explanations will help you @youmin.

    #233501
    modemlooper
    Moderator

    WP won’t allow any character. WP uses sanitize_user function to strip out.
    https://codex.wordpress.org/Function_Reference/sanitize_user

    First thing I would do is deactivate all plugins and test WP registration alone to see if its WP issue. If it is then search and post in the wp.org forums.

    #233083
    Henry Wright
    Moderator

    I tried to delete actiavion_key for them in wp_usermeta, but they still appear as unactivated.

    Deleting the activation key alone through the database won’t activate a user. There are more tasks that need to be done in order for a user to become activated. See the bp_core_activate_signup() function in bp-members-functions.php for details on how BuddyPress does it.

    #233081
    lustek
    Participant

    thank you all for your help. it’s getting more clear. now I have a final question. I’ve installed the plugin unconfirmed – it is almost the same as built-in bp functionality: /wp-admin/users.php?page=bp-signups. The only difference is that is shows activation keys also.

    My last question is about the number of unactivated records. Unconfirmed plugin shows exactly the same number I have in the database with status=2.

    But /wp-admin/users.php?page=bp-signups shows more users as unactivated – also those whom I changed status to 0 directly in the database. I tried to delete actiavion_key for them in wp_usermeta, but they still appear as unactivated.

    It’s not really a huge problem, as they can log in. But I want to have order in our database – so what else should I change so that they don’t show in activation section?

    #232887
    spiritix
    Participant

    Never mind, I think I have it šŸ™‚
    [edited – please use the ‘code’ button to share snippets]

    add_action('bp_core_activated_user', 'bp_custom_registration_role',10 , 3);
    function bp_custom_registration_role($user_id, $key, $user) {
       $userdata = array();
       $userdata['ID'] = $user_id;
       $userdata['role'] = xprofile_get_field_data('Typ konta', $user_id);
       
       if ($userdata['role'] == 'User1') 
          $userdata['role'] = 'subscriber';
       
       if ($userdata['role'] == 'User2') 
          $userdata['role'] = 'subscriber';
       
       if ($userdata['role'] == 'User3') 
          $userdata['role'] = 'contributor';
    
       //only allow if user role is my_role
       if (($userdata['role'] == "subscriber") or ($userdata['role'] == "contributor"))
          wp_update_user($userdata);
       
      }
    #231196
    danbp
    Participant

    @mamtagupta,

    did you missed BuddyDrive settings ? See
    dashbord > settings > buddydrive (wp-admin/settings.php?page=buddydrive) where you can handle mime types; slugs, max file size upload etc

    Once activated the buddydrive access is showing in the usermenu (top right corner)
    your-site/members/username/buddydrive/

    A user must have uploaded a file to appear on the buddydrive admin (your screenshot is empty) !

    A good start point for buddydrive is to read the plugin doc. For any technical question about this plugin, please use the plugin support.

    If all this is already checked, as you use many security and cache plugins, i recommand that you check these different settings to track some special authorization who maybe disallow file uploads or that kind of restriction…

    Aside, your site is not updated and you use a dangereous sensible (temp admin) username.

    #231080
    danbp
    Participant

    This is not a BP issue but a user setting error.

    Go to Dashboard > Pages > Members – quick edit > deactivate Allow comments.
    Do the same thing for all other activated components page.

    Check your WP & BuddyPress comments settings.

    Check also your theme docmentation as it could be that he use a custom setting for comments.
    If you don’t know or find, activate one of wp’s twenty theme and see if the issue is still there.

    #231054
    danbp
    Participant

    hxxp://vibral.co.za/wp-login.php?action=register. This is correct and not an issue.

    On the Toolbar (now that it is correctly showing), from left to right

    WP logo icon with some related wp site and stuff in sub-menu

    BuddyPress Admin menu (or network admin), and if multisite, access to the different other dashboards. As super-admin you will see all probably.

    Note when network is activated, you have by default 2 dashbords anyway. The mainsite or network dashboard and WP’s dashboard.

    Edit menu – depending your role on the site you access from here to new post, comments and so on.

    And on the right, the howdy menu aka usermenu. Where sit a login/logout menu and all the access links to your buddypress profile, messages, groups, etc

    So far, so good. But what do you want to achieve now ?

    #231047
    Vibral
    Participant

    Thanks for replying @danbp

    I’ve acted on all your notes, but there are still some issues. First in terms of what I did:
    1. I did go ahead and upgrade the theme, but I also switched the theme to twenty-fourteen as I saw a buddypress video where this theme was in use and gave good results in terms of buddy press.
    2. I’ve removed the definition as per your ticket link
    3. I’ve refreshed my pages removing duplicates
    4. I’ve deactivated the ‘Show the Toolbar for logged out users’

    The issues I still have:
    1. The buddybar that I want is in my wp-admin, but not on my site. In fact there is an even better buddybar right here on this page (look up) which has the link to buddypress.org and “My Sites” which is needed for me since I’m running multisites. How can I get this bar on my site?
    2. Having followed your instructions, there’s no toolbar at all, which is not what I want; I do want users who aren’t logged in to be able to do so without my added links in the site itself to a log/reg page

    Please advise; thanks in advance

    #231036
    danbp
    Participant

    Tempera theme was recently updated and normally you haven’t to use the old buddybar.
    So the define is of no utility… (see ticket)

    BP use now the WordPress Toolbar.

    It looks also that you have 2 activity pages, 2 members page and 2 groups page. There should be only one. See if you have deleted pages, and clear the trash.
    Also set up the pretty permalinks (anything but default), or at least re-save that setting page.

    Finally, make a test with one of wp’s default theme, bring anything to work, before activating Tempera.

    I use another theme of the same author, and if like i suspect, there is the same theme customization tool in Tempera, you must be carefull with that theme settings.

    In BP settings, you have an option to show/hide the toolbar to logged out user. Deactivate it.

    And read the theme doc attentively ! šŸ˜‰

    #230718
    danbp
    Participant

    Hi @amic58, @tecca

    When BP is installed and xProfile is activated, the original WP profile settings are not accessible to user.

    The WP register process use only username, password and email and BuddyPress add by default a Name field as base for other extended profile fields.

    In short this means that username and name fields can contain a same information(a name, a pseudonym, a first or/and a last name). The plugin you mention is best for a WP install where user had choosen first/last name as output on post, comments, etc Once BP is activated, this became a little different.

    Now to the initial question.
    The CSS trick is a very inelegant solution as it lets everybody knowing how BP works to surround this invisibility. You’re also loosing any flexibility if you want to show some fields privately for example.

    You can do this properly with a little snippet, as explained here:

    Using bp_parse_args() to filter BuddyPress template loops

    Here’s an example which let you hide fields or fiels group to members, but not to site admin

    function bpfr_hide_profile_field_group( $retval ) {
    	if ( bp_is_active( 'xprofile' ) ) :	
    	
    	// hide profile group/field to all except admin	
    	if ( !is_super_admin() ) {		
    		//exlude fields, separated by comma
    		$retval['exclude_fields'] = '1';  
    		//exlude groups, separated by comma
    		$retval['exclude_groups'] = '1'; 			
    	} 
    	return $retval;		
    	
    	endif;
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );

    Add it to bp-custom.php or your child-theme functions.php

    Of course you can also choose to show a field or group, but remove the possibility for the user to edit it later. Simply add more conditionnal to the function.

    Here another example:

    function bpfr_hide_profile_edit( $retval ) {	
    	// remove field from edit tab
    	if(  bp_is_user_profile_edit() ) {		
    		$retval['exclude_fields'] = '54'; // ID's separated by comma
    	}	
    	// allow field on register page
    	if ( bp_is_register_page() ) {
    		$retval['include_fields'] = '54'; // ID's separated by comma
    		}		
    	
    	// hide the field on profile view tab
    	if ( $data = bp_get_profile_field_data( 'field=54' ) ) : 
    		$retval['exclude_fields'] = '54'; // ID's separated by comma	
    	endif;	
    	
    	return $retval;	
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_edit' );

    Hope to be clear.

    #230201
    danbp
    Participant

    You have to build a correct url !

    Give this snippet a try: (add to child theme’s functions.php or bp-custom.php)

    /* add a menu item to WP Toolbar */
    
    function olala() {
    	
    global $wp_admin_bar;
       /* check if user is logged in and if friend component is activated */
    	if ( is_user_logged_in() || bp_is_active( 'friends' ) ) :
      
       /* building the slug */
    		$href = bp_loggedin_user_domain() . '/' . bp_get_friends_slug() . '/';
    	endif;
    
       /* building the menu	*/
    	$wp_admin_bar->add_node( array(
    	'id' => 'myfriends',
    	'title' =>  'Friends',
    	'href' => $href
    	));	
    	
    }
    add_action( 'admin_bar_menu', 'olala', 100 );
    #230051
    tim_marston
    Participant

    Thanks @henrywright

    Here is the list:

    Admin Tweaks
    Advanced Excerpt
    Antispam Bee
    bbPress
    Bowe Codes
    BP Auto Activate Autologin Redirect To Profile On Signup
    Bp Clear Notifications
    BP Group Activities Notifier
    Broken Link Checker
    BuddyBlock
    BuddyPress
    Buddy Press Activity Ads
    BuddyPress Activity as Wire
    BuddyPress Activity Comment Notifier
    BuddyPress Activity Privacy
    BuddyPress Block Activity Stream Types
    BuddyPress Live Notification
    BuddyPress Profile Visibility Manager
    BuddyPress Security Check
    BuddyPress Usernames Only
    Delete Expired Transients
    Duplicator
    Email Login
    Facebook Like User Activity Stream For BuddyPress
    Google Analytics +
    Imsanity
    Infinite SEO
    Insert Headers and Footers
    Mailjet for WordPress
    Menu Items Visibility Control
    OPcache Dashboard
    Post Voting
    Pretty Link Lite
    Query Monitor
    Random Banner
    rtMedia for WordPress, BuddyPress and bbPress
    rtMedia Pro
    s2Member Framework
    SearchWP
    SearchWP bbPress Integration
    Social Likes
    Subscribe To Comments
    User Activity
    Wordfence Security
    WordPress FAQ Manager
    WP-DBManager
    WP-Memory-Usage
    wp-Monalisa
    WPBakery Visual Composer
    WP Better Emails
    WP External Links
    WP Maintenance Mode
    WPMU DEV Dashboard
    WP Widget Cache

    #228998
    jbird
    Participant

    Ok, so I just tried again with the Twenty Twelve theme and every single plugin (including Akismet) deactivated, except for Buddypress.

    While logged in under a test user account, I left a new comment on a blog post, and still no comments showing up in the activity stream at all. (It shows up under the post itself, and I’m getting new comment notifications to my admin email, so the general commenting is working…just not in conjunction with the Activity stream.)

    *sigh*

    Are there any other settings elsewhere in WP that might be causing this? (I just LOVE when I am the one to discover problems that no one can seem to solve šŸ™‚

    Thanks so much for your advice!!

Viewing 25 results - 251 through 275 (of 902 total)
Skip to toolbar