1 (edited by Mediator 2005-09-22 13:41)

Topic: Admin Logs 1.0.1

##
##        Mod title:  Admin Logs 
##
##      Mod version:  1.0.1
##   Works on PunBB:  1.2.7,1.2.8 
##     Release date:  22/9/05 
##           Author:  Caleb Champlin (Mediator) [med_mediator@hotmail.com] 
##
##      Description:  This gives board administrators to view almost all admin and mod activities dealing with the forums 
##
##       Affects DB:  Yes 
##
##   Affected files:  mysql.php/mysqli.php
##
##            Notes:  Please check AP_AdminLogs.php for the prune variable 
##
##     Generated By:  Auto Read-Me(by Caleb Champlin) - http://www.unifiedevil.org/Auto_Readme.zip
##
##       DISCLAIMER:  Please note that 'mods' are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.

http://www.punres.org/viewtopic.php?id=694
Mirror: http://www.unifiedevil.org/AdminLog-1.0.1.zip

I enjoy pie :)

Re: Admin Logs 1.0.1

Sounds cool. I'll have to try it.

Looking for a certain modification for your forum? Please take a look here before posting.

3 (edited by briank 2005-09-22 03:37)

Re: Admin Logs 1.0.1

Downloading and giving a try! I'm running 1.2.6 though, hopefully it still works.

edit: nope, php errors ;x

Warning: main(./include/adminaogs.php): failed to open stream: No such file or directory in /home/brian/public_html/forum/include/dblayer/mysql.php on line 30

Fatal error: main(): Failed opening required './include/adminaogs.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brian/public_html/forum/include/dblayer/mysql.php on line 30

Re: Admin Logs 1.0.1

./include/adminaogs.php

the file is ./include/adminlogs.php wink

I enjoy pie :)

5 (edited by briank 2005-09-22 04:56)

Re: Admin Logs 1.0.1

notes.txt says:

require_once(PUN_ROOT . "include/adminaogs.php")

probably should fix that! smile

edit: i re-did it, and im getting this error now.

Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/brian/public_html/forum/include/adminlogs.php on line 96

6 (edited by Azakur4 2005-09-22 05:03)

Re: Admin Logs 1.0.1

i have the same problem

Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in adminlogs.php on line 96

El Mejor Lugar de la Red - Corporación Azakur4

Re: Admin Logs 1.0.1

i think he might have used PHP5 only stuff, but i'm not sure, i'm sure he'll fix it later wink

Re: Admin Logs 1.0.1

Changes:

Fixed typo in readme
Fixed logs not working on anything less than php5 (I hope)
I enjoy pie :)

Re: Admin Logs 1.0.1

Mediator wrote:

Changes:

Fixed typo in readme
Fixed logs not working on anything less than php5 (I hope)

Thanks, it works great now! smile

10

Re: Admin Logs 1.0.1

works great! i wish it had logged stuff on moderators too, to see who moved what thread, and where, perhaps it will be included in the next version.

Re: Admin Logs 1.0.1

briank wrote:

works great! i wish it had logged stuff on moderators too, to see who moved what thread, and where, perhaps it will be included in the next version.

I agree. Any way to implement this?

Looking for a certain modification for your forum? Please take a look here before posting.

12

Re: Admin Logs 1.0.1

Possible see who edit, delete and move topic or message? How do it?

ERROR - MIRROR

13 (edited by jlangrock 2006-11-06 13:56)

Re: Admin Logs 1.0.1

Release 1.0.1 and 1.2.14
I got this message


An error was encountered
File: /.../plugins/AP_AdminLogs.php
Line: 99

PunBB reported: Unable to prune log info

Database reported: Table 'db152284639.ger_logs' doesn't exist (Errno: 1146)


related to this line of code:

$result = $db->query('DELETE FROM '.$db->prefix.'logs WHERE time<'.(time() - (LOG_PRUNE * 86400))) or error('Unable to prune log info', __FILE__, __LINE__, $db->error());

could somebody help ?


I got the solution, it was my fault I had forgotten to run the install_mod. Every day I donot use my brain is a lost day.

Thanks for reading this

The poor horseman without horses
www.galopp-sport.eu

http://claimid.com/jlangrock
[img]http://claimid.com/images/hcard.gif[/img]