Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,501 through 21,525 (of 94,541 total)
  • Author
    Search Results
  • #233403
    chcsuter
    Participant

    hi
    I’m using BuddyPress as intranet

    It is possible that when someone writes a note for all Users that each user will get a notification

    Best Regards

    Christian Suter

    #233402
    Brajesh Singh
    Participant

    Hi,
    the problem is that currently the pagination links are broken.
    for example if you put the page number manually like this
    https://buddypress.org/extend/plugins/?ppage=5
    It will work. After the second page, the pagination is broken .

    I am not sure if the moderators, developers are aware.

    #233400
    bazaarocommunity
    Participant

    That’s really too bad. Looks like it has been moved to a future release instead of 2.2 unfortunately.

    Is there a way to replicate the Activity Loop, Comment Box, etc. on a separate homepage instead of using the ‘Activity Stream’ template?

    For example, the theme I’m using allows me to display the activity loop using shortcode and that doesn’t seem to cause an issue. So, I think if I could build a front-page.php template that performed the activity loop, comments, etc., it would bypass the issue.

    I tried to copy and paste the index.php content from buddypress/activity/ into a front-page.php file, and the formatting didn’t work out because I think all the references rely on the files being located in the original hierarchy.

    #233396
    Brajesh Singh
    Participant

    Hi,
    It is a bug with BuddyPress and there is still an open ticket for the purpose.
    You can see the details here

    https://buddypress.trac.wordpress.org/ticket/5087

    and here
    https://buddypress.trac.wordpress.org/ticket/5643

    At the moment, there does not seem to be a solution. The problem is that query variable ‘s’ is used for Normal WordPress search as well as BuddyPress activity search too. So, When BuddyPress activity is set as home page, the wordpress search query( which is like sitename/?s=someterm) is mistaken for BuddyPress activity search and gets handled by BuddyPress causing the trouble.

    It will need some work on the way BuddyPress catches url(I am hoping that). let us hope that it makes to the core soon.

    #233395
    bazaarocommunity
    Participant

    I have several custom post types on my website that are not working correctly with a category search filter (http://docs.designsandcode.com/search-filter/) and BuddyPress. For example, I have applied the following code to one of my pages:

    <?php echo do_shortcode(‘[searchandfilter fields=”encyclopedia-category,post_date” types=”select,daterange” hierarchical=1 hide_empty=1 submit_label=”Filter”]’); ?>

    This is intended to filter “Encyclopedia” post types by category (http://dennishoppe.de/en/wordpress-plugins/encyclopedia). The filter works perfectly on my category and single page, but fails on the archive page.

    The issue is somehow connected to BuddyPress because when I set the BuddyPress Activity Stream page as my homepage, the filter stops working and redirects me to my home page and displays something similar to the following in the URL rather than displaying the category page as appropriate:

    https://sandbox.stratics.com/?encyclopedia-category=slug

    However, when I use any other static page as the homepage (such as a standard homepage instead of the Activity Stream), the filter starts working again. I suspect this has something to do with the way the search filter uses permalinks and the way BuddyPress treats permalinks when it is used as a homepage, but I am at a loss at this point.

    The filter works just fine for my normal posts, but not for custom posts.

    screampuff
    Participant

    Hello, I have an internal company site so privacy is not an issue.

    I want the Buddypress profile of each user to display each person’s wordpress account email address with a mailto link.

    Is there an easy way to accomplish this?

    #233389

    Topic: Hi

    polochon3
    Participant

    Hello,

    I installed on my wordpress Query Monitor and finds me the following php errors.

    bp_add_rewrite_tags 5 BuddyPress->add_rewrite_tags()
    Error: Method BuddyPress::add_rewrite_tags() does not exist

    bp_setup_current_user 5 BuddyPress->setup_current_user()
    Error: Method BuddyPress::setup_current_user() does not exist

    I understand nothing.

    sincerely
    TB

    Juan Vargas
    Participant

    I’m building a site and the registration page doesn’t look good on mac devices, the layout is all messed up. I have checked on PCs and it looks fine, but whether is a Mac, iPad or iPhone, the text and boxes are not arranged properly.

    I’m using Buddypress, bbpress and the theme is Catch Box, which otherwise works beautifully on all other pages. The domain is http://www.bookbuk.com.

    Thanks!

    #233368
    peter-hamilton
    Participant

    Don’t know how to do that, but you could add extra fields to your Buddypress profiles to achieve a similar outcome.

    #233367
    peter-hamilton
    Participant

    Why are the tags all over the forum list, can they not stay inside the sidebar

    Too much red

    Buddypress css

    #233363
    danbp
    Participant

    @chatty24, all readers,

    the modified code used here throws a warning with BP 2.2. Don’t use it !

    FYI the title code after applying the snippet looks like this:
    <title>You Have 1 New Notification(s) - </title>
    You can probably remove the –

    Thxs @sbrajesh, you where faster as me ! 😉

    #233357
    Brajesh Singh
    Participant

    Hi Fan,
    Do you mean removing the tabs in user profile ?
    If yes, Please visit Dashboard->Settings->BuddyPress then click on the components tab.
    there you can disable the Notifications and settings component.

    If you are using WordPress multisite, you can find the BuddyPress settings under NetworkAdmin->Settings->BuddyPress

    Hope that helps.

    #233356
    Brajesh Singh
    Participant

    Hi Chaitanya,
    Try this code.

    
    
    function bpfr_add_notification_to_page_title( $title, $original_title, $sep  ) {
    	
    	//do not change if the user is not logged in
    	if( ! is_user_logged_in() )
    		return $title;
    	
    	$user_id = get_current_user_id();//logged in user's id
    	
    	$count = bp_notifications_get_unread_notification_count( $user_id );
    	
    	if( $count > 0 )
    		$title = sprintf( "You Have %d New Notification(s) - ", $count );
    	
    	return $title;
    	
    	
    }
    add_filter( 'wp_title', 'bpfr_add_notification_to_page_title', 100, 3 );
    

    I have modified the code from your last post. The difference is, It only does it for logged in users. Also, I have decreased the priority to make it work on BuddyPress pages( otherwide bp_modify_title would have overwritten it).

    Hope that helps.

    #233348
    danbp
    Participant

    @henrywright is right. There is only one js file handling whats-new: buddypress.js and one function: bp_activity_action_post_update() in bp-activity-actions.php:289 (2.2) and of course CSS, in buddypress.css

    Thought you have to use the minified versions to get customization to work.
    buddypress.min.js
    buddypress.min.css

    #233338
    Henry Wright
    Moderator

    There’s 2 types of notifications: a) read and b) unread.

    bp_notifications_get_unread_notification_count( $user_id ) will get you the unread count so you could use that value in the comparison you mentioned here.

    #233334
    Henry Wright
    Moderator

    I think you’re right in that bp-legacy files are used when a file doesn’t exist in your templates folder. In this case though I’m not sure the same applies as it’s a .js file. Perhaps @danbp will know what happens in this instance?

    Update: After a little research, it seems as though the same does apply to .js files. See here which loosely mentions .js files

    * As of BP 1.8 the paths for assets i.e styles and JS has been modified to look to your ‘buddypress’ or ‘community’ folders first…

    So you’re right to think the JavaScript that expands the what’s new textarea on focus may exist elsewhere. But unless you’ve explicitly created the file in your theme, then bp-templates/bp-legacy/js/buddypress.js should be the only place.

    #233331
    danbp
    Participant

    hi,

    increasing the avaible memory means php memory, which handles scripts.
    On a usual install, WP+BP need at least 128mo to run flawless.

    Even if the server as the theoric resources, weird scripts or bad coded theme or plugins can lead to severe issues…

    Read here for some basics about blank sreen of death.
    This is actually the only issue which is real ! You have to consult the log files to track down the responsible script who generate this error.

    Please give also more details about your install (theme name or site url, used plugins, server type and php, mysql version number) if you need more and/or better help.

    #233330
    danbp
    Participant

    Hi,

    before asking for a fix, there is a need to identify the problem. You’re using 2 third parties plugin which you think are creating issues… Maybe, maybe not.

    First of, give your site URL so other can try to help you eventually.
    Second, if you’re sure one, or both plugins are defect somehow, you can ask on thei r respective support.

    To be clear in regards of issues, ensure always that your base install is working correctly.
    Is WP ok ? yes/no
    Is BuddyPress ok ? yes/no
    Is your theme ok ? yes/no

    If 3 “yes”, each time you activate a plugin and something goes wrong, you’ll be sure it’s the plugin, and not your install. In 95% of cases, the culprit is the added extension.

    This is a debug logic you can follow to find or try to, for explanations. 😉

    fptquangngai
    Participant

    Hello all!
    After activating BuddyPress, my admin area turned to a blank screen. Launching FTP client and renaming the buddypress subdirectory solved it immediately, but no matter what I tried (deleting the files, reinstalling, cleaning up the transient records from the database, etc), re-activating BP immediately results in everything behind wp-admin turning to a blank screen.

    Search through support forums here lead to no solution. There are recommendations to increase the available memory, but I’m on a very powerful dedicated server with more than 50% memory available. I had this confirmed after consulting with my webhost.

    What’s a guy to do to make BP work?

    PS – I run a very busy website with 10 Million uniques a month, 20% bounce rate, 12 pages accessed per visit, 480k registered members and a new comment made approximately every 2 to 3 minutes. The server is powerful enough to handle this load of traffic and have a lot of extra power for spikes. I’m sure the problem is not with insufficient server resources. Help?

    #233326
    fptquangngai
    Participant

    I am using buddypress on my website, and when a user send’s a message its shows the real name of user and not the username, i want it to be username. I did go through the code for messages in bp-messages-template

    function bp_message_get_recipient_tabs() {
    	$recipients = explode( ' ', bp_get_message_get_recipient_usernames() );
    	
    	foreach ( $recipients as $recipient ) {
    		$user_id = bp_is_username_compatibility_mode() ? bp_core_get_userid( $recipient ) : bp_core_get_userid_from_nicename( $recipient );
    		if ( $user_id ) : ?>
    
    			<li id="un-<?php echo esc_attr( $recipient ); ?>" class="friend-tab">
    				<span><?php
    					echo bp_core_fetch_avatar( array( 'item_id' => $user_id, 'type' => 'thumb', 'width' => 15, 'height' => 15 ) );
    					echo bp_core_get_userlink( $user_id );
    				?></span>
    			</li>
    
    		<?php endif;
    	}
    }

    But this shows it is picking up username and not the real name. Can anyone tell me where to make a change so that it displays the username and not the real name of person.
    Thanks!

    chatty24
    Participant

    Hey,

    I am trying to change the page title whenever there are notifications.

    If a user has more than 0 notifications then it should show, ‘You Have New Notifications’.

    I have tried out this code :

    $notifications = bp_notifications_get_notifications_for_user( bp_loggedin_user_id(), 'object' );
        $count         = ! empty( $notifications ) ? count( $notifications ) : 0;
    
    if ( $count>0 ) {
      add_filter('wp_title','my_page_title',10,1);
    
    function my_page_title($title){
        $title='You Have New Notifications'; 
        return $title;
    }
      }

    But, it is not working. It is only working when I change the value of this code

    $count = ! empty( $notifications ) ? count( $notifications ) : 0;

    from 0 to 1,2 etc. Something like this,

    $count = ! empty( $notifications ) ? count( $notifications ) : 2;

    So, it is reading this end number as the number of notifications. I referred the notification code from here

    How can I make this code work?

    Thanks
    Have a nice day!

    #233322
    TheTheatreProf
    Participant

    The problem I’m running into is when I upload my avatars, I get a statement of “There was a problem cropping the group profile photo.” The files are indeed being uploaded, as there are folders with the images in them. But I cannot seem to crop them or have them show as my pic or my groups pic.

    I have already attempted turning off all plugins and running the 2014 theme. I am running WordPress 4.1 and Buddypress 2.1.1. I’m hosted on Flywheel. My website address is http://www.thetheatreprofessor.com

    Any help is greatly appreciated. Thanks so much.

    #233319
    Henry Wright
    Moderator
    Number_6
    Participant

    Hi,

    When one clicks on the input field on the activity box, it expands. This is really annoying when adding extra forms to the div. I’ve been asking on and off for years how to rid my buddypress of it, and I get no help. I once got around it by fixing the height of the div, but that’s a limited solution. I need to find the javascript that’s responsible and purge it!

    Anyone know anything of this feature?

    #233317
    wadsworth4
    Participant

    Thank you for your reply and for the link. Good to know it is not just our system. To date, Buddypress is the only plugin we have tested that fails to provide a useful title (traditionally, Page | Site ).

    I disagree with the point, however, that only a page should be cited in a page title. Just as with a book, a page is only part of a site. The name of just a page is fairly useless in bookmarking, just as with with a book. We may know we left off at page 123, but without knowing which book, it is not very helpful. 😉

    A quick web search pulls up instances (including CUNY) of the Buddypress title problem of “Site Directory Directory,” as well, which makes one wonder if BP could leave title control to WP somehow.

    Thanks again for taking time out for the informative feedback, albeit disappointing.

Viewing 25 results - 21,501 through 21,525 (of 94,541 total)
Skip to toolbar