php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#44100 - 01/31/02 09:08 PM Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ive created another hack so I know when my mods/admins perform any moving/editing/deleting activities on my board. I got sick of asking people who did this and who did that. This way makes it nice and easy for me to know eho does what.
Here is what the output looks like. Quite simple but it does what it has to do smile

DOWNLOAD .ZIP FILE HERE
_________________________
I can't afford a good signature editor frown

Top
#44101 - 01/31/02 11:52 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Looking good. laugh

Top
#44102 - 02/01/02 01:47 AM Re: Admin/Moderator Activity Logger
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
can you log the number of the response those the Moderator/Admin edited?
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

I have [img]http://www.ubbdev.com/ud/?s=1&u=joking-down[/img] Points.

Top
#44103 - 02/01/02 03:00 AM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Also maybe can you reverse the order as the latest move first instead of last?

Top
#44104 - 02/01/02 05:33 AM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
You might also log IP's. That way if a moderator leaked his/her password (even without knowing) you can check if it's done from their computer or not.

You might even find it's one of your registered users.

Top
#44105 - 02/01/02 06:18 AM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Bass...GOOD JOB! smile

Send it on over when you are ready for me to upload it with your other great hack!! smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44106 - 02/01/02 11:03 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Come on Bass.....give it up!!!! LOL smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44107 - 02/02/02 12:59 AM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Yeah I'd like this too.

Top
#44108 - 02/03/02 03:52 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Sorry guys, I dont read this board on the weekends smile Ok, ill have to document this hack and ill post it to viper once its done!! smile
Cheers
_________________________
I can't afford a good signature editor frown

Top
#44109 - 02/03/02 05:41 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Viper, you have mail!

I've reversed the display order, so the newest logged activity is displayed at the top, and it also logs IP's and Remote Host name.

Enjoy
_________________________
I can't afford a good signature editor frown

Top
#44110 - 02/03/02 06:17 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
I have edited your initial post to include a link to the .zip file....figured it made more sense than to add it lower in the thread. Everyone have a look.

Now I have to get to work to update the DB here!! smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44111 - 02/05/02 10:38 AM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
Thanks BassTeQ for this great hack. It's good to see version 5 still hasn't died smile

Top
#44112 - 02/05/02 04:08 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
CT Nps mate, Im gonna push it as hard as I can to keep the good ol' version 5 going smile
_________________________
I can't afford a good signature editor frown

Top
#44113 - 02/05/02 11:20 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Hey BassTeQ can you email it to me too please?

Top
#44114 - 02/06/02 06:39 AM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Lord Dexter:
Hey BassTeQ can you email it to me too please?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Lord....there is a link to a .zip file in the first post. smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44115 - 02/06/02 06:41 AM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Bass....I just wondered...how long does it keep the data? Is there a limit on how big the log can get?
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44116 - 02/06/02 03:33 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Well the data file will just keep growing, no limit on size at all. If you see its getting too large then just wipe it and it will create it automatically next time.
_________________________
I can't afford a good signature editor frown

Top
#44117 - 02/06/02 11:13 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Vipermad:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Lord Dexter:
Hey BassTeQ can you email it to me too please?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Lord....there is a link to a .zip file in the first post. smile
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Whoops didn't see that. shocked wink

Top
#44118 - 02/07/02 05:24 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
I am implementing the hack as we speak. I found something to be different when using version 5.45:

[code][/code]This routine is not in ubblibrary.pl but in cpanel2.cgi, cpanel3.cgi and cpanel4.cgi

Top
#44119 - 02/07/02 05:41 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
Damn. I'm stuck. There's nothing similar to this: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: fixed;">Find this:
--------------------------------------------------
if ($NewTopicSubject ne $TopicSubject && $NewTopicSubject && $in{'ReplyNum'} eq "000000") {
$NewTopicSubject = &CensorCheck("$NewTopicSubject");
@stats = split(/||/,$revised[0]);
$stats[4] = $NewTopicSubject;
$revised[0] = "$stats[0]

Top
#44120 - 02/07/02 09:43 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by CT:
This routine is not in ubblibrary.pl but in cpanel2.cgi, cpanel3.cgi and cpanel4.cgi</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Ok it doesnt really matter, because all you are doing is adding my custom sub routine to the ubb_library file. You can put it anywhere in the file, but NOT inside another sub.
What I suggest is you find a line in ubb_library that starts with the word 'sub'
then just above that add my code as it says.
_________________________
I can't afford a good signature editor frown

Top
#44121 - 02/07/02 09:50 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by $stats[4]:
Damn. I'm stuck. There's nothing similar to this: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: fixed;">Find this:
--------------------------------------------------
if ($NewTopicSubject ne $TopicSubject && $NewTopicSubject && $in{'ReplyNum'} eq "000000") {
$NewTopicSubject = &CensorCheck("$NewTopicSubject");
@stats = split(/||/,$revised[0]);
$stats[4] = $NewTopicSubject;
$revised[0] = "$stats[0]
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Ok the reason you cannot find this is because you probably do not have the blind editing of subject hack installed, in that case:-
Find this:
$EditedMessage= &PipeCleaner("$EditedMessage");

and after that add :
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $TopicSubject");
_________________________
I can't afford a good signature editor frown

Top
#44122 - 02/07/02 11:40 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
I'm going to test it later on, will it work on 5.45b?

Top
#44123 - 02/10/02 03:59 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Never tested on 5.45b.
Let us know smile
_________________________
I can't afford a good signature editor frown

Top
#44124 - 02/10/02 11:38 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Worked fine! laugh
Should work with all 5.4 versions I think.

Top
#44125 - 02/11/02 03:51 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Fantastic smile
_________________________
I can't afford a good signature editor frown

Top
#44126 - 02/27/02 02:13 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
BassTeq,

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Ok the reason you cannot find this is because you probably do not have the blind editing of subject hack installed, in that case:-
Find this:
$EditedMessage= &PipeCleaner("$EditedMessage");

and after that add :
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $TopicSubject");</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">I can't find that line as well...

I have no Pipecleaner... any help?

Top
#44127 - 02/27/02 04:55 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ok what version are you using?
Ill have to have a looksee at the ubb code and ill get back to you.
_________________________
I can't afford a good signature editor frown

Top
#44128 - 02/27/02 11:19 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
BassTeQ, is it OK if I give this to SpAwN to put on his v5 Database?

Top
#44129 - 02/28/02 04:23 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
BassTeq,

Your hack seems to be working now. It's very neat. However I did not yet install the routine I'm talking about in my previous posts... I think editing subject or posts will not be logged.

I have a very heavily modified 5.45d, I will try to see if I can find the routine in the original code and see if I can find out what happened to it wink

Top
#44130 - 02/28/02 04:33 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Lord Dexter:
BassTeQ, is it OK if I give this to SpAwN to put on his v5 Database?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Sure Lord, thats fine mate. Ive changed the hack a little to fix this problem with older versions, drop me an email bassteq@bigfoot.com and ill send you the updated hack.

Viper: Can you please also email me and ill send you an updated version too.

Thanks guys!
_________________________
I can't afford a good signature editor frown

Top
#44131 - 02/28/02 04:34 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
That was quick...

The problem was this: I had added the hack 'number of times edited', which changed the code into this:

[code][/code]I have added the lines of codes afterwards...

(I still hope I'm making sense here)

Thanks Bassteq for another fine hack!

Top
#44132 - 02/28/02 04:39 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by CT:
BassTeq,

Your hack seems to be working now. It's very neat. However I did not yet install the routine I'm talking about in my previous posts... I think editing subject or posts will not be logged.

I have a very heavily modified 5.45d, I will try to see if I can find the routine in the original code and see if I can find out what happened to it wink
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Ok im hoping this code will be in 5.45d.

Look for this :

#check for excess images-
&excess_image_check($EditedMessage);

And after that add

if ($NewTopicSubject ne "") {
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $NewTopicSubject");
} else {
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $TopicSubject");
}

If you have any other problems feel free to let me know.
_________________________
I can't afford a good signature editor frown

Top
#44133 - 03/01/02 10:04 AM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Perfect timing BAss....I am READY for this!! you've got mail!
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44134 - 03/01/02 04:40 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
I'll wait for Viper to update the link, so it's easier for you not having to give it to 2 people.

Top
#44135 - 03/01/02 08:55 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
ZIP FILE has been updated!! Thanks Bass!
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44136 - 03/01/02 10:13 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Yay! Thanks Bass and Viper. laugh

Top
#44137 - 03/03/02 04:07 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Done and Done, Cheers
_________________________
I can't afford a good signature editor frown

Top
#44138 - 03/03/02 04:26 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Bass.....
I have it logging CLOSINGS when threads are closed with the "close after posting" box ticked....

BUT, I am having NO LUCK if I close (or open) a thread using the "Administrator Functions" links at the bottom of the page.

I've been working on a few snippets...no luck so far, but I'm not myself these days!! smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44139 - 03/03/02 04:52 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Whats more..I cannot find any reference to the logging of OPEN THREAD in your instructions....just the reference to closing a thread after posting. smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44140 - 03/03/02 09:56 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ahh ok, I dont think I accomidated for those functions, Ill look into it and update the hack!
_________________________
I can't afford a good signature editor frown

Top
#44141 - 03/03/02 11:30 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Heh, enough with the updates. tipsy laugh

Top