[pmwiki-users] ActionLog: How to not show 'browses'

H. Fox haganfox at users.sourceforge.net
Tue Apr 11 01:12:52 CDT 2006


On 4/10/06, Dave Weil <wikimasterdave at yahoo.com> wrote:
> Hmm, I tried pasting that into the config.php, but then nothing showed up.
> Doesnt make sense as the code looks fine. I will experiment with it some
> more. Strange. I currently have:
>
> # Action log, must be after authuser above.
> include_once("cookbook/actionlog.php");
> $ActionLogLinesMax = '1000';

Oops I just noticed something wrong with the previous code.  Changing
it to the following should make it work exactly as it does now, but
only for non-browse page requests.

if (!$action == 'browse') {
  # Action log, must be after authuser above.
  include_once("cookbook/actionlog.php");
  $ActionLogLinesMax = '1000';
}

Hagan

>
> there and the code you sent me is almost identical...
>
> "H. Fox" <haganfox at users.sourceforge.net> wrote:
>  On 4/10/06, Dave Weil wrote:
> > Does anyone know how to make the ActionLog not show browses? I want to
> keep
> > track of what people are editing, creating and deleting, but all the
> browses
> > are really taking up most of the room.
>
> ## Enable the ActionLog recipe.
> if (!$action == 'edit') {
>  include_once("$FarmD/scripts/author.php");
>  include_once("$FarmD/cookbook/actionlog.php");
> }

>
> Hagan
>
> > Thanks,
> > Dave
>
>
>
>  ________________________________
> How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>




More information about the pmwiki-users mailing list