BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Auto Activate Auto Login Problem #29335

    Namecheap makes use of NGINX server might help im not really sure

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Auto Activate Auto Login Problem #29334
    This reply has been marked as private.
  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: DISABLE HEARTBEAT API #28975

    Hello brajesh

    The sitewide activity directory is not being excluded with your code above and below. I need heartbeat to load only sitewide activity directory

     add_action( 'init', 'stop_heartbeat', 1 );
    function stop_heartbeat() {
    	if ( bp_is_activity_directory() && bp_is_user_activity() && bp_is_activity_component() && bp_is_group_activity() ) {
    		return;
    	}
    	wp_deregister_script( 'heartbeat' );
    } 

    Thanks

  • Participant
    Level: Guru
    Posts: 910

    The external link is normal links added as text to external websites. If this can be applied across the whole website would be awesome not just activity page only.

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: DISABLE HEARTBEAT API #28315

    Thank you very much brajesh I would also like to ask if your plugin https://wordpress.org/plugins/bp-live-notification/ would still work with the above code if not is there a way to bypass it.

    Thanks

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: DISABLE HEARTBEAT API #28302

    How can I apply this code below but exclude the buddypress activity page

     add_action( 'init', 'stop_heartbeat', 1 );
    function stop_heartbeat() {
    wp_deregister_script('heartbeat');
    } 

    thanks

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: Buddypress moderation suggestion #28263

    Any update on this sir

  • Participant
    Level: Guru
    Posts: 910

    Any reply sir thanks

  • Participant
    Level: Guru
    Posts: 910

    Any feedback sir thanks

  • Participant
    Level: Guru
    Posts: 910

    Thank you for your reply, the reason why I need this is that I have a plugin for posting ads on the frontend and in order to solve the problem of trust and identity with posted ads.
    I need only users who are interested in posting ads to upload their profile photo. I don’t want the code to affect users who are not interested in posting ads, so the code should execute only on a specific page.

    1. Page ID 46589 contains the advert posting form

    2. When users with empty profile photo goes to the page with ID 46589 they will all be redirected automatically to another page with ID 77465 where they will upload their profile photo.

    3. page with ID 77465 contains a custom plugin for uploading profile photos.

    4. other users who are not interested in posting ads should not be affected by the code, so the code should only execute on the Page ID 46589.

    Thanks