Subject: Latest Forum Posts

Posted on: 21/11/04 07:36pm
By: scubasteve

I want to have the Latest Forum Posts center block only viewable by logged in memebers. How can I do this?

Latest Forum Posts

Posted on: 21/11/04 10:07pm
By: Blaine

Just set the permissions on the block itself - in the block editor.
Disable read access by anonymous users.

Latest Forum Posts

Posted on: 22/11/04 12:15am
By: Anonymous

I have already done that but it is still showing up.

Latest Forum Posts

Posted on: 22/11/04 12:39am
By: Blaine

Oh the centerblock .. nope no way to do that as it is now.

You will have to add a few lines to the function in the the plugins functions.inc file.

Latest Forum Posts

Posted on: 24/11/04 08:23pm
By: bcbrock

Don't know if there is a *better* way to do it, but I was able to accomplish this by adding:

IF ($_USER['uid'] > 1)


just above the line

// Retrieve Centerblock Settings


in the function plugin_centerblock_forum inside the /geeklog/plugins/forum/functions.inc file.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=43582