![]() |
Mod Log (Like vB Admin Log)
Requested by ManagerJosh here: https://vborg.vbsupport.ru/showthrea...threadid=43024
Basicly this is the same as the built in admin log, but this works for the Mod CP instead. This should work fine but I haven't given this hack major testing hence its a beta hack, it won't mess up your board though ;) Limited support will be given to this hack :) |
Nice.... will install. ;)
|
Thanks SOOOOOOOOOOOO MUCH! NTLDR !!!!!!!!!!!!! :) :) :) :) :)
*INSTALLS!* |
this conflicts with my current modlog :( - think u cud intigrate the two???
- Mist |
Quote:
|
Basically just go through, every time you see modlog, rename it. Thanks for the hack. :D
|
Yeah, I have the other Mod Log Hack, I'll try the proper alterations on my test board before installing :)
|
Looks promising, i'll install it once out of Beta.
|
If you have the other modlog hack installed the two changes you need to make are:
Use this query instread: [sql]CREATE TABLE moderatorlog ( modlogid int(10) unsigned DEFAULT '0' NOT NULL auto_increment, userid int(10) unsigned DEFAULT '0' NOT NULL, dateline int(10) unsigned DEFAULT '0' NOT NULL, script char(20) NOT NULL, action char(20) NOT NULL, extrainfo char(200) NOT NULL, ipaddress VARCHAR(15) NOT NULL, PRIMARY KEY (modlogid) );[/sql] And use this code in mod/global.php PHP Code:
|
thanks buddy ^
|
Hi, I've installed this on my test board and when I access the modlog from the admin panel I get this error...
Fatal error: Call to undefined function: modlog() in /home/virtual/site2/fst/var/www/html/forums/admin/modlog.php on line 185 Any ideas? This is line 185 of my modlog.php modlog(); Thanks :) |
I removed line 185 (modlog() )
Seemed to work fine and got me around the error. Tested by creating a bogus entry directly into the MySql database, viewed it in the Admincp/modlog and then purged it. |
It works great:)
Satan |
I'll be installing this later today :)
|
In admin/config.php
I have no $canpruneadminlog = ""; Im in /forums/admin/config.php vB version 2.2.8 |
Just add the line in ;)
It just specifies which users can prune the admin log. You can place the code anywhere in config.php as long as its between <?php and ?> |
|
The other hack is older and this hackis newer and have more featurs
-Ardhamon |
Erm...why did you reply to yourself?:confused:
Satan |
Quote:
|
Okay, I have a question. I wan't all of my admins to be able to check up on the Mod Log. How could I make that happen?
|
I believe you need to add your admins userid into the config.php
|
Sure like to see what this look likes ... any screen shots?
|
I believe it is the same as the view admin log...I might be wrong.
|
Quote:
|
All times are GMT. The time now is 04:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|