BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24697

    Hi Maelga,
    I just tested with custom post type and it did Work for the the Id based url like
    domain.com/members/username/buddyblog/post_id.

    I did not test with the string permalink.
    Since I am working on the limiting bug(count issue, I will check this thing too).

  • Keymaster
    (BuddyDev Team)
    Posts: 24697

    Confirmed, Limit no. of posts feature is not working. It seems I have missed something. I will need upto 24 hours as I need to look deeper and update the plugin.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24697

    Hi Maelga,
    Checking for your last 2 feedback. will get back in 30 mins.

  • Keymaster
    (BuddyDev Team)
    Posts: 24697

    Hi Maelga,
    Are you logged in as admin? Admin users have no restriction. Is it happening for normal users?

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on in reply to: Profile Edit Fields / Tabs #126

    Hi Enrons
    Just wanted to put my thoughts on your question.

    Though Anu has gone into details, It is not very clear for what you want to accomplish.

    here is the step you need to do.

    1. There is no way to reuse BuddyPress edit profile template ( without any modification ) to show single field(single group is fine, you can show that).

    2. Your strategy should be create a form and use xprofile_get_field_data to fetch the field data and fillup the form.

    3. Then, you will need to write a custom action handler, that will use xprofile_set_field_data function to update the field.

    To make it easier for the user, you may want to do the update via ajax.

    PS: Are you comfortable with code or do you ant to see a snippet? I will be happy to provide a code snippet( Though I am a little busy, so will need a few days before I can do that ).

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on in reply to: BuddyBlog: posts pending review #120

    Hi Maelga,
    Thank you for the reply.

    My concern was not related to the available post status. BuddyBlog is a generic plugin and I need to understand in what scenario, We can transition a post from draft to pending. Currently and admin can choose to allow users publish or moderate. So, we know whether the submitted post is a draft or should be set as published.

    How do we decide the same for the pending?

  • Keymaster
    (BuddyDev Team)
    Posts: 24697
    Brajesh Singh on in reply to: BuddyBlog: posts pending review #118

    Hi Maelga,
    Thank you for asking.

    1. If you set the post status as draft from BuddyBlog admin settings page, the posts tab lists all the posts(published|draft). I agree with you that we should have a draft section to make it better. Even better will be to provide user with the option to save as draft/published while creating post.

    Please give me 2 days and I will add the draft tab. A little bit busy with some other plugin.

    2. I am sorry but I don’t see a way to differentiate draft from pending/awaiting review

    These are easily doable but I need clarification on how to differentiate.

    Thank you
    Brajesh

    PS:

    I appreciate your suggestion about the individual forum. We have got around 100+ plugins on BuddyDev,giving individual forums will make it complex. We are using tags to manage the plugin association. We will certainly be adding a few more forums as we progress with the new forums 🙂

    Moving to Requests and feedback.

  • Keymaster
    (BuddyDev Team)
    Posts: 24697

    Hi Craig,
    Thank you for the kind words. These are worth more happiness than any money can buy 🙂

    Have a wonderful week to you too and happy social networking with BuddyPress:)

  • Keymaster
    (BuddyDev Team)
    Posts: 24697

    Hi Craig,
    Welcome to the BuddyDev forum.

    Here is a function that you can call anywhere(may be in header or footer) and It will hide the link

    
    function bpdev_custom_hide_link_css() {
    
    	$group = groups_get_current_group();
    	
    	if( empty( $group ) ) {
    		return ;//we are not at group page
    	}
    	//if the current user is not group admin, let us hide it
    	if( ! groups_is_user_admin( get_current_user_id(), bp_get_group_id() ) ) { 
    	?>
    	<style type="text/css">
    		.cpm-projects nav.cpm-new-project a{
    			display: none !important;//hide by overriding any other display layout
    		}
    	</style>
    	<?php
    	}
    
    }
    

    To call it, you can do like this

    
    <?php bpdev_custom_hide_link_css();?>
    

    Can you please give it a try and let me know if this works or not?

  • Keymaster
    (BuddyDev Team)
    Posts: 24697

    Hi Leigh,
    Welcome to the BuddyDev forums.

    Thank you for the bug report.

    That mean we need to update this plugin and use bp only hooks to avoid any such error in future. Will update today/tomorrow and message here too.