BuddyDev

Search

Buddypress Ajax Registration -> Popup on pageload

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #5591

    Hi,
    Please make sure you have completed the change in the above step.

    We may use this code to temporarily disable it on other pages

    
    function bpajaxr_only_load_on_signup() {
    	if ( ! is_user_logged_in()  && is_page( 'sign-up' ) ) {
    		return true;
    	}
    
    	return false;
    }
    add_filter( 'bp_ajaxr_load_js', 'bpajaxr_only_load_on_signup' );
    
    

    It should go in your bp-custom.php
    Hope that helps.

  • Participant
    Level: Initiated
    Posts: 18
    Archaic Guru on #5595

    this worked perfect, thank you. if you put together all of the custom programming you have done for this plugin it could be very successful I think, thank you for the great support

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #5601

    Thank you. I am glad I was able to help.

    We have plans to impart some functionalities in future in the plugin itself.

    Marking it as resolved now.

    Brajesh

The topic ‘Buddypress Ajax Registration -> Popup on pageload’ is closed to new replies.

This topic is: not resolved