Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25249

    And to achieve what I said in my last post will be as simple as changing

    
    get_the_category_list( ', ')
    
    

    to

    
    get_the_category_list( ', ','single' )
    

    in our post listing template

  • Keymaster
    (BuddyDev Team)
    Posts: 25249

    Hi Devin,
    I have got the first case working. I had to modify the simple front end post plugin slight to accommodate child_of argument for taxonomy.

    I have a question about your last requirement. Why not we just assign the child selected category only to the post and while listing, we list from that child to the top level.

    A post in any child category of a category will also appear in the archive of the parent category of the selected category, so that is never a problem.

  • Keymaster
    (BuddyDev Team)
    Posts: 25249

    Hi Maelga,
    The delete and edit are not capabilities.

    Please take a look at this page for using the proper capabilities.
    https://codex.wordpress.org/Roles_and_Capabilities#delete_posts

    It should be edit_posts and delete_posts. Also, if your custom post type is mapping the capability, in that case, you may need to use the mapped capability. Please try the edit_posts and delete_posts and see if that works.

  • Keymaster
    (BuddyDev Team)
    Posts: 25249

    Hi Devin,
    Welcome to the BuddyDev forum and thank you for Buying the support.

    Your details and very clear and concise. If I understand correctly, all we need to do is allow the users to select from sub category of the User blogs and when the post is saved assign the sub category as well as parent category?

    If that is correct, please give me a couple of hours and I will post the code.

    PS: We are phasing out all other support channels in favor of this support forum.

  • Keymaster
    (BuddyDev Team)
    Posts: 25249

    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: 25249

    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: 25249

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

  • Keymaster
    (BuddyDev Team)
    Posts: 25249

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

  • Keymaster
    (BuddyDev Team)
    Posts: 25249
    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: 25249
    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?