[pmwiki-users] UrlApproval only for selected groups?

Patrick R. Michaud pmichaud at pobox.com
Sat Aug 26 10:14:09 CDT 2006


On Sat, Aug 26, 2006 at 04:25:53PM +0200, Stefan Schimanski wrote:
> Hi!
> 
> Is there a way to only approve links which are in selected
> groups? I would like to secure a group used for comments, created with the
> commentboxplus recipe. The Main group is passwort protected anyway, so
> no need for approval.

To enable url approvals for SomeGroup, just put the following
into local/SomeGroup.php:

    <?php
      include_once('scripts/urlapprove.php');

Or, you can put the following into local/config.php:

    include_once('scripts/urlapprove.php');
    $EnableUrlApprovals = 0;

and then to enable url approvals for SomeGroup, just put the
following into local/SomeGroup.php:

    <?php
      $EnableUrlApprovals = 1;

Pm




More information about the pmwiki-users mailing list