Version: , by Overgrow
Developer Last Online: Jun 2004
Version: 2.2.x
Rating:
Released: 05-17-2001
Last Update: Never
Installs: 73
No support by the author.
Moderator Logs for vBulletin
Design Spec:
Track moderator and admin activites including: closing, opening,
moving, and deleting threads. You are able to set the number of
logs you view at one time and you can focus down to just one
moderator by clicking on their name.
Steps for installation:
-add one database table 'modlog'
-edit one file 'postings.php'
-upload one file 'modlog.php'
!!! DISCLAIMER !!! Hack at your own risk. I do not run v2, I will never run v2, I apologize if things are not exactly how they seem. May cause staining, test on hidden piece of fabric first. No this does not install itself. Learn to use phpmyadmin.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
No it dose not work the moderator or the supermoderator name dose not show up only what ever the adminstrator name shows up
and
the new function split+move the moved thread title shows up but the source forum dose not show up
only the destination forum name which mean I wont know from where it's splited and moved
I thought this hack will be included in VB2.0.2 or VB2.0.3 but it seems like the pm status is more important than this .... I wonder are new features are added on demand base ???
and now who can help us with this hack... ... ...
because I think it's one of the most important hacks ...
Originally posted by dxb I thought this hack will be included in VB2.0.2 or VB2.0.3 but it seems like the pm status is more important than this .... I wonder are new features are added on demand base ???
because I think it's one of the most important hacks ...
Well, to some people it obviously is more important than this hack. And there is a difference. The PM stats hack just utilizes the data already there. This modlog feature is obviously much more complex and requires more work than a simple statistics hack. We should really appreciate what we've been given
I'm sorry Me2be but I was really disappointed when the hack didn't work because I had some big problems on my board because of one of the moderators and I don't wont to have that again
anyway thanks josh and I will be waiting for your fix
// Move post info to new thread...
$posts=$DB_site->query("SELECT postid,attachmentid,userid FROM post WHERE threadid='$threadid'");
while ($post=$DB_site->fetch_array($posts)) {
if ($splitpost[$post[postid]]=="yes") {
$DB_site->query("UPDATE post SET threadid=$newthreadid WHERE postid=$post[postid]");
}
}
After That Add :
PHP Code:
$splitto=$DB_site->query("SELECT forumid FROM thread where threadid='$threadid'");
list($split_to) = mysql_fetch_row($splitto);
Find
PHP Code:
$DB_site->query("INSERT INTO modlog (type,userid,threadid,threadtitle,fromforumid,toforumid,timestamp)
VALUES ('6','$bbuserid','$threadid','".addslashes($threadinfo[title])."','$threadinfo[forumid]','','".time()."')");
Change to:
PHP Code:
$DB_site->query("INSERT INTO modlog (type,userid,threadid,threadtitle,fromforumid,toforumid,timestamp)
VALUES ('6','$bbuserid','$threadid','".addslashes($threadinfo[title])."','$threadinfo[forumid]','$split_to','".time()."')");
I believe that is all I did.. I was in a rush, so I might have missed documenting something on here. I'm sure if I did, someone will point it out.
Unfortunately the thing I don't like is that I can't see what the thread name was that I moved it to. This is because there is not enough rows in the table. i.e. a Thread From and a Thread To.
It could be done, but you would have to create two rows for a Split + Move , one for the split and one for the move. I might try that.. We'll have to see.
Itay, I thought about showing deleted posts, but most of the time a user can delete their own post. Then it would wind up clogging up the logs and the logs would be unreadable IMHO.