The latest version includes the new [] array syntax, which breaks compatibility of old versions of PHP such as php5.3, which though no longer supported by its original developer is still supported and maintained with security patches by long-term-support releases of RedHat.
Would it be possible to change that array declaration from [] to Array()? I made that change myself to quickly get running, though I know it will get wiped out with the next release.
If not, I would appreciate if you would officially document your minimum PHP version (per https://make.www.ads-software.com/plugins/2017/08/29/minimum-php-version-requirement/ ), which would provide documentation for the need to allocate the time to upgrade to a current release of PHP.
Observed error:
PHP Parse error: syntax error, unexpected ‘[‘ in /unixapps/knitprod/wordpress/wp-content/plugins/bp-mpo-activity-filter/bp-mpo-activity-filter-bp-functions.php on line 24
Thank you!
-Matthew
This plugin does an amazing job of filtering the activity stream, but I’m having trouble figuring out how to apply the same sort of filter setting to the Blogs menu of each user’s profile, and on the Blogs Directory page, where in both cases blogs are not listed in Buddypress unless the privacy settings are set to “Google-able”. It would be nice if the blogs that were set to the top three settings (google-able, public but search engines blocked, and visible to network members) allowed the site to be listed within the network. Perhaps for this logic to work, there should be a check to ensure that the main domain (where buddypress is active) is public or private to the network.
https://www.ads-software.com/extend/plugins/bp-mpo-activity-filter/
]]>I see that the filtered messages are added to the end and the posts are cleared so you still see an entry line but no post. That is good but ideally that entry line would not be spit out. Or if it is spit out the items that go with that line such as the ability to reply or remove would not be output. Any ideas on how to accomplish this? I like this activity filter. Thank you – just want to make it a little better if possible. If anyone has ideas but no time let me know the ideas as I am going to look into it pretty soon.
https://www.ads-software.com/extend/plugins/bp-mpo-activity-filter/
]]>My site is learn.sparklelabs.com. Wish it did.
]]>