Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 18,026 through 18,050 (of 94,565 total)
  • Author
    Search Results
  • #244642
    DAM
    Participant

    @henrywright Buddypress is the only plugin

    #244633
    shanebp
    Moderator

    Please don’t double post.
    The answer to your question is similar to the answer in the same thread where you also asked this question.
    https://buddypress.org/support/topic/how-to-disable-html-in-buddypress-private-message/

    There is no global filter for message boxes.
    You have to find the filter hook as in the thread referred to above.

    songcy
    Participant

    Hi, I have bbpress and buddypress installed in my site. Now I want to use the @mention function of buddypress in my forum but I do not want to enable user activities. Any solution for that? Many thanks

    #244621

    In reply to: menu logged out list

    danbp
    Participant
    #244617
    vysakhnair
    Participant

    Hi

    When i create a group and when multiple click on the finish button multiple groups are created and in activity page we will see the message group created multiple times. I have added some jquery to disable double click, but still it creates multiple groups. Please give me proper solution as early as possible

    #244614
    MvdO79
    Participant

    Hi, I have the same issues:

    – the buddypress register page is not creating users, after submit it shows the register page again and the passwords are gone.

    – there are no users displayed in the backend

    – there are no pending users

    i have followed all directions found online and on this forum, fresh install of wp with fresh install of bp, no other plugins active etc…

    Should I use an older version of bp? Do I have to create manual pages as the default bp theme is not active anymore?

    Kir 2012
    Participant

    Hi I have a problem with uploading images, I’m on the newest WordPress and Buddypress versions, and I can upload images when I’m logged in as Admin.

    But when logged into Buddypress as anything other than admin, the image upload for profile/change-avatar doesn’t work. I get an “An error occurred. Please try again later.” message.

    If it’s pertinent, I just moved to a new server.

    Also, Lazyload plugin was affecting the cropping screen, by leaving the image invisible with just a small square visible – I found that as I was going through and checking the plugins before posting here, by switching them off.

    Now the image uploads, with a progress bar, but receives the red error at the end.

    Has anyone seen this before?
    Thank you

    #244610
    DAM
    Participant

    Hello,

    I’ve a clean wp installation, buddypress is the only plugin and I’m using the default theme 2015 however when the users upload their avatar: bpthumb is 150px like bpfull instead of 50px.

    /wp-content/uploads/avatars/1/bac9f205a601e55b63f55878d3dfab6c-bpfull.jpg
    is the same of /wp-content/uploads/avatars/1/bac9f205a601e55b63f55878d3dfab6c-bpthumb.jpg

    Somethings wrong with my server or a bug on latest buddypress ver.?

    Thank you

    #244603
    karismac
    Participant

    Can I add pages to the BuddyPress menu logged out list in menus?

    #244594

    In reply to: I Cannot Create Groups

    shanebp
    Moderator

    http://acadayear.com/home/groups/ is also not found.

    Do you have User Groups enabled here?
    …/wp-admin/admin.php?page=bp-components

    Have you assigned a page to Groups here?
    …/wp-admin/admin.php?page=bp-page-settings

    Have you read this?

    Configure BuddyPress

    #244587
    solmaz200
    Participant

    This happens in WPLMS system.
    This is a buddypress module totally ,so this is an issue with buddypress ,please try contacting buddypress support for this .
    ALso please note that the pictures are uploading now but it is not setting as profile picture because there is some problem is occuring .
    The file names that you are uploading does not seems to be right in the avatars/user id directories .

    But check this link :../wp-content/uploads/avatars/241/
    Here there is no file with that name with bpthumb as suffix .
    Please contact the buddyress for this .

    alpha2
    Participant

    Hello everybody

    For each post users created, i have a special taxonomy i apply. Each element in this taxonomy have an image as attachment, so when i attach one tax in the back office to a post, it display a “medal” to the post in the front office.

    I want to display this “medal” tax in the activity stream of the user and on the global activity (all activities of the website)

    This the code i use to display the custom tax:

    <?php foreach (get_the_terms(get_the_ID(), 'niveau') as $cat) : ?><a class="medaldetail" href="<?php echo get_term_link($cat->term_id, 'niveau'); ?>"><img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" /></a><?php endforeach; ?>

    Which buddypress template i must override to be able to display this?

    Thank you very much!

    #244585
    Henry Wright
    Moderator

    @mcpeanut

    I am currently testing my buddypress install on one of my servers with nginx

    Are you using Nginx with php-fpm? I’ve been tempted to do that for BuddyPress. It’d mean moving all of my .htaccess directives to Nginx server blocks but I think the effort would be worth it for the performance improvements.

    #244580
    mcpeanut
    Participant

    @ch1n3s3b0y Hi there, im gonna chime in on this as im starting to believe that buddypress can most definately scale vary well (even though its not been proven yet to scale to say a million users+ i think its quite possible), as henry may remember from previous threads i have commented in i have decided to look into the ultimate server configurations to try and find the best way to actually move forward into my own buddypress build.

    This has meant concentrating and learning about lots of different server configurations for the past couple of years in-between my other projects.

    Do you think Buddypress can support hundreds of thousands, if not millions of users?

    Lets just switch this notion right on its head, rather than ask yourself if buddypress can scale to a millon users start asking yourself if your server setup and configuration can scale to a million concurrent users instead.

    The key to success on a buddypress active and busy site becomes more of a server and administration task rather than how you have buddypress setup on a basic server config (before long you will bottleneck somewhere if you do not setup for expansion).

    I know it seems daunting to think about all of this rather than install it build it and launch it and expect it to scale! But to me doing something half hearted isnt the way forward with a serious build on any project. If you prepare and understand the potential problems before you have that killer network built with 100s of thousand of concurrent users its much better to be prepared than to sit back and go NOW WHAT! when you finally grind to a halt and noone can use your site anymore and you dont know how to fix and expand it. Proactive is the way forward.

    I am currently testing my buddypress install on one of my servers with nginx and HHVM (hip hop virtual machine) that was created by and is used by facebook instead of standard php, this speeds up the PHP execution speed PHP code is translated into C++ compiled into a binary and run as an executable to really speed up the way php works, therefore making everying load much much much much faster! I have only just started messing around with HHVM and will keep you updated. is anyone else actually running HHVM? if so please do share with me your finding, to me this seems the way forward with any buddypress installed website.

    Also as i have stated before once i have decided on my final server configurations and im 100 percent happy with exactly how my setups work with wordpress/buddypress to scale to massive amounts of users i will create a post and guide on how i have it all set up, but still will take me more time yet. and also as stated before if anyone else does want to give there 2 cents on it feel free because on these forums there is not much talk about actual configs that people are using, even though i do realize this is server tech department, i also believe it is a valid issue for buddypress because instead of questions about scalability there could also be a few answers which is my ultimate goal. 😉

    #244575
    danbp
    Participant

    Hi @qurgh,

    use bp_loggedin_user_domain function and wp_nav_menu_items filter to add the item to an existing menu, like this: bp_loggedin_user_domain( 'kag/ship/' )

    See here for a working example:
    https://buddypress.org/support/topic/url-for-menu-to-logged-in-users-profile-page/

    WordPress reference:

    wp_nav_menu_items


    https://codex.wordpress.org/Navigation_Menus

    BuddyPress reference

    bp_loggedin_user_domain

    #244571
    alpha2
    Participant

    Yes it is. But rather than using a plugin (for this project i am nearly at 53 active plugins…too much) maybe its better to use a function.
    i use this thread to ask you another question, some users (registered before i applied this plugin) named their account with a period: john.doe . Actually it’s not a big deal because buddypress (or wordpress natively) transform this dot into hyphen in each link.

    On one specific page template, I have special function i created with the help of a dev to display all users by a custom taxonomy (ranks)

    Only mater is that every hyperlink that link to account like john.doe are display like this http://www.website.com/members/john.doe and not http://www.website.com/members/john-doe

    I search into the code and found this:

    <div><?php $user = get_user_by('id', $gold ); ?><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo bp_core_fetch_avatar( array( 'item_id' => $gold, 'type' => 'full' ) ); ?></a><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo $user->user_login; ?></a>Performances: <?php echo count_user_posts( $gold ); ?></div>

    I must change how is display the username.

    Thank you for your time and your help!

    #244570
    qurgh
    Participant

    I’m trying to add a link into the main WordPress menu that points to a subnav of a Buddypress page.

    I see there’s an option for menu items that point directly to the main Buddypress pages (/activity/, /forums/, /groups/, /achievements/, etc), including my own custom slug (/kag/). I’d like to have a menu option that points to a subnav of my custom page (/members/USERNAME/kag/ship/) but since it has a varaible in it I can’t just setup a custom link (unless there’s something I’m missing).

    Can anyone tell me how to add items to the Buddypress section of the Menu editor, or how to make a direct link to the subnav page?

    I’m using the most current WordPress, Buddypress, bbpress, and BadgeOS. I’m using the Firmasite theme.

    #244567
    3T_MJ
    Participant

    I’d like to display the latest Posts, Images and Videos posted by a User in Subtabs of My Contributions tab in the profile of each member. Images and Videos are both custom post types.

    I found an example how to set up a Tab with a single subtab. I got this working:
    https://buddypress.org/support/topic/creating-a-custom-tab-that-takes-in-the-info-from-wp-recent-posts/
    But I’m stuck how to add the custom post types images and videos in seperate sub tabs. These should be displayed as thumbnails. Not sure how to achieve this. I tried to copy the given code for a second sub tab but what happens then that all the latest posts disappear and only the latest images of the current logedin member get displayed in the subtab, not the images of the specfici author. So I must be doing something completely wrong.

    That’s what I tried:`

    function bpfr_get_post() {
    	
    	/*
    	 * to get all post, comment the line 'author'
    	 */
    	$myposts = get_posts(  array(
    	'posts_per_page' => 25, // set the number of post to show
    	'author'         => bp_displayed_user_id(), // show only this member post
    	'post_type'      => 'post',
    	'orderby'          => 'post_date',
    	'order'            => 'DESC',
    	'post_status'      => 'publish'
    	));
    	
    	if( ! empty( $myposts ) ) { 
    		
    		foreach($myposts as $post) {
    			setup_postdata( $post );
    			$page_object = get_post( $post );			
    			
    			/* 
    			 * uncomment next line to show only a list of titles linked to full post
    			 * if you uncomment, you have to comment the 2 echo below
    			 */
    			
    		echo '<a href="' . get_permalink($post->ID) . '">' . get_the_title($post->ID) . '</a><br />';			
    			
    			/*
    			 * comment the 2 following echo (or remove them) if you use the above
    			 */
    			
    		 // echo '<h3 class="profile_post">'. $page_object->post_title .'</h3>';
    		 // echo $page_object->post_content;
    		}	
    		
    		wp_reset_postdata();	
    	} else { 
    		
    		echo '<div class="info" id="message">No post to show actually.</div>';
    	}
    }
    add_action ( 'my_profile_posts', 'bpfr_get_post' );
    
    function bpfr_get_image() {
    	$myimages = get_posts(  array(
    	'posts_per_page' => 25, // set the number of post to show
    	'author'         => bp_displayed_user_id(), // show only this member post
    	'post_type'      => 'image',
    	'orderby'          => 'post_date',
    	'order'            => 'DESC',
    	'post_status'      => 'publish'
    	));
    	
    	if( ! empty( $myimages ) ) { 
    		
    		foreach($myimages as $post) {
    			setup_postdata( $post );
    			$page_object = get_post( $post );			
    			
    			/* 
    			 * uncomment next line to show only a list of titles linked to full post
    			 * if you uncomment, you have to comment the 2 echo below
    			 */
    			
    		echo '<a title="' . get_the_title($post->ID) . '" href="' . get_permalink($post->ID) . '">' . get_the_post_thumbnail($post->ID, 'thumbnail') . '</a>';			
    			
    			
    		}	
    		
    		wp_reset_postdata();	
    	} else { 
    		
    		echo '<div class="info" id="message">No images to show actually.</div>';
    	}
    }
    add_action ( 'my_profile_image', 'bpfr_get_image' );
    
    function bpfr_post_profile_setup_nav() {
    	global $bp;
    	$parent_slug = 'posts';
    	$child_slug = 'posts_sub';
    	$child_slug2 = 'images_sub';	
    	
    	bp_core_new_nav_item( array(
    	'name' => __( 'My contributions' ),
    	'slug' => $parent_slug,
    	'screen_function' => 'bpfr_profile_post_screen',
    	'position' => 50,
    	'default_subnav_slug' => $child_slug 
    	) );
    	
    	//Add subnav item 	 
    	bp_core_new_subnav_item( array( 
    	'name' => __( 'Latest posts' ), 
    	'slug' => $child_slug, 
    	'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 
    	'parent_slug' => $parent_slug, 
    	'screen_function' => 'bpfr_profile_post_screen'
    	) );
    
    	//Add subnav item 	 
    	bp_core_new_subnav_item( array( 
    	'name' => __( 'Latest images' ), 
    	'slug' => $child_slug2, 
    	'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 
    	'parent_slug' => $parent_slug, 
    	'screen_function' => 'bpfr_profile_image_screen'
    	) );
    }
    
    function bpfr_profile_post_screen() {	
    	add_action( 'bp_template_content', 'bpfr_profile_post_screen_content' );
    	bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function bpfr_profile_post_screen_content() {
    	do_action( my_profile_post);
    }
    
    function bpfr_profile_image_screen() {	
    	add_action( 'bp_template_content', 'bpfr_profile_image_screen_content' );
    	bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function bpfr_profile_image_screen_content() {
    	do_action( my_profile_image);
    }
    
    add_action( 'bp_setup_nav', 'bpfr_post_profile_setup_nav' );

    I’m really new to this, so please forgive me if I’m asking help for something that might be obvious for anyone else. I really would appreciate if someone could guide me to a solution. Thanks a lot!

    #244558
    deanljbirch
    Participant

    Currently in pre-stages of creating a new buddypress site…

    Any links on the website that relate to events are one colour, is the a way to do the same with buddypress?

    What I intend to have is..

    Different colour links to… posts, events, bbPress/BuddyPress (I’ve done the forum posts but stuck on buddypress).

    Any help would be great.

    Deano 🙂

    #244556
    shanebp
    Moderator

    Try adding a call to wp_mail.
    There are several examples of that in codebase.
    For example, see function bp_activity_at_message_notification
    in buddypress\bp-activity\bp-activity-notifications.php

    #244554
    tim.samuelsson
    Participant

    Hi,

    I have manage to do the following:
    1. Create an activity
    2. Create a notification for that activity

    I have used the following code as proof of concept:

    add_action('bp_ready', function() {
        //1. Add an action
        $activity_id = bp_activity_add([
            'action' => '<b>HEJHEJHEJ</b>',
            'content' => '<b>my content my content my content my content my content my content</b>',
            'component' => 'groups',
            'type' => 'activity_update',
            'user_id' => get_current_user_id(),
        ]);
    
        //2. Send the notification
        if (bp_is_active('notifications')) {
            $activity = new BP_Activity_Activity($activity_id);
            $notification = bp_notifications_add_notification(array(
                'item_id' => $activity->id,
                'secondary_item_id' => $activity->user_id,
                'user_id' => $activity->user_id,
                'component_name' => buddypress()->activity->id,
                'component_action' => 'new_at_mention',
                'date_notified' => bp_core_current_time(),
                'is_new' => 1,
            ));
        }
    });

    So how do i make Buddypress to send an email to the user about that notification? Is there any tutorial that describes the process?

    #244549
    JECPFG
    Participant

    Hi djsteveb, I appreciate that but it’s been several days since I asked on the wpmudev’s support forums and they haven’t replied yet, so I’m anticipating the “you’ll need to ask BuddyPress” response. I figure if I ask in both forums, one side may have an answer.

    And since this is a function of the BuddyPress Profile Fields, I assumed I might have a better chance of getting a response here anyway. I know this isn’t overly complex for someone who knows the answer, I’m just hoping to find someone who does.

    #244547
    danbp
    Participant

    – which is especially torturous on mobile devices..

    hahahaha, but in return, you have very thumb muscled mobile devices users. 💪

    Googled for buddypress reverse messages order and found this:
    https://gist.github.com/bappi-d-great/be10c2e096f0e6936b43

    Untested and waiting now for feedback. 👂 🙂

    #244546
    danbp
    Participant

    @djsteveb

    i wrote: To make it work with BP, you add a copy of the original page.php of 2014 and rename it buddypress.php. And you add the condition into that copy.

    I’m not a 2014 specialist and never liked that theme with BuddyPress. The’re so many other out to discover, easy to use and configure, that i wouldn’t loose my (at least) time with it.
    2015 is already avaible and 2016 too, though 2014 is a dynosaur now. Beat’em ! 😉

    #244543
    djsteveb
    Participant

    you could (although this theme is quite tricky with the various sizing things, and I am NOT an expert with this theme or css – so make backups, use child themes – all that jazz)

    you could try changing (or overwriting with child theme / enque an overlap style sheet)

    @media screen and (min-width: 1218px) {
    .site-content, .site-main .widecolumn {
        margin-left: 222px;
    }
    }

    to:

    @media screen and (min-width: 1218px) {
    .site-content, .site-main .widecolumn {
        margin-left: 90px;
    }
    }

    and..

    .buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header {
        max-width: 100%;
        padding: 0px 10% 5%;
    }
    

    change to

    .buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header {
        padding: 0px 1% 5%;
    }
    

    – now of course how these settings affect the groups page is one thing this could cause ill effects on other pages – (ones with double sidebars) – and at different screen sizes.. this 2014 thing gets pretty picky..

    especially with 2014 doing one thing, and the bp-addon style thing doing some other things.. one percentage change here looks good – but a different page at a difference screen size – grrr.. you have to test a lot with this mix (come to find out the hard way here the past couple weeks!)

    This will add a lot more space, which is what I guess you are going for in general – but not remove all sidebars..
    and
    That does not get rid of the left sidebar, which is I guess what you were meaning to ask in the first place with this thread (and I think everyone else was assuming you wanted to get rid of the right sidebar, as our understanding of the term “full width page” – err template in my mind is just that.. looks like you really want a “no sidebars at all page template” for groups page?

Viewing 25 results - 18,026 through 18,050 (of 94,565 total)
Skip to toolbar