[Typo3] Simple Stats extension

Roberts, Emma Emma.Roberts at isd.csa.scot.nhs.uk
Wed Oct 19 16:11:22 CEST 2005


Wow - that would be great. I'll give it a go.

Many thanks.

Emma


-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Peter
Klein
Sent: 19 October 2005 15:10
To: typo3-english at lists.netfielders.de
Subject: Re: [Typo3] Simple Stats extension


Hi Emma. You can easily move it from "Tools" (Admin only) to "Web" (All BE 
users) by changing a few lines in the extension:

Go to the "mod1" folder of the extension, and change these files:

In "conf.php" , change:
$MCONF["name"]="tools_txdephpotM1";

Into:
$MCONF["name"]="web_txdephpotM1";

and change:
$MCONF["access"]="admin";

into:
$MCONF["access"]="user,group";


In "ext_tables.php", change:
t3lib_extMgm::addModule("tools","txdephpotM1","",t3lib_extMgm::extPath($_EXT
KEY)."mod1/");

Into:
t3lib_extMgm::addModule("web","txdephpotM1","",t3lib_extMgm::extPath($_EXTKE
Y)."mod1/");


And finally in "index.php", change:
if (($this->id && $access) || ($BE_USER->user["admin"] && !$this->id)) 
{

Into:
if (($this->id && $access) || ($BE_USER->user["admin"] && !$this->id) || 
($BE_USER->user["uid"] && !$this->id)) {


Then Clear cache and reload the Typo3 backend, and you should now see the 
menuitem under "Web"
(You might need to uninstall and install the extension again, in order for 
the changes take effect.)

-- 
Peter Klein/Umloud Untd


"Roberts, Emma" <Emma.Roberts at isd.csa.scot.nhs.uk> skrev i en meddelelse 
news:mailman.5176.1129727061.10463.typo3-english at lists.netfielders.de...
> Hi,
> Thanks, got this working.
>
> I guess it's only available to admin users right?
>
> Emma
>
>
>
> -----Original Message-----
> From: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Erik
> Svendsen
> Sent: 18 October 2005 23:32
> To: typo3-english at lists.netfielders.de
> Subject: Re: [Typo3] Simple Stats extension
>
>
> Hello Emma,
>
> I'm using the Visitor Tracking System (de_phpot), who I think gives some
> more information than the simple statistic. I have it working both on 
> Linux
> and Windows.
>
> WBR,
> Erik Svendsen
> www.linnearad.no
>
>> Hi,
>> I'm trying to get some sort of statistic reporting system working on
>> my
>> Typo3 installation.
>> I'd tried cc_awstats but ran into difficulty because I'm using a
>> windows server. I ended up contacting the author, Jesper, directly and
>> he advised me not to use AWstats with Typo3 at all.
>>
>> So I'm back to using the simple stat extension which I can't get to
>> work either.  I'm getting this error message:
>>
>> Warning: mysql_fetch_row(): supplied argument is not a valid MySQL
>> result resource in
>> D:\ShowProd\TYPO3\mcncontentmanagement\typo3\t3lib\class.t3lib_db.php
>> on line 736
>>
>> Can someone please help? What do other people do about site
>> statistics?
>>
>> Many thanks.
>>
>> Emma _________________________________________________________________
>> NHS National Services Scotland Disclaimer
>>
>> The information contained in this message may be confidential or
>> legally privileged and is intended for the addressee only. If you have
>> received this message in error or there are any problems please notify
>> the originator immediately. The unauthorised use, disclosure, copying
>> or alteration of this message is strictly forbidden.
>> _________________________________________________________________
>>
>
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> _________________________________________________________________
> NHS National Services Scotland Disclaimer
>
> The information contained in this message may be confidential or
> legally privileged and is intended for the addressee only. If you have
> received this message in error or there are any problems please notify the
> originator immediately. The unauthorised use, disclosure, copying or
> alteration of this message is strictly forbidden.
> _________________________________________________________________
> 


_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_________________________________________________________________ 
NHS National Services Scotland Disclaimer 

The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only. If you have 
received this message in error or there are any problems please notify the 
originator immediately. The unauthorised use, disclosure, copying or 
alteration of this message is strictly forbidden. 
_________________________________________________________________ 




More information about the TYPO3-english mailing list