Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,901 through 12,925 (of 94,561 total)
  • Author
    Search Results
  • #260979
    EMar
    Participant

    Hi,

    There are two links on the left side of the admin toolbar: Login & Register
    How do you remove them? does Buddypress add them? and where is the option to disable them if so?

    img

    #260977
    adambware
    Participant

    I want non-users of the website to be able to view a Private Group’s member list. But I cannot find anywhere I can catch this redirect.

    So far I’ve found..

    This no access redirect must be happening from a call to the function bp_core_noaccess

    I found the filter bp_group_user_has_access within the function bp_groups_group_access_protection … But this does not appear to fire for the group members screen when a logged out user tries to access.

    I’m currently on WordPress version 4.5.4 and BuddyPress version 2.5.2

    Thanks in advance!

    #260976
    livingflame
    Participant

    Hi there!

    Hi,
    I am looking for solutions to How to automatic scroll down page when I click for example “messages” or “notifications” or “friends” on Main Menu.

    I would like to when user click “notifications” he can see your notifications instantly (automatic scroll down to “notifications” or whatever).

    Please help!

    –––––––

    Reference: https://buddypress.org/support/topic/scroll-down-user-profile-page-2/

    Solution there: Nothing.

    matt2006
    Participant

    Hi BuddyPress community,
    can you help me with this:
    How can I addd a member to a certain buddypress group automatically if he ticks certain checkbowes in his member profile?

    Thank you!
    Cheers,
    Matt

    #260972
    Earl_D
    Participant

    This might be a good place to start if you looked at it already?

    BuddyPress Theme Development

    #260971
    vickievik
    Participant

    Hello friends,

    I spent a long time to learn using wordpress and create my own beautiful custom wordpress themes…

    But for the last 3 days I am tryiing to run BuddyPress with the custom theme I designed…and after 3 days I am stuck tired of not being able to make my theme compatible with Buddypress…

    I searched n read hundreds of topics but still I m confused…and buddypress is not working welll with my theme…

    Kindly someone help and let me understand how to make buddypress compatible with my theme…or you can say how to make a buddypress compatible wp theme…

    problems
    – cover image is not showing
    – activation page not loading
    – registration page not loading
    – profile image cropper not working…

    and a lot of other errors.. Pls let me know how to add buddypress to my theme… and make it work properly….

    Million Thanks in Advance
    Vickievik

    #260970
    davehakkens
    Participant

    OK, we got it to work in a different way. Special thanks to @coffeywebdev for the help.
    For those interested:

    This snippet is used in the functions.php to get the locations from the profile fields and show the flag image.

    function dh_get_flag_by_location($country){
      if($country <> '' && !empty($country)){
      $country_filename = get_stylesheet_directory_uri() . '/img/flags/' . sanitize_file_name($country) . '.png';
      $country_path = get_stylesheet_directory() . '/img/flags/' . sanitize_file_name($country). '.png';    
         if(file_exists($country_path)){
           $html = '<img src="' . $country_filename . '"/>';
         } else {
           $html = $country;
           echo '<!--' . get_stylesheet_directory_uri() . '/img/flags/' . sanitize_file_name($country) . '-->';
        }
      echo $html;
      }
    }

    Then we needed to change 2 templates to show this flag image in
    the Bbpress forum replies and on the buddypress members page. So we added the code necessary to show the flag
    bbpress/loop-single-reply.php
    <div id="country" style="float:left;margin-right:.5em;"> <?php $user = get_userdata( bbp_get_reply_author_id() ); $country = xprofile_get_field_data( 42, $user->ID ); dh_get_flag_by_location($country); ?></div>

    buddypress/members/members-loop.php
    <div class="member-location"> <?php $country = bp_get_member_profile_data('field=Location'); dh_get_flag_by_location($country); ?></div>

    #260968
    danbp
    Participant

    @masoud1111,

    You’re talking about 2 different things: profile and groups. Let me explain you a little…

    On the buddy nav bar, navigation looks similar but doesn’t work the same way on profile and on group page. While profile navigation use nav and sub-nav, the group navigation use only sub-nav.

    Also, as documented on codex, define('BP_DEFAULT_COMPONENT', '...' ); is a constant related to a component, not a sub-nav tab. It let you define the default landing component, but not the one or other sub-nav tab. For example on profiles, the component Activity has 4 sub-nav attached to it: personnal, mentions, favorites, friends, groups

    To get one of them, you need to specify a new default tab, not another component. 🙂

    Buddybar main nav items on profile page
    Activity Profile Friends Groups Forums (if you use group forums)

    Default tab is Activity/personnal. To change it for “Friends” you use the constant:
    define('BP_DEFAULT_COMPONENT', 'friends' );

    To change the default landing tab from (Component/sub-tab). For example Activity/personnal to Activity/mentions, you define a new nav default tab with a function like this one:

    function bpex_set_member_default_nav() {
     
        bp_core_new_nav_default (
            array(
                'parent_slug'       => buddypress()->activity->id,
    	   // other "activity" sub_nav slugs : personal favorites friends groups
                'subnav_slug'       => 'mentions',
                'screen_function'   => 'bp_activity_screen_mentions'
            )
        );
    }
    add_action( 'bp_setup_nav', 'bpex_set_member_default_nav', 20 );

    For groups, it’s a similar technique, but a different syntax. The following example is a bit sophisticated, as it let you change the landing tab differently for each defined group.
    Depending each group activity or target, you can choose a different default tab.
    In this example, the kill bill group has Forum as landing tab, while Leon’s group use the group member directory.

    function bpex_custom_group_default_tab( $default_tab ){
    	/**
    	 * class_exists() is recommanded to avoid problems during updates 
    	 * or when Groups Component is deactivated
    	 */
    	if ( class_exists( 'BP_Group_Extension' ) ) : 
    	
    	$group = groups_get_current_group();//get the current group
    	
    	if( empty( $group ) ) {
    	 return $default_tab;
    	}
    		switch($group->slug){
    			
    			case 'kill-bill': // group name (use slug format)
    			$default_tab='forum';
    			break;
    			
    			case 'leon':
    			$default_tab='members';
    			break;
    			
    			default:		
    			$default_tab='home';// the default landing tab
    			break;
    			
    		}
    	
    	return $default_tab;
    	
    	endif; // end if ( class_exists( 'BP_Group_Extension' ) )
    }
    add_filter('bp_groups_default_extension','bpex_custom_group_default_tab');

    All this tested and working with BP 2.7.2 / Twenty Sixteen

    shubhambenara
    Participant

    Hi

    Since wordpress login email id will be unique. So i want that same email id should be inserted automatically in a profile parameter.It will help a customer to search somebody by unique mail id.

    OR else suggest a different way to search unqiue person in buddypress.

    #260960
    jaynation
    Participant

    Good Evening All,

    Thank you to everyone for their support so far.

    WP – 4.6.1
    http://www.studentmotorsport.com
    Msocial Theme – Gavick Pro

    I have another issue with Buddypress/S2 Member settings…PLEASE HELP 🙁

    Problem: I have set up S2 Member to work with BuddyPress and have got 4 membership levels with paid PayPal buttons all working ok.

    Scenario 1:If I set ‘open registration’ to ‘no’ in S2 member (as I only want paid users) I am presented with ‘User registration is currently not allowed’ after signup despite PayPal taking the money.

    Scenario 2: If I set ‘open registration’ to ‘yes’ in S2 member user registration is successful but assigns the user as a free subscriber and not on a 1-4 paid membership level after signup, despite PayPal taking the money.

    Does anyone have any suggestions, I have checked all the settings in WP/Buddypress and S2 Member…am I missing something?

    If all fails can I set up my site without S2 Member and still use paid membership levels and PayPal?

    I would appreciate any support on this one.

    With regards

    JP

    #260956
    danbp
    Participant

    Hi,

    no of course ! Read 2.7.2 changelog.

    If you use a child theme or a third party theme, ensure it is updated for BP 2.7+: verify the templates.

    Template Updates 2.7

    #260953
    danbp
    Participant

    Hi,

    all is explained in the doc !

    Changing Internal Configuration Settings

    Navigation API

    #260949
    matt2006
    Participant

    Hi guys,
    I need a solution to add people that signed up via gravity forms “User Registration Add-On” to a specific buddypress group.

    Group-o-Matic Plugin looks like a very good solution:
    https://wefoster.co/buddypress-group-o-matic-adding-members-to-groups-based-on-profile-fields/
    https://wordpress.org/plugins/buddypress-groupomatic/

    But it is very outdated. Or does it still run on an up-to-date Buddypress and WordPress installation?

    Do you know an alternative? Or another solution for my problem?

    Thankyou for your support!
    Cheers,
    Matt

    #260944
    vikrantshukla
    Participant

    Hi All,

    I am using the Buddyboss theme which is being used as an educational platform. We have two user roles on the website Student & Instructor, which we are achieving by the use of BP Member Types. The major role of this website is for students to schedule appointments with different instructors.

    In the case of instructors, we will be using an appointment plugin which will have a different shortcode for every insturctor placed on the page named Appointment

    In the case of students, they will have the same shortcode on Appointment Page.

    My query is to add and appointment page in the Buddypress tabs and at the same time add the above mentioned functionality where the shortcodes can be added via the back-end

    Will look forward for your response.

    #260942
    waloob73
    Participant

    I’ve been told that by default admins can edit Buddypress members’ profiles, but if I try to access one logged in as admin I get a 404.

    This may be something the previous developer disabled but I can’t find where. I’ve found some WP admin menu items that have removed actions on them, but I can’t find anything preventing admins from accessing members’ profiles.

    shanebp
    Moderator

    Try the solution near the bottom of this codex page:
    https://codex.buddypress.org/emails/#filter-from-address-and-name

    add_action( 'bp_email', function( $email_type, $email_obj ) {
    $email_obj->set_from( "custom@example.com", "Custom Website Name" );
    }, 10, 2 );
    #260937
    professorq
    Participant

    Hello everyone,

    I just made a fresh installation of WP and BP (by uploading it by FTP) and when I try to activate the plugin, the website returns a “500 error”.

    The website runs on Ubuntu and there’s the error log from Apache :

    [Fri Nov 11 10:26:19.101841 2016] [:error] [pid 3931] [client …] PHP Fatal error: Call to undefined function bp_is_user_inactive() in /srv/www/…/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-caps.php on line 390, referer: http://www&#8230;../wordpress/wp-admin/plugins.php

    Could anybody guess what the problem is ?

    Thank you very much !

    #260930

    In reply to: Hiding register link

    Venutius
    Moderator

    I think you are looking for BP Registration options – that provides you with new member moderation.
    https://wordpress.org/plugins/bp-registration-options/

    If you are new to BuddyPress I’m developing a site aimed at helping people get the most out of BuddyPress http://buddyuser.com

    #260926
    notoriouspyro
    Participant

    Hi,

    Does anyone know why the register button on my site is almost invisible? The text is unreadable.

    img

    This is WordPress 4.6.1, BuddyPress 2.7.2, bbPress 2.5.11 and theme SongWriter 2.0.5.

    #260924
    modemlooper
    Moderator

    You can find this information in the codex https://codex.buddypress.org/themes/buddypress-cover-images/

    #260922
    modemlooper
    Moderator

    define( 'BP_GROUPS_DEFAULT_EXTENSION', 'members' );

    change members to the slug of the extension and then that tab will load when you click a link to a group.

    more configurations here https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/

    #260921
    modemlooper
    Moderator
    #260919
    modemlooper
    Moderator

    Under Settings in the admin click BuddyPress. Then the tab Pages and re associate the page to the component.

    #260918
    valleev
    Participant

    Hi all,
    While working through some issues with my BP and Theme, I deleted the page associated with “Members” in the BP setup. For some time, if I clicked on the “Members” BP widget in the menu it would bring me to /members__trashed page with a 404.

    Then I recreated the page and associated it in the BP settings. The page loads correctly however the “members” menu widget no longer appears in the buddypress dropdown. How can I re-add it?

    thanks

    #260914
    talvasconcelos
    Participant

    Hi, thread_id is from the buddypress. When a message is going for save bp checks if there’s a thread id, if not it’s because that is the first message.

    Anyway, i got it to kind of work. Used some info from the other thread. I use the add_filter() to check if the user has a membership and if not, take out the button. Also i was forgeting to include the file with the Paid membership function. Here’s the code:

    add_filter( 'bp_get_send_message_button', function( $array ) {
        if ( pmpro_hasMembershipLevel('Premium') ) {
            return $array;
        } else {
            return '';
        }
    } );

    If you have any recommendations for this i’ll be glad to follow.

Viewing 25 results - 12,901 through 12,925 (of 94,561 total)
Skip to toolbar