[Typo3] EXT: Visitor Tracking System - only for admins?

Katja Lampela katja.lampela at lieska.net
Wed Oct 12 02:39:04 CEST 2005


Jody Cleveland wrote:
> Hello,
> 
> I've got typo 3.8 running on redhat 4.0 AS.
> 
> For the Visitor Tracking System extension, is it possible to allow
> backend users to see/ use it? It appears as though only admins can see
> it.
> 
> --
> Jody Cleveland
> Computer Support Specialist
> cleveland at winnefox.org

Hi Jody
I've copied this in the old howto-archive:

-------- EDITED BY Luite van Zelst -----------
The same thing can be archived in fewer steps, preserving the the module 
as a tools-submodule. This applies to other tools-submodules as well.

(in EXTENSIONS)
1. mod1/conf.php
change...
$MCONF["access"]="admin";
to...
$MCONF["access"]="user,group";

2. mod1/index.php
change...
if (($this->id && $access) || ($BE_USER->user["admin"] && !$this->id))
to...
if (($this->id && $access) || ($BE_USER->user["admin"] && !$this->id) || 
($BE_USER->user["uid"] && !$this->id))

3) typo3/mod/tools/conf.php
change...
$MCONF["access"]="admin"
to...
$MCONF["access"]="group,user"

4. clear cache.
-------- END - EDITED BY Luite van Zelst -----------

Hope this helps
- Katja -



More information about the TYPO3-english mailing list