Together with https://www.codementor.io/@robertverdes
we fixed the activity stream compatibility issue between DIVI and BuddyBoss — it was showing shortcodes. The change is to be made in the buddyboss-theme/buddypress/activity/entry.php file.
'''
<div class="activity-inner"><?php
$res=preg_replace('#[[^]]+]#','',bp_get_activity_content_body());
$pos=strpos($res,"[");
if($pos>0){
$posEnd = strpos($res,"…",$pos);
if($posEnd>$pos){
$replaceStr=substr($res,$pos,$posEnd-$pos);
$res = str_replace($replaceStr,"",$res);
}
}
echo $res;
?></div>
'''
2
Answers
NOTE: there are likely better (cleaner/safer) ways, but it wasn't worth spending time to analyze the whole plugin to find the right spot...
Oh, also, the search feature still shows shortcodes, so that needs to be fixed as well
buddyboss-platformbp-templatesbp-nouveaubuddypresssearchloopactivity.php
this is the new search activity.php file