Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 24,976 through 25,000 (of 94,552 total)
  • Author
    Search Results
  • #184225
    lflier
    Participant

    @henrywright

    Thanks. I’ll try this as time permits.

    In the meantime I can share with @josephfrio13yahoocom what I know about changing the BuddyPress subnav section:

    1. You’ve seen a working example of creating a new subnav in the code I posted earlier. Just substitute your own output function for the xprofile_screen_change_avatar function in the line:

    add_action( 'bp_template_content', 'xprofile_screen_change_avatar' );

    2. To remove a subnav item see my post here.

    3. To change the default subnav, which you will have to do if you want to delete a default subnav, see the BuddyPress codex here, which has a nice example.

    I’m sure Henry could do better, but I hope this gets you started. All of this can be done in a functions.php file. No modifications of the BP core should be necessary.

    #184224
    Henry Wright
    Moderator

    @lflier

    Take a look at this example screen function from the BP Skeleton Component:

    https://github.com/boonebgorges/buddypress-skeleton-component/blob/master/includes/bp-example-screens.php#L33

    Instead of trying to re-use the xprofile_screen_change_avatar, perhaps try creating your own using this as a guide. Boone Gorges looks after the BP Skeleton Component, so the techniques used within it are good practice and provide lots of useful comments on how to get things done.

    #184219
    lflier
    Participant

    @josephfrio13yahoocom you have a fine question. I am one step away from being able to answer it for you. I know how to create and delete subnavs, and I know how to set up screen functions for the subnavs I create. But I am not yet able to connect a new subnav with an existing BuddyPress screen function.

    I tried the following code last night, but was unsuccessful:

    function setup_custom_nav() {
    	global $bp;
    	bp_core_new_subnav_item( array(
    		'name' => __( 'Change Avatarr', 'buddypress' ),
    		'slug' => 'change-avatarr',
    		'parent_url' => $bp->loggedin_user->domain . 'settings/',
    		'parent_slug' => 'settings',
    		'screen_function' => 'lf_screen_function',
    		'position' => 30,
    	) );
    }
    
    add_action( 'bp_setup_nav', 'setup_custom_nav');
    
    function lf_screen_function() {
    	add_action( 'bp_template_content', 'xprofile_screen_change_avatar' );
    	bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }

    What I get from this is another whole site-generator division inside the already existing one. I get the same thing if I put ‘xprofile_screen_change_avatar’ in directly for the screen function.

    I’m getting the screen function from here: https://github.com/buddypress/BuddyPress/blob/12bc8cb1b6000d73be2d43e1c34e26c42b5ff215/src/bp-xprofile/bp-xprofile-loader.php#L216

    #184215
    xhan
    Participant

    Turns out the code is searching for any page template with the word ‘member’ in it – and thats what my page template was called, I’ve raised a ticket for it https://buddypress.trac.wordpress.org/ticket/5721#ticket but I’ve just renamed my template file page-mem-application.php for now.

    xhan
    Participant

    I’ve setup my members directory to show on /membership-directory but when I create a new page /o/membership-application/ its displaying the directory on that page too!

    I thought maybe it was because it has the name membership in it – but that wasn’t the case. Is this a known bug? I’m using 2.0.1.

    I cant seem to find anyone else who has this issue. I’ve re-saved my permalinks too in case it was that.

    I’ve tried setting the page to –none– in the buddypress settings and the /membership-directory is now blank but its still showing on /o/membership-application/ :S

    jerryskate
    Participant

    So, im placing a header slider in my buddypress by using revolution slider, and this script: `<?php if ( !is_user_logged_in() ) : ?>
    <?php putRevSlider(“framsidan”) ?>
    <?php else : ?>
    <?php putRevSlider(“framsidan2”) ?>
    <?php endif; ?>
    `
    I have this at various places, and the last ones i had to do is theme/members/index.php and theme/groups/index.php. Thought this would go easy..

    The members index file works great with the slider, but as for the groups index, nothing happens. I have tried everything related to groups in the plugin, and in my theme, and i can’t get the slider to show.

    Any idea of how to proceed?

    #184207
    @mercime
    Participant

    @simonvrolijk BP requires “pretty permalinks” to work, not “almost pretty permalinks” via appending index.php for Windows servers as I checked your Members Directory page at http://thesocialeconomy.nl/index.php/members/

    Possible Solutions:
    – https://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite
    – https://codex.buddypress.org/getting-started/iis7-web-config/
    – or contact webhost

    jasonsherwin
    Participant

    Hi Guys,

    I’m also experiencing this issue with a broken registration form.
    Fresh wp + buddypress install.

    WP_DEBUG doesn’t report anything… the registration form just fails silently on submit.
    I don’t have any weird directory naming going on like hope mentioned above^
    I just had a fresh test wp install setup on mamp at http://localhost:8888/wordpress/
    Tried renaming this dir in case it was some reserve word issue with ‘wordpress’… still no luck.

    wp 3.9.1
    bp 2.0.1

    cheers,

    – jason

    #184197

    In reply to: redirect user login

    modzirra
    Participant

    So, I’ve been combing these forums for weeks for a very similar problem, and being that this is the closest solution post, I thought I would ask here, extending the support for this problem.

    I would like to redirect users during login in the following manner:

    If logging in from the front page (site, not user): redirect to user profile
    If logging in from anywhere else: redirect to original url (where original url is the url where the login process was initiated)

    Currently I am forced to run the following for backwards compatibility reasons:
    WP: 3.7.3
    php: 5.3.10
    bbPress: 2.5.3
    BuddyPress: 1.9.2 +5 complimentary plugins

    Active Plugins
    45+ with the most relevant being:
    BadgeOS: 1.3.5 +4 complimentary plugins
    Bowe Codes: 2.1
    BP My Home: 2.0
    BP RedirecttoProfileforBuddypress: 1.2
    BP Simple Front End Post: 1.1.4
    BuddyBlog: 1.0.4

    I’ve tried to edit the redirect plugin mentioned often here as well as with no luck.

    Here is a sample of one of my latest attempts (a modification on redirect to profile plugin):

    add_filter("login_redirect","bpme_redirect_to_profile",100,3);
    
    function bpme_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ){
    	/* if no redirect was specified,let us think we want the current page */
    	if( empty( $redirect_to_calculated ) )
    		$redirect_to_calculated=$redirect_url_specified;
    	
    	/* if the user is site admin or not and it's the front page,redirect to his/her profile */
    	if( is_super_admin( $user->ID ) && is_front_page() )
    		return bp_core_get_user_domain( $user->ID ) . 'profile/';
    	if( !is_super_admin( $user->ID ) && is_front_page() )
    		return bp_core_get_user_domain( $user->ID ) . 'profile/';
    	else
    		return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/
    
    }

    (I recognize that the admin user check is redundant, that was part of some debugging I was doing)

    I find that every time I try to check for the front page, something happens to interrupt the redirect process. Without a check for front page: Working great! With the check for front page: No Bueno! I’ve been using several debugging plugins and if I understand them correctly, most of the issue has to do with the sidebar login location (it seems to ignore wp_login and login_redirect hooks/filters) and checking for the front page.

    I tried many other plugins and most of the code (with minor adjustments for my needs) that was offered on the forums here, including the Ajax one, but most of our login process is done through the sidebar and they just don’t ever get called or triggered during the sidebar login process.

    I would love some advice on how to adjust what I have and get it working properly.

    Your help is appreciated, thanks!

    #184194
    Henry Wright
    Moderator

    Hi @josephfrio13yahoocom and @lflier

    Component navigation is set-up in the component’s class. For example, the setup_nav method within the BP_Friends_Component class does this for the Friends component. See here for exactly how it’s done.

    To my knowledge, there is no easy way to move subnavs around.

    #184191
    LeafyGrove
    Participant

    Nevermind found: “CubePoints Buddypress Integration” joining someone to group seems to be part of it.

    #184190
    LeafyGrove
    Participant

    I am working on a new social site, and was wondering if anyone had any idea on how to auto-add someone to a buddypress group after having x amount of posts.

    TC33
    Participant

    Hi there,

    I’m running buddypress 2.01, wordpress 3.9.1.

    I’m not sure if this is just my theme, but when pressing the “comment” button on a user’s activity on the sitewide activity page, there is a text input field that appears below the activity, but then entire page then scrolls to the top to the “what’s new (username)” form. This makes it confusing for users.

    I’m just wondering if anyone else experiences this, or if it’s just something to do with my theme?

    Thanks for your help.

    Anonymous User 13895492
    Inactive

    Hi,

    I am getting a page not found error when clicking on buddy press pages in the menu of my site as they link to the wrong folder.
    Folder the links link to: http://thesocialeconomy.nl/members/admin/activity/
    Folder the plugin is installed: /root/wp-content/plugins/buddypress

    Hosted site: http://www.socialeconomy.com
    Installed WP newest version.
    Pinboard theme activated.
    Installed BudddyPress plugin via the plugin area, newest version.
    Hook up the pages of buddy press to my menu.
    In the dashboard I can see the settings page, etc.
    Permalinks settings changed according to specs.

    What am I doing wrong? And where can I change it?

    thanks,

    Simon

    #184183
    ryan.taylor
    Participant

    My activity notification permalinks have a /p/ in the middle of them and it is causing all notification links to redirect to a completely unrelated page. I’m using BuddyPress v2.0.1 and getting very frustrated that none of the activity links on my website work. The actual links should be /activity/activity-number/ which does show the correct activity thread while /activity/p/activity-number/ absolutely does not.

    Because I cannot find a working solution to this problem, I have searched all of the BuddyPress core files and found all instances of the ‘/p/’ being added and replaced it with ‘/’ which works in almost every case but not on the member > notifications page. Also, I DO NOT want to have to modify the BP Core, in any case.

    Please help. I’m losing my mind and money on this.

    paton400
    Participant

    Hey guys,

    I’m using the standard Buddypress Members widget on my site which lists my 5 most recently active members, but what I want it to list is my top 5 goal scorers (soccer team) using the information from the ‘goals scored’ profile field.

    I have had a little read around and this seems quite difficult to do.

    Is there a plugin that’ll allow me to do this easily. Or a snippet?

    I’d also like to remove the ‘last active’ under each profile. I have sorted this out with the general members list, but it doesn’t seem to effect the widget.

    http://www.teamcbd.com.au

    #184174
    nirgalo
    Participant

    a nice article on how to modify the member’s loop display here. Just need to check in the loop for presence of an admin and not display it.

    #184172
    nirgalo
    Participant

    I found out the code displaying content of the Members page is buddypress/bp-templates/bp-legacy/buddypress/members/index.php. Since I am using BP 2.0.1, is this normal code from bp-legacy is executed?

    #184170
    shpitzyl
    Participant

    Hi @sylmurray sorry for the late replay. Saw your post just now.
    It is located at bp-templates/bp-legacy/buddypress/members/single/profile/

    Copy the file to your child theme, create this directory structure:

    [Your-child-theme]/buddypress/members/single/profile/

    #184169
    shpitzyl
    Participant

    Hi, I’m looking for a host for a buddypress site. It is a small community, no more than 300 users and no more than 4 users logged in at the same time. For now I can only afford shared hosting. I looked at siteground and stablehost. I can’t choose which one is better because I don’t have the experience.
    Does anybody here have an experience with siteground or stablehost?

    #184164
    @mercime
    Participant
    #184162
    @mercime
    Participant

    My members can join groups, but the problem is that if they click on teams they can’t create them.

    Please clarify. Did you create a new BuddyPress teams component or are you referring to your groups as “teams”? If you are referring to your groups as “teams” did you enable group creation for all users in Settings > BuddyPress > Settings ?

    @mercime
    Participant

    @titoesco Activate BuddyPress and configure BP settings activating the Extended Profiles component only. BP is compatible with nearly all WordPress themes.

    jeremykamiya
    Participant

    Yes, clearing history and cache seemed to work for me. I am still in the development stages of my site, but I feel good (enough) about my hypothesis and am not freaking out when I run into the “no activity found” message – so far, every time I reset my browsers it restores the activity. If you find different results, please post.

    For front-end stuff, I’m using WP-toolset ( http://wp-types.com/ ). I’m not sure that this is best, but without a formal (“paid for”) coding education this is what I choose. I think buddypress and bbpress will do the job for me for now.

    #184157
    Tommy White
    Participant

    Resolved in THIS THREAD

Viewing 25 results - 24,976 through 25,000 (of 94,552 total)
Skip to toolbar