BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24774
    Brajesh Singh on in reply to: Re:bp-list-users-in-dir-with-role #1653

    Hi AJ,
    Try clearing cache and then hopefully this will work. Please PM me the details via my profile here
    https://buddydev.com/members/sbrajesh/

    Thank you
    Brajesh

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

    Hi Samir,
    Please ask your developer to look at the bp-ajax-registration-shortcode plugin to see how it can be used with normal form.

    I had a look at the home page form and It does not contains the required code necessary to show errors properly. So, I assume, they did it on purpose and your developer will need to account for that.

    Thank you
    Brajesh

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

    Hi Samir,
    1. To get the popup modal on register link

    In header.php, you will need to make following change

    
    <li class="header-register-button"><a href="#" data-reveal-id="register_panel" class="tiny button radius"><i class="icon-group hide-for-medium-down"></i> <?php _e("SIGN UP", 'kleo_framework'); ?></a></li>
    						
    

    to

    
    <li class="header-register-button bp-signup"><a href="#"  class="tiny button radius"><i class="icon-group hide-for-medium-down"></i> <?php _e("SIGN UP", 'kleo_framework'); ?></a></li>
    						
    

    That will disable the default popup registration form and use the one included with this plugin.

    The form can be customized in the way you want. Just copy ajax-register-form.php from the plugin to your theme and modify it as you need to match the look & feel.

    I am looking at someway to get the home page main registration form working with Ajax registration. Will update here in an hour what I find.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24774
    Brajesh Singh on in reply to: bp-list-users-in-dir-with-role #1649

    Hi AZ,
    Welcome to BuddyDev.

    Can you please point me to a working installation to check the things? It should not be very difficult to integrate these code with profile search.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24774
    Brajesh Singh on in reply to: Activity Stream Style #1648

    Hi Joshua,
    Your activity page is inaccessible to me so can not say much. The code was a guideline for bp-default theme and with small modifications can be used with any theme.

    Can you please check if the staging site is up? Also, If I can get a temporary account, that will be very helpful.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24774

    Hi Jay,
    It is most probably happening because blogs were not recorded.

    Please visit NetworkAdmin->Tools->BuddyPress and check “Repopulate blogs records” and then click repair items.

    See if that works or not?

  • Keymaster
    (BuddyDev Team)
    Posts: 24774
    Brajesh Singh on in reply to: [Resolved] How to Create a Custom Page for Groups? #1640

    Thank you. Will post an update tomorrow.

    Regards
    Brajesh

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