Replies
Namecheap makes use of NGINX server might help im not really sure
- This reply has been marked as private.
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
- Tosin on March 20, 2020 at 9:39 am in reply to: [Resolved] Open all external activity links in a new browser tab #28328
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.
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
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
Any update on this sir
- Tosin on February 4, 2020 at 11:03 am in reply to: Force redirect users with empty profile photo to a specific page #27597
Any reply sir thanks
- Tosin on January 30, 2020 at 1:19 pm in reply to: Force redirect users with empty profile photo to a specific page #27521
Any feedback sir thanks
- Tosin on January 28, 2020 at 10:51 am in reply to: Force redirect users with empty profile photo to a specific page #27490
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