BuddyBlock costs a ridiculous $29 to allow users to block other users.
The developer could have put 10s of hours into the plugin. Perhaps that’s the reason for the $29 cost?
i understand that. just as so many others have and charge nothing or a more realistic $5-10 dollars for similar features.
even CodeCanyon plugins cost less than $30 most often.
thanks so much for this, modemlooper – what i get from it is fantastic, but due to some custom tabs i’ve added in bp-profile it’s throwing a couple of errors before it gets to the output:
Warning: Illegal string offset ‘slug’ in /…/public_html/safeusername/wp-content/plugins/bp-custom.php on line 464
Warning: Illegal string offset ‘slug’ in /…/public_html/safeusername/wp-content/plugins/bp-custom.php on line 464
Warning: Illegal string offset ‘slug’ in /…/public_html/safeusername/wp-content/plugins/bp-custom.php on line 479
464:
if( $slug['slug'] == 'settings' || $slug['slug'] == 'messages') {
unset( $comps[$comp] );
}
479: foreach( $comps as $comp => $slug ) {
$compy = $slug['slug'];
from what i can surmise this should be listing my pages for each option in the Profile below, but the output only reads “only show page to friends” and ONE “only show m page to friends.” I can see that the “bp-<?php echo $compy ?>-privacy” isn’t returning a value for some reason.
The thing is, it’s not returning the values from the existing BP pages, like “Profile” (“only show Profile page to friends”) even when I take out the custom tabs code…
truthfully, what i was hoping for was something exactly like this that would return the current members with checkboxes so that a member can block a member. If you could show me how you’d get bp_members , i can create the output in a dropdown or something…
I’d sure appreciate that.
I can’t be sure without seeing your full code but going on the PHP warnings you are getting it looks like you are treating a string as an array.
Try replacing the 3 instances of $slug['slug']
with $slug