Disabling core block if user is not logged in.

Permalink
I have a client who wants an "internal communications tool"... Basically, they need to leave comments on certain pages of their website for others to see (other users), but the entire conversations block should only be visible to logged in users. Anyone who doesn't have a log in to the site shouldn't see these blocks.

Any idea how I should go about this? I guess I could just override the core conversation blocks view to not show unless your logged in. Any other ideas on the best way to go about this?

Thanks,
David

ob7dev
 
ob7dev replied on at Permalink Reply
ob7dev
As a simple way of accomplishing this, I overrided the core_conversation view.php at line 19 from
if (is_object($conversation)) {

to
if (is_object($conversation) && $u->isLoggedIn()) {

Now you can only see conversations if your logged in...

Anyone see anything wrong with this, or perphaps a better way to go about this?
ob7dev replied on at Permalink Reply
ob7dev
Found this on setting permissions on conversations:
http://documentation.concrete5.org/editors/dashboard/system-and-mai...