BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: Setting upload limits by User/Group #1458

    Hi George,
    thank you for opening the topic.
    By limiting, do you mean setting up the storage quota?

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: BP-Album Importer #1456

    Hi TO,
    Welcome to BuddyDev forums.

    I am sorry but we don’t have any importer ready at the moment and the plan is to work on importers from second week of December.

    If you are starting a fresh site, please do give MediaPress a try, for migration, I am sorry but will have to wait till late December.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: [Resolved] Custom post fields in buddyblog #1455

    Hi Martin,
    Thank you for asking.

    It is possible for a site admin to add fields y using custom code. If you can tell me the field name and type I can provide code for that.

    Sorry about the second issue but the user can not crate their own field. Only can add values based on admin provided fields.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Brayden,
    you can update that code with this

    
    $activity_id = bp_get_activity_id();
        
    if( ! bp_is_anonymous_activity(  $activity_id ) ) :?>
    
    	<a href="<?php bp_activity_user_link();?>" <span class="text-primary"><i class="fa fa-paper-plane"></i> View </span><?php echo $xprofile_user;?> Profile</a>
    <?php else :?>
    	<a href="#"><span class="text-primary"><i class="fa fa-paper-plane"></i> </span> Anonymous </a>
    <?php endif;?>
    
    

    Also, you can modify it as you need.

    Hope that heps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Jan,
    Thank you for posting.
    This is doable and we have done it in the past too. Since this plugin is going through major rewrite at the moment and I expect to release the next version by early next week, I will like to know if it is possible for you to wait till then? If not, i will post the code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi James,
    For the time being, you can put this in your bp-custom.php to allow direct publishing.

    
    add_filter( 'bcg_form_args', 'bcg_custom_form_args' );
    
    function bcg_custom_form_args( $args ) {
    	$args['post_status'] = 'publish';
    	
    	return $args;
    }
    

    Please do note that this plugin is going through rewrite at the moment and we will have a version ready by next week that will allow you to select these settings from Settings page.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi,
    Try Bp profile cover image plugin. They have used our code and modified it to set covers.
    https://wordpress.org/plugins/buddypress-cover-photo/

    Also, this is coming as part of BuddyPress 2.4

    Hope that helps

  • Keymaster
    (BuddyDev Team)
    Posts: 25218

    Hi Joshua,
    I personally have used only 4 bbPress plugins till date.

    1. Search BBPress 2.0 by Stephen Carrol:- Must if you need fully functional bbpress frum search

    2. GetShopped Support forums:- Slightly modified version of it. Using to give users point and rank for the bbpress posts. Also It allows us various topic status like resolved etc.

    3. bbPress Notify Admin:- Our very own plugin to get notifications whenever there is a new reply/new topic on the forum. It is very helpful if you are running support forums.

    4. bbPress backtick:- Again our own implementation to allow using backticks for posting code in bbPress forums. There is an alternative available as bbp backtick.

    That’s all I use. The first one is a must have for enhancing experience and the second helps you to have more engagement for the user.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: [Resolved] Buddypress as Wire Plugin #1438

    Hi Joshua,
    since you had custom activity loop, It might have worked differently. I am glad you figured it out. Closing this topic as resolved now.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25218
    Brajesh Singh on in reply to: [Resolved] Buddypress Notification #1437

    Hi Joshua,
    Apologies for delayed reply.

    Please give the following code a spin.

    
    <?php 
    $css_class = '';
    $unread_notifications = bp_notifications_get_unread_notification_count( get_current_user_id() );
    
    if( $unread_notifications ){
    	$css_class = 'has-new-notifications';
    }
    
    ?>
    <a href="<?php bp_notifications_permalink();?>" class="someclass <?php echo $css_class;?>"> Notification</a>
    
    

    You will need to modify it for the icons or update for your theme but it shows how to add extra class when there are new notifications and link to the notifications page.

    If you want to link to unread notifications, you may update the bp_notifications_permalink() with bp_notifications_unread_permalink()

    Hope that helps.