BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24706

    Hi Kip,
    There were issues. I have fixed the issues in version 1.1.6

    Please 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
    Brajesh

    PS: 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on in reply to: Individual Images #409

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on in reply to: Individual Images #404

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706

    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 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on in reply to: Individual Images #397

    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/5eef7b2e10d598a7d16a1d10b6ef26c0ad69909d

    About 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on in reply to: Help with Cosmic Buddy #387

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 24706

    Hi Anders,
    Have you had chance to look at the plugin?

    I will appreciate your feedback.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on in reply to: Individual Images #380

    Hi Milo,
    Just wanted to notify that we got this in in the last commit

    https://github.com/buddydev/mediapress/commit/60b7e4ed733affead91e648533feaf58d42f9613