Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,551 through 12,575 (of 73,985 total)
  • Author
    Search Results
  • #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…../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.

    #260906
    djgkidd
    Participant

    Hey,

    I have buddypress installed on my website. I have the Buddypress Login widget and the Registration part works fine. When i try to login through the buddy press widget i get a Error 406 page. I can login perfectly fine through wp-login.php ….

    What can I do to fix this? Please help. =)

    #260905
    Venutius
    Moderator

    This has got to be plugin conflict or theme related issue since avatar and cover image uploads work when BuddyPress is running standalone. I’d try deactivating all other plugins and if that does not work then switching to the 2016 theme to check

    valleev
    Participant

    Hi everyone,
    I am currently setting up an association website using Paid Memberships Pro. I have decided to add Buddypress support.

    Everything seems to work well except users cannot upload profile or cover image photos. After clicking ‘select your file’ and selecting an image, the browser pauses for a moment and then nothing happens.
    However it’s possible for the admin user to upload photos via the WordPress “user” management.

    We are using accesspress theme.

    Please help

    #260897
    mooki3
    Participant

    Hey everyone nice to see you.

    Ive setted up my WP Page a few days ago and installed BuddyPress today.

    Page Menu

    I bet you can see my problem in this Image. I think its not really nice to have my Profile and the Activity on the upper right and the members and (second?) profile button on the lower left corner of the menu.

    However: I would like to change the position of these buttons but i dont really know how to do that.

    Cheers ๐Ÿ™‚ And have a nice day: Maurice

    #260895
    michel4534
    Participant

    Hello everyone,

    I need your help because:

    My member profile page is located at : localhost/rรฉpertoires-des-membres/members/%name% and I want to change it for localhost/profile

    Before request your help I tried :

    – Every solutions written in older posts of support and I read all documentation
    – I tried to change my template profile page of my theme lovestory to front.php and function.php

    – I tried to use widgets and drop it in profile part

    But I can’t success. Maybe I missed a information ??

    In fact I can find a profile page when I’m looking at : localhost/repertoires-des-membres/members/%name%

    Bu I don’t know how I can change the link to localhost/profile.

    I past my night and my day on but nop ๐Ÿ™

    And this is what I’m looking for I want when my members connects they will be redirect to there own profile page.

    I installed Buddypress with BP extended profiles and custom fields.

    I’m using lovestory theme maybe the template profile page of it brings problems ??

    Please , brings me your helps to resolve it ๐Ÿ™‚

    I posted a message before but I haven’t answers. Might be because my request was wrong.

    #260892
    Masoud
    Participant

    hi.
    i am using latest versions of both wordpress and buddypress.and working on a food website.
    in this website , i wanted to allow only authors to post activity updates .
    (because it will be much easier for users to track their favorite chef recipes in the activity page.)
    so i’ve hide the ” personal ” submenu of activity tab : Activity > Personal (where people can post updates)
    with the help of following code in bp-custom.php :

    function bpfr_hide_tabs() {
    global $bp;
    if ( bp_is_user() && ( !current_user_can(author) || !current_user_can(administrator) ) ) {		
     bp_core_remove_subnav_item($bp->activity->slug, 'just-me');	}
    }
    add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );

    but now when i go to my profile (as a subscriber)
    i will see a 404 page.
    i’ve searched a lot and i noticed that , now that i’ve removed the default activity stream tab , i have to point it to another tab. so when a user profile is loading (or if a user clicks on activity tab),
    instead of default activity> personal . it load activity > mentions / OR / favorites / OR / … (some other submenu than personal )

    so my question is:

    how can i change the default activity stream tab
    from
    Activity > Personal
    To
    Activity > Mentions – Or to – Activity > Favorites – …

    thanks a lot for any help.

    #260890
    zxbchris
    Participant

    Hi,

    I have encounter an issue that I wish that I can get some help here:

    Currently I have created some custom profile field, that allows my user to input his bio and social media field. It displays at the buddypress profile page nicely. However, i will like the bio field that my user has input to be shown on the product page. You can take a look at my page, at the bottom, the “About post author” section
    http://www.chalktalk.com.sg/courses/chalktalk-demo-course/

    currently, this section is using the wordpress default description field to display it here. I will like to get the custom bio field that I created in buddypress to be display here instead. May i know how can i go by doing this? where can i retrieve the ID of my custom field to place here instead?

    Hope to hear from you soon.

    Regards

    Chris

Viewing 25 results - 12,551 through 12,575 (of 73,985 total)
Skip to toolbar