BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Lightbox setting not having effect #1639

    Hi,
    I will update MediaPress lightbox this weekend for sure.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Ajax Registration plugin #1638

    Hi Samir,
    A developer can easily get this plugin working with Sweetdate or any theme. When I said It did not work, I mean out of the box integration with SweetDate.

    The theme already binds popup to register link, so that makes the register link trigger useless for us.

    Also, though the homepage registration form looks great on the theme, It is incomplete and can not be used to register user(You see you get redirected to register page on submit). These two make it a difficult combination.

    As posted in your thread, I will be looking at it tomorrow( Today, Indian time ) and will ry to find some easy solution.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Custom post fields in buddyblog #1637

    Hi Martin,
    My apologies for the delay.

    1. Please upgrade to Bp Simple Front End post plugin

    2. Please try adding this code to bp-custom.php and let me know if it works or not?

    
    
    add_filter( 'buddyblog_post_form_settings', 'buddyblog_martin_custom_fields' );
    //modify buddyblog form settings
    function buddyblog_martin_custom_fields( $settings ) {
    	
    	$custom_fields = $settings['custom_fields']; //already registered fields
    	
    	//allowed field
    	//1. textbox
    	//2. texarea
    	//3. radio
    	//4 .select
    	//5 .checkbox
    	//6. date
    	//7. url
    	//. number(integer)
    	//7. hidden
    	
    	$custom_fields['synopsys']	= array( //on single page use get_post_meta( $post_id, 'synopsys', true ) to access it
    			'label'		=> 'Synopsis',
    			'type'		=> 'textarea',
    			'default'	=> '', 
    			
    		);
    	$custom_fields['genre']	= array( 
    			'label'		=> 'Genre',
    			'type'		=> 'textarea', //change to textbox for single line text field
    			'default'	=> '', //in case of
    			
    		);
    	$custom_fields['cast']	= array( 
    			'label'		=> 'Cast',
    			'type'		=> 'textarea',
    			'default'	=> '', //in case of
    			
    		);
    	$custom_fields['release_date']	= array( 
    			'label'		=> 'Release date',
    			'type'		=> 'date',
    			'default'	=> '', //in case of
    			
    		);
    	
    	$custom_fields['budget']	= array( 
    			'label'		=> 'Budget',
    			'type'		=> 'number',
    			'default'	=> '', //in case of
    			
    		);
    	$custom_fields['twitter']	= array( 
    			'label'		=> 'Twitter',
    			'type'		=> 'url',
    			'default'	=> '', //in case of
    			
    		);
    	$custom_fields['ratings']	= array( 
    			'label'		=> 'Ratings',
    			'type'		=> 'checkbox',
    			'default'	=> '', //in case of
    			 //only applicable for select/radio/checkbox etc
    			'options'	=> array(
    				array(
    					'label'	=> 'Y',
    					'value'	=> 'Y'
    				),
    				array(
    					'label'	=> 'T7',
    					'value'	=> 'T7'
    				),
    				array(
    					'label'	=> 'G',
    					'value'	=> 'G'
    				),
    				array(
    					'label'	=> 'PG',
    					'value'	=> 'PG'
    				),
    				array(
    					'label'	=> '14',
    					'value'	=> '14'
    				),
    				array(
    					'label'	=> 'MA',
    					'value'	=> 'MA'
    				),
    			)
    		);
    	
    	$settings['custom_fields'] = $custom_fields;
    	
    	$settings['upload_count'] = 1;//one upload
    	
    	return $settings;
    	
    }
    
    

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BP Ajax registration Plugin help #1633

    HI Samir,
    Thank you.
    You mentioned that a non technical solution, that’s why I said no.

    It is doable but will loose the beauty of that theme. Still, please give me till tomorrow and I will give a try to something else. I do have a copy of sweet date running for a client site. I will give a try on his test server tomorrow.

    I am not in a position to supply much css this week( Our own premium theme is due by weekend) and that’s why I had tried to avoid it.

    If you are working with a developer, please do let me know, I can easily guide him/her to enable ajax registration.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Buddypress – Move Settings Page Edit #1631

    Hi Joshua,
    Thank you.

    I am always happy to be of some help 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] MediaPress create gallery #1627

    Thank you. Closing it as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Buddypress – Move Settings Page Edit #1625

    Hi Joshua,
    This is a little old code I wrote but it does the same thing. Try putting it in your bp-custom.php and let me know how it goes.

    http://pastebin.com/9NZMs6je

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Custom BP Groups Tab/Page #1624

    You are right about that. This is what I love about BuddyPress. It is very easy to extend for any new feature.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BP Ajax registration Plugin help #1623

    Have issued a refund. Please confirm if you received or not?

    thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] MediaPress create gallery #1622

    Hi John,
    I am sorry.
    That was a bug I introduced and fixed it 3 days ago. Please upgrade MediaPress.

    Thank you
    Brajesh