Replies
- Brajesh Singh on August 20, 2015 at 2:04 pm in reply to: BuddyBlog: "Show single posts on user profile" not working with CPT #134
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). - Brajesh Singh on August 20, 2015 at 1:54 pm in reply to: BuddyBlog: BUG in "Limit number of posts a user can create"? #133
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 - Brajesh Singh on August 20, 2015 at 12:37 pm in reply to: BuddyBlog: BUG in "Limit number of posts a user can create"? #132
Hi Maelga,
Checking for your last 2 feedback. will get back in 30 mins. - Brajesh Singh on August 20, 2015 at 12:11 pm in reply to: BuddyBlog: BUG in "Limit number of posts a user can create"? #129
Hi Maelga,
Are you logged in as admin? Admin users have no restriction. Is it happening for normal users? 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 ).
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?
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
BrajeshPS:
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.
- Brajesh Singh on August 11, 2015 at 6:56 pm in reply to: [Resolved] change css with php in wordpress / buddypress #115
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:)
- Brajesh Singh on August 11, 2015 at 6:31 pm in reply to: [Resolved] change css with php in wordpress / buddypress #113
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?
- Brajesh Singh on August 10, 2015 at 11:36 am in reply to: [Resolved] Profile Privacy causing Theme crash WordPress 4.2.4 #110
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.