Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'hide login'

Viewing 25 results - 1 through 25 (of 125 total)
  • Author
    Search Results
  • #334864
    Renato Alves
    Moderator

    Three things:

    – I can’t replicate the issue you have.
    user_name is not a valid field, btw. It was deprecated.

    Using the followwing payload, I actually get this in BuddyPress 14.0 since you are using + in the user_login, that’s not valid.

    Request Payload.

    
    curl -X POST "https://bp-demo.test/wp-json/buddypress/v1/signup/" \
         -d "context=edit" \
         -d "user_email=pratik@testmail.com" \
         -d "user_login=testthe+request+" \
         -d "password=\"']));L)Q542q8dL3" \
         -d "signup_field_data[0][field_id]=1" \
         -d "signup_field_data[0][value]=testthe+request+" \
         -d "state=gggg" \
         -d "country=AZE" \
         -d "postal_code=444444" \
         -d "mobile_phone=555555555"
    
    
    {
      "code": "bp_rest_signup_validation_failed",
      "data": {
        "status": 500
      },
      "message": "Usernames can contain only letters, numbers, ., -, and @"
    }
    

    Here is the BP configuration I have locally, taken from my local site: https://bp-demo.test/wp-admin/site-health.php?tab=debug

    
    version: 14.0.0
    active_components: Extended Profiles, Settings, Friend Connections, Private Messages, Activity Streams, Notifications, User Groups, Site Directory, Members, Members Invitations
    url_parser: BP Rewrites API
    global_community_visibility: anyone
    template_pack: BuddyPress Nouveau 14.0.0
    ! hide-loggedout-adminbar: Yes
    ! bp-disable-account-deletion: Yes
    ! bp-disable-avatar-uploads: Yes
    ! bp-disable-cover-image-uploads: Yes
    bp-enable-members-invitations: No
    bp-enable-membership-requests: No
    ! bp-disable-profile-sync: Yes
    ! bp_restrict_group_creation: Yes
    ! bp-disable-group-avatar-uploads: Yes
    ! bp-disable-group-cover-image-uploads: Yes
    ! bp-disable-group-activity-deletions: Yes
    ! bp-disable-blogforum-comments: No
    _bp_enable_heartbeat_refresh: Yes
    
    #331678
    lemiran
    Participant

    Hi there
    I have a wordpress v6.3.2 with
    > BuddyPress v11.3.2
    > ProfileBuilder v3.10.1 (in order to have custom fields during registration)
    > Elementor Pro

    I have 2 weird behaviour.
    1- Non admin users, can see the admin bar with… MY account when they logged in.
    Fortunately, they cannot go in my account.
    To avoid that, for the moment i installed a plugin : Hide Admin Bar Based on User Roles

    2- The non admin accounts go directly in the backoffice when they log in (with the connexion button widget of elementor)

    Could you please help me?

    Best regards

    #329901
    flamuren
    Participant

    Hi,

    I am building a membersite using buddypress, bbpress and package it with buddyx theme.

    If I visit as non-logged in I can see activites, forums, member etc. Is it possible to somehow block that? Perhaps re-direct to a login/register page as facebook does?

    Best regards,

    flamuren

    #328484
    pow3rj
    Participant

    @wiq & @vapvarun I know this thread is more than 2 years old, but I’m facing the same issue and a google search lead me here. I applied the above fix with the 2 plugins: WPS Hide Login and Restricted Site Access, which got rid of the error message, but created a whole new issue. Restricted Site Access now prevent my site from being indexed by search engines. No bueno. Has anyone else faced and resolve this issue?

    #327117
    Anonymous User 18187419
    Inactive

    hi vintagefan, you can use the plugin “Remove Dashboard Access” (by TrustedLogin) to restrict dashboard access to admins only. Search for it.

    You can also hide that upper-left item from the admin bar with the following code snippet:

    function remove_admin_bar_items() {
    
    global $wp_admin_bar;
    $wp_admin_bar->remove_menu('site-name');
    }
    add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_items' );

    You could use the standard Subscriber role for new users, they would not have dashboard access.

    #323623
    ayllachristinne
    Participant

    Thats the code:
    function buddydev_hide_members() {
    $allowed_roles = array( ‘administrator’, ‘editor’ );
    $hide = true;
    $user = wp_get_current_user();

    if(str_contains($_SERVER[‘REQUEST_URI’], ‘/membros/’)){
    //REDIRECIONA PARA LOGIN SE NÃO ESTIVER LOGADO
    if ( !is_user_logged_in() ) {
    wp_safe_redirect(get_permalink(get_page_by_path(‘login-registro’)));
    exit;
    }

    //CHECANDO SE TEM O PAPEL QUE PODE VISUALIZAR
    foreach ( $allowed_roles as $role ) {
    if ( in_array( $role, $user->roles, true ) ) {
    $hide = false;
    break;
    }
    }

    if( ! $hide ){
    return;
    } elseif(!bbp_is_user_home()) {
    wp_safe_redirect(bp_loggedin_user_domain());
    exit;
    }
    }
    }
    add_action( ‘bp_template_redirect’, ‘buddydev_hide_members’);

    #323239
    Avi Nayar
    Participant

    You do not need to return to a previous version, just turn off the plugin “easy hide login”

    #322843
    atfpodcast
    Participant

    How can I do this in the current version? Then when they login it is there so they can edit etc their profile.

    rigsbyx
    Participant

    Thank you so much!

    Yes, I am using a plugin to hide the login page, which has worked wonders for many years, and obviously wish to keep it hidden. I will check Pmpro and similar plugins because I don’t use Woo.

    Thanks : )

    junerns
    Participant

    Hello,

    I need to remove or hide the login and registration buttons on my site.
    We use the Sweet Date theme

    benofinil
    Participant

    Hello !

    First of all, I apologize if the answer already exists, but I am new to the php language, and I do not understand much …

    I created a website for an organization, and I set up a community space thanks to Buddy Press and Youzify.

    Here is my question: I want to make this space completely closed, and not accessible to non-logged in users. I tried putting this php code in wp-content / plugins / bp-custom.php:

    <? php
    / **
    * Redirect the Buddypress directories to the login page for non logged in users.
    * /
    function yzc_redirect_bp_directories_to_login_page () {

    if (! is_user_logged_in () && (bp_is_groups_directory () || bp_is_members_directory ())) {

    // Get pages Buddypress;
    $ bp_pages = get_option (‘bp-pages’);

    // Get the redirection URL
    $ redirect_url = youzify_get_login_page_url ();

    wp_redirect ($ redirect_url);
    go out();
    }
    }

    add_action (‘template_redirect’, ‘yzc_redirect_bp_directories_to_login_page’);

    Now unconnected users cannot have access to member directory and groups directory, but I would like to block access to all BuddyPress pages (such as member profile pages, activity page. ..) and redirect to the login page.

    Could someone help me complete this piece of code?
    Thank you for your help

    #319766
    veshop
    Participant

    Hello,

    does anybody know if such a tutoral exists also for buddypress?: https://www.champ.ninja/2020/05/show-passwords-feature-in-ultimate-member-forms/

    Maybe I was searching for the wrong terms. I have hide/show password with wp-admin.php of course but not for regular members when registering or loggin in, so I would like to add this.

    #319278
    gringanc
    Participant

    Dumb question, but is bbpress the same thing as buddypress? Will the bbp shortcodes work on Buddypress? Without a plugin? We have seen other references that [bc-…] are shortcodes for BuddyPress, where as [bbp-…] is for BBpress.

    Use case: We’re trying to have our own login page and hide the WordPress bar for non-admin users. The login does not need to be a WordPress.com login for our purposes.

    paucompany
    Participant

    Hi:
    Good afternoon. I have BuddyPress version 7.3.0 installed and I observe that on mobile devices, the access and registration options are not displayed (unless you put the smartphone in a horizontal position), assuming this is a big problem since users , nor can they access or register, as they do not see the option). I would like to know if you can help me resolve this issue. I also observe that it is very prone to attempted login attacks such as brita force, Ddos, XLS, etc, as it cannot change the registration path, not even installing the well-known Hide login plugin, as it is not compatible with BuddyPress. BuddyPress redirects by default to wp-login.php and if I install the aforementioned plugin to change the rita, when trying to register, and not finding it, it obviously gives me a 404 error. It would be interesting if they made BuddyPress compatible with hide login. Meanwhile, can you offer me a solution for the change of route?

    Waiting for your response, attentively:
    Pau Company

    ppp12345
    Participant

    Hi,

    I’m clueless why you set the default value of the password visibility input to “visible” in the registration form, instead of the other way around- like the rest of the planet is doing.

    So here goes, how do I set the default password input visibility button to hide the users input of password… e.g. so it behaves like the default WordPress login behavior. Pressing a key, it blinks and gets hidden.

    I appreciate;

    1. An explanation
    2. Help to achieve which shouldn’t needed to be asked for- it is major security issue that should be resolved asap) the above
    3. Why is https://buddydev.com/buddypress-better-registration-part-1-remove-full-name-confirm-password-from-buddypress-registration/ this not working with Nouveau? Can you please explain how to make it work with Nouveau.

    Thank you for a great plugin, and look forward to prompt replay!

    #312915
    songdove
    Participant

    Update, I found a way to change the literal username, but if you’re admin, I don’t recommend it particularly if you are admin of a multi-site setup as I am. I had to change my username back to get to the multi-site administration area. Either way, the change did not hide the login name, it only changed it. Not the solution any of us are after.

    cmsplay
    Participant

    At Appearance>Widgets>BuddyPress Group’s Home

    …I have set ‘(BuddyPress) Groups: Groups’ as follows:

    Who can see this widget?: Logged In Users

    …then below under ‘User Login State’ I have set: Show only for Logged-in Users

    Why is it then that if I log out of the site, refresh my browser and re-visit the site homepage, I still see the Groups page with its separate group headings displayed?

    Can anyone tell me how to make BP Groups invisible unless users are logged in?

    Many thanks.

    #311269
    WIQ
    Participant

    @vabvarun – Thanks for your suggestion, but I need that option because only logged-in users has access to the website.

    However, you gave me an idea :-)….I solved the issue using 2 lightweight plugins: WPS Hide Login to choose my own login-url (which is better) and Restricted Site Access to replace the BuddyPress funtion and choose a custom redirect login-url. Also, the login-page is loading a little faster with these plugins.

    Problem solved. But it would be great when BuddyPress would offer those small features as well.

    #311245
    WIQ
    Participant

    Extra info: I tried the very simple plugin WPS Hide Login.

    This works, but how can I change the buddypress main login URL? So that the domain name is pointing to the login adress. Now it is:

    https://globehomeschool.nl/wp-login.php?redirect_to=https%3A%2F%2Fglobehomeschool.nl%2F&bp-auth=1&action=bpnoaccess

    When there’s no solution for the error-message, maybe I can use a custom login-url? But how?

    Hope there’s anyone out there with more knowledge than I have. 😉

    #310816

    In reply to: /Members’ slug

    globsticks
    Participant

    it worked!

    Hi Brajesh,

    My website does have a registration page, so users have to click on the logout link at some point.
    I am hiding the admin page via secret Login Slug, but I noticed that users can read its value from the URL when they log out. ¿do you happen to know how to I hide the Login Slug from logout URL please?

    !Thank you!

    Hide Login Slug value on Logout

    #309830
    bmcconach
    Participant

    Howdy, BuddyPress friends!

    I have been working on a project for fun and have been enjoying the laying out of items and adding plugin functionality a bit much here lately. So much so, in fact, that I put the testing phase on the back shelf for a bit.

    When I was attempting to request membership from a test account to a private group that my admin account was the creator of, I ran into an issue: I can get to the request page (/groups/test-group/request-membership/?_wpnonce=47febc75fe) by clicking the link to do so and then am presented with a textarea for request comments, however when I submit the form (with or without comments) I am taken back to the group’s main page (/groups/test-group/) and am presented with “There was an error sending your group membership request. Please try again.” The request does not come through (not in BP’s notifications, e-mail, pending requests, etc.) at all.

    At first this was a minor irritation because I could go to the group as the admin and invite the test account to join the group. There I am presented with a checkbox for my test account’s name, as well as a submit button; however when clicking on the checkbox, the form instantly submits without ever sending an invite. I even attempted to modify the live source to set the field to checked, attempted to submit, and received a success message stating my invite was sent, but of course it never was.

    I have checked the list of plugins I have on my site, disabled a few I didn’t necessarily need, and have checked each of the remaining to see if there’s any sort of conflict between plugins affecting groups, but to no avail. This functionality is key to the use of groups for my project, so I would sincerely appreciate any advice from more knowledgeable members of the BP community.

    Some support information, including a list of active plugins, can be found below. Please note that any plugin with ** beside it came bundled with the theme.

    == Server Environment ==
    	Operating System: Linux
    	Software: Apache/2.4.6
    	MySQL version: MariaDB Server v5.5.61-MariaDB-38.13
    	PHP Version: 7.2.24
    	PHP Max Input Vars: 2500
    	PHP Max Post Size: 64M
    	GD Installed: Yes
    	ZIP Installed: Yes
    	Write Permissions: All right
    	Elementor Library: Connected
    
    == WordPress Environment ==
    	Version: 5.3.2
    	WP Multisite: No
    	Max Upload Size: 64 MB
    	Memory limit: 512M
    	Permalink Structure: /%postname%/
    	Language: en-US
    	Timezone: America/New_York
    	Debug Mode: Inactive
    
    == Theme ==
    	Name: Gwangi
    	Version: 2.1.1
    	Author: Themosaurus
    	Child Theme: No
    
    == User ==
    	Role: administrator
    	WP Profile lang: en_US
    	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
    
    == Active Plugins ==
    	(BuddyDev) BP Auto Login on Activation
    		Version: 1.0.3
    		Author: Brajesh Singh
    
    	Author Avatars List**
    		Version: 1.18
    		Author: Paul Bearne
    
    	Awesome Weather Widget
    		Version: 3.0.2
    		Author: Hal Gatewood
    
    	bbPress
    		Version: 2.6.3
    		Author: The bbPress Contributors
    
    	BP Messages Tool
    		Version: 2.1
    		Author: PhiloPress
    
    	BP Profile Search
    		Version: 5.2.4
    		Author: Andrea Tarantini
    
    	BuddyPress
    		Version: 5.1.2
    		Author: The BuddyPress Community
    
    	BuddyPress Default Cover Photo
    		Version: 1.6.0
    		Author: SeventhQueen
    
    	BuddyPress Extended Friendship Request
    		Version: 1.2.0
    		Author: BuddyDev Team
    
    	BuddyPress Reorder Tabs
    		Version: 2.0.1
    		Author: BuddyBoss
    
    	BuddyPress Xprofile Custom Field Types
    		Version: 1.1.3
    		Author: BuddyDev
    
    	Classic Editor
    		Version: 1.5
    		Author: WordPress Contributors
    
    	Classic Editor Addon
    		Version: 2.6.0
    		Author: Pieter Bos, Greg Schoppe
    
    	Dashboard Notepad
    		Version: 1.42
    		Author: Stephanie Leary
    
    	Easy Custom Sidebars**
    		Version: 1.0.10
    		Author: Titanium Themes
    
    	Elementor**
    		Version: 2.8.3
    		Author: Elementor.com
    
    	Envato Market
    		Version: 2.0.3
    		Author: Envato
    
    	Essential Addons for Elementor
    		Version: 3.7.1
    		Author: WPDeveloper
    
    	Grimlock**
    		Version: 1.2.5
    		Author: Themosaurus
    
    	Grimlock Animate**
    		Version: 1.1.0
    		Author: Themosaurus
    
    	Grimlock for Author Avatars List**
    		Version: 1.0.4
    		Author: Themosaurus
    
    	Grimlock for bbPress**
    		Version: 1.0.3
    		Author: Themosaurus
    
    	Grimlock for BuddyPress**
    		Version: 1.1.4
    		Author: Themosaurus
    
    	Grimlock for Elementor**
    		Version: 1.0.1
    		Author: Themosaurus
    
    	Grimlock for Jetpack**
    		Version: 1.0.4
    		Author: Themosaurus
    
    	Grimlock for Testimonials by WooThemes**
    		Version: 1.1.0
    		Author: Themosaurus
    
    	Grimlock for The Events Calendar**
    		Version: 1.1.2
    		Author: Themosaurus
    
    	Grimlock Hero**
    		Version: 1.0.7
    		Author: Themosaurus
    
    	Grimlock Isotope**
    		Version: 1.0.7
    		Author: Themosaurus
    
    	Grimlock Login**
    		Version: 1.0.10
    		Author: Themosaurus
    
    	Hide Admin Bar
    		Version: 0.3.9.9
    		Author: Shelby DeNike
    
    	If Menu - Visibility control for menu items
    		Version: 0.15
    		Author: Layered
    
    	Kirki Customizer Framework**
    		Version: 3.0.45
    		Author: Ari Stathopoulos
    
    	MediaPress
    		Version: 1.4.6
    		Author: BuddyDev
    
    	Menu Image**
    		Version: 2.9.5
    		Author: Rui Guerreiro
    
    	Simple Buddypress Profile Privacy
    		Version: 0.7.9
    		Author: Justin Hansen
    
    	Social Articles
    		Version: 2.9.5
    		Author: Broobe
    
    	The Events Calendar
    		Version: 4.9.14
    		Author: Modern Tribe, Inc.
    
    	UpdraftPlus - Backup/Restore
    		Version: 1.16.21
    		Author: UpdraftPlus.Com, DavidAnderson
    
    	Verified Member for BuddyPress**
    		Version: 1.1.1
    		Author: Themosaurus
    
    == Must-Use Plugins ==
    	Gateway Relay
    		Version: 1.0
    		Author: Arnold Bailey (Incsub)
    
    	rms_unique_wp_mu_pl_fl_nm.php
    		Version: 
    		Author: 
    
    	WPMU Assist
    		Version: 1.0.2
    		Author: Arnold Bailey (Incsub)
    
    == Elements Usage ==
    	
    	wp-page : 12
    		eael-adv-tabs : 1
    		google_maps : 1
    		image-carousel : 1
    		shortcode : 1
    		text-editor : 1
    		wp-widget-grimlock_author_avatars_section_widget : 1
    		wp-widget-grimlock_posts_section_widget : 1
    		wp-widget-grimlock_query_section_widget : 1
    		wp-widget-grimlock_section_widget : 3
    		wp-widget-grimlock_the_events_calendar_tribe_events_section_widget : 1
    
    == Log ==
    	
    PHP: showing 1 of 1PHP: 2020-01-02 10:43:38 [error X 1][/home/*****/public_html/wp-content/plugins/elementor/elementor.php::97] Cannot redeclare elementor_fail_wp_version() (previously declared in /home/*****/public_html/wp-content/plugins/elementor/elementor.php:97) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    
    JS: showing 1 of 1JS: 2020-01-11 16:50:05 [error X 1][https://*****/wp-content/plugins/grimlock/assets/js/navigation-stick-to-top.js?ver=1.2.5:27:45] Cannot read property \'top\' of undefined
    thomei
    Participant

    Hello

    BuddyPress requires an alternative user nams and generates a third:

    1) There is the WP-username

    2) BuddyPress invented “display name”.
    (All most very pointless feature, because users are unable to hide there WP-username?)

    3) To make it more confusing, there is an “at-@username” too.
    (It can differ from WP-Username in upper/lower case and in special characters!)

    It means three possibilities for different naming’s for the same user. We’ve got may support questions because user tried to login with the “display name”. Sometimes even with the “at-@username”.

    May questions:
    – Is there a way to get rid of the “display name” in general?
    If no:
    – Is there a way to force the “display name” to be identical to the WP-username?
    – Is there a way to sync the WP-username to the “display name”?
    – Is there a way to remove the “display name” from registration form?
    – Is there a way to remove the “display name” from the profile?

    We are looking for an unique username in BuddyPress.

    PS:
    In general, it’s a really ugly idea of BuddyPress to mess with usernames like this.

    #307760
    beat sk
    Participant

    Hello,

    I have a question about buddypress profile menu. How can i make a link in the menu only for userroles? Something like “Go to administration” in the profile menu – Profile, Activity, Groups, Messages ? Is there a chance to add this only for user roles and admins? Register and Login working on front-end and we want hide /wp-admin from others. Thank you.

    #306977
    beat sk
    Participant

    Hello,

    I have a question about buddypress profile menu. How can i make a link in the menu only for userroles? Something like “Go to administration” in the profile menu – Profile, Activity, Groups, Messages ? Is there a chance to add this only for user roles and admins? Register and Login working on front-end and we want hide /wp-admin from others. Thank you for positive/negative feedback.

    #306908
    beat sk
    Participant

    Hello again friends. 🙂

    Now I have a question about buddypress profile menu. How can i make a link in the menu only for userroles? Something like “Go to administration” in the profile menu – Profile, Activity, Groups, Messages ? Is there a chance to add this only for user roles and admins? The website is built to hide we are using wordpress in front of people. Register and Login working on front-end and we want hide /wp-admin from others. Thank you for positive/negative feedback.

Viewing 25 results - 1 through 25 (of 125 total)
Skip to toolbar