[pmwiki-users] Log-function

Petko Yotov 5ko at 5ko.fr
Sat Nov 18 00:55:43 CST 2017


I haven't used or reviewed these but there are a number of log/counter 
recipes in the Cookbook:

   http://www.pmwiki.org/wiki/Cookbook/ActionLog
   http://www.pmwiki.org/wiki/Cookbook/TotalCounter (recently updated)
   http://www.pmwiki.org/wiki/Cookbook/VisitorsLogging1337
   http://www.pmwiki.org/wiki/Cookbook/VisitorsLogging

Some store the logs in wiki pages, other in files, but you can see how 
these recipes get the page and action, if that can inspire you for your 
recipe.

Petko

-- 
PmWeekly Blog  :  http://www.pmwiki.org/News
If you upgrade :  http://www.pmwiki.org/Upgrades


On 17/11/2017 19:34, Thomas Lundgren wrote:
> I´m trying to write a cookbook that writes logs-entry every time a
> user access a page.
> 
> Adding a call to my log-function in config.php was my first approach
> but config.php are for some of my pages a bunch of times (depending on
> images, includes and such things) making the log filled with entries I
> don´t want there.
> 
> I don´t want to manually add a markup to every page...
> 
> Are there any better approach? And if so; How?



More information about the pmwiki-users mailing list