Replies
- Brajesh Singh on September 9, 2015 at 3:50 am in reply to: [Resolved] Warning Notices, etc. With Facebook-like Activity Stream #411
Hi Kip,
There were issues. I have fixed the issues in version 1.1.6Please delete old plugin. Download the new from here
https://buddydev.com/plugins/facebook-like-user-activity-stream-for-buddypress/and update.
Please note that I have changed the name of the plugin zip file to allow us to provide update in future via the BuddyDev Dashboard plugin.
Please do let me know if this works for you or not?
Thank you
BrajeshPS: I thought I posted this yesterday but while checking forum I saw that I missed. I am sorry, It was fixed yesterday and I typed the reply but forgot to post.
Hi Milo,
I am sorry but when I am clicking on images or clicking prev/next in lightbox it is opening correct images. Can you please check and provide me a better clue.About the comment, When we upload a media, The activity containing Media is considered as gallery activity and not media activity. So, Any comment on Media does not get counted there.
- Brajesh Singh on September 8, 2015 at 7:25 pm in reply to: [Resolved] Warning Notices, etc. With Facebook-like Activity Stream #408
Hi Kip,
My apologies for the inconvenience.
As I see these notices are generated by BuddyPress core files, but the fb like user activity might have triggered that. Please allow me 30 mins to check and get back to you.Thank you
Brajesh Hi Milo,
That is not another pick. I have used a 20px(min-height) bottom area which is used by MediaPress addons to show views/rating etc.It has a different color #111 so that looks like a different image. Can you please suggest some improvement there?
PS: Deleting and re uploading is fine for upgrade for now until we get the stable version.
- Brajesh Singh on September 7, 2015 at 9:26 pm in reply to: BP Default Email Notification Settings Control – ETA for new version? #399
Hi Anders,
Thank you for the reply.I am looking forward to hear from you when the project is back on track. Wish you all the best 🙂
Hi Milo,
thank you.
I just updated the lightbox css/template to make it look facebookish. Black background and getting rid of the border.
Here is the commit.
https://github.com/buddydev/mediapress/commit/5eef7b2e10d598a7d16a1d10b6ef26c0ad69909dAbout Crop:- we do have this built into the MediaPress to allow us resize or hard crop the image. I have set it to crop to make it easier for us to have proper grids. I will enable the admin option in our next update(tomorrow) to give you control of this option.
Checking for the comments as I was logged in as admin while adding the comments.
Hi Eric,
Welcome to BuddyDev.The Cosmic Buddy theme is not compatible with current BuddyPress & WordPress. If you are interested in using it, please let me know. We will need 3-4 days and present you with a revamped version of Cosmic Buddy that will be responsive and cleaner than the previous one.
Thank you
Brajesh- Brajesh Singh on September 6, 2015 at 1:11 pm in reply to: BP Default Email Notification Settings Control – ETA for new version? #384
Hi Anders,
Have you had chance to look at the plugin?I will appreciate your feedback.
Thank you
Brajesh - Brajesh Singh on September 6, 2015 at 1:07 pm in reply to: [Resolved] Custom field in BP Simple Front End Post #383
Hi Maelga,
Thank you for asking.Yes, It supports custom fields. Her is an example of form
$settings = array( 'post_type' => 'post_type', 'post_status' => 'draft',//post status to be saved, draft|publish|pending etc 'comment_status' => 'open', //open/closed 'show_comment_option' => 1,//allow person posting the form to control whether there will be comment or not 'custom_field_title' => '',//Section title for custom fields on edit form 'custom_fields' => array( 'key1' => array( 'type' => 'textbox', //textbox, textarea, radio, checkbox, select, date, hidden 'label' => 'Label for this field ', 'default' => 'default value for this field' ), 'key2' => array( 'type' => 'checkbox', // 'label' => 'Label for this field ', 'default' => 'default value for this field', 'options' => array( array( 'label' => 'Some label', 'value' => 'value' ), array( 'label' => 'Some Other label', 'value' => 'value 2' ), ) ) ), //'upload_count' => 0, 'has_post_thumbnail' => 1, 'current_user_can_post' => true,//true|false attach some callback here to do it at run time 'update_callback' => '',//register your callback function here, It will be called after saving post, provided the post id ); bp_new_simple_blog_post_form( 'your-unique-form-name', $settings );
As you see ‘custom_fields’ is a multi dimensional array.
I will just explain that section.
The custom_fields is an associative array of arrays where ‘key’ is used as the post meta key and the value array is used for displaying the custom field.
For example:-
$custom_fields = array( //key1 is stored as post meta key 'key1' => array( 'type' => 'textbox', //textbox, textarea, radio, checkbox, select, date, hidden 'label' => 'Label for this field ', 'default' => 'default value for this field' ), );
In the above snippet, we are registering a single custom field of type ‘text’. The value provided here will be stored in the post meta with meta key =’key1′.
For the textbox, textarea, date, hidden fields you can register those as other entries as shown above.
It gets complicated when we need to deal with ‘selectbox’, ‘checkbox’ and ‘radio’ fields. Fo these fields, we need to provide another field in the value array with key ‘options’.
This ‘options’ field is an array of arrays and contains each of the radio/checkbox/selectbox item as key, label array.
Hope that helps.
Hi Milo,
Just wanted to notify that we got this in in the last commithttps://github.com/buddydev/mediapress/commit/60b7e4ed733affead91e648533feaf58d42f9613