Re:

##
##        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

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

I enjoy pie :)

Re:

Sounds cool. I'll have to try it.

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

Re:

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

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

Re:

./include/adminaogs.php

the file is ./include/adminlogs.php wink

I enjoy pie :)

Re:

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

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

Re:

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

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

El Mejor Lugar de la Red - Corporación Azakur4

Re:

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

Re:

Changes:

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

Re:

Mediator wrote:

Changes:

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

Thanks, it works great now! smile

Re:

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:

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.

Re:

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

ERROR - MIRROR

Re:

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

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

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

http://claimid.com/jlangrock
http://claimid.com/images/hcard.gif