Forum Replies Created
-
@danbp How do I remove the profile view page all together ?
Never mind, found the answer a great article by Ryan Fugate
BTW this can be used to modify the heartbeat but that does not solve my issue https://wordpress.org/plugins/heartbeat-control/
Thank you
Activity feed is updating after every 15 seconds and the “Load Newest” link appears if new activities exist. I am no expert PHP developer but every 15 seconds admin-ajax.php is being called by buddypress, I assume this is to check for latest activities, I want to replicate what buddypress is doing every 15 sec just once so that on my form submit after the ‘bp_activity_add’ action happens I can call the same function just once, to “force” the display of my newly added activity. I dont’t need to alter the 15 sec default interval.
Maybe a better Question to ask is how do I post a post from the activity stream post form instead of an update ?
Found the solution, by placing buddypress.js in my child theme file (childtheme/buddypress/js/buddypress.js) as advertised, the problem was the activity privacy plugin https://wordpress.org/plugins/buddypress-activity-privacy/ this conflicts with my overide, afteruninstalling it my buddypress.js works!!!
Okay so upon further inspection it turns out my buddypress.js is being used, however the click function for the the #whats-new-form form around line 101 is not being executed from the buddypress.js, it is being completely ignored WHY?