#44100
01/31/2002 10:08 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
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 DOWNLOAD .ZIP FILE HERE
I can't afford a good signature editor
|
|
|
#44101
02/01/2002 12:52 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Looking good. 
|
|
|
#44102
02/01/2002 2:47 AM
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
can you log the number of the response those the Moderator/Admin edited?
|
|
|
#44103
02/01/2002 4:00 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Also maybe can you reverse the order as the latest move first instead of last?
|
|
|
#44104
02/01/2002 6:33 AM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
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.
|
|
|
#44105
02/01/2002 7:18 AM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Bass...GOOD JOB! Send it on over when you are ready for me to upload it with your other great hack!! 
|
|
|
#44106
02/02/2002 12:03 AM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Come on Bass.....give it up!!!! LOL 
|
|
|
#44107
02/02/2002 1:59 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
|
|
|
#44108
02/03/2002 4:52 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Sorry guys, I dont read this board on the weekends  Ok, ill have to document this hack and ill post it to viper once its done!! Cheers
I can't afford a good signature editor
|
|
|
#44109
02/03/2002 6:41 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
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
|
|
|
#44110
02/03/2002 7:17 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
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!! 
|
|
|
#44111
02/05/2002 11:38 AM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
Thanks BassTeQ for this great hack. It's good to see version 5 still hasn't died 
|
|
|
#44112
02/05/2002 5:08 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
CT Nps mate, Im gonna push it as hard as I can to keep the good ol' version 5 going 
I can't afford a good signature editor
|
|
|
#44113
02/06/2002 12:20 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Hey BassTeQ can you email it to me too please?
|
|
|
#44114
02/06/2002 7:39 AM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
quote: Originally posted by Lord Dexter: Hey BassTeQ can you email it to me too please?
Lord....there is a link to a .zip file in the first post. 
|
|
|
#44115
02/06/2002 7:41 AM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Bass....I just wondered...how long does it keep the data? Is there a limit on how big the log can get?
|
|
|
#44116
02/06/2002 4:33 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
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
|
|
|
#44117
02/07/2002 12:13 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by Vipermad: quote: Originally posted by Lord Dexter: Hey BassTeQ can you email it to me too please?
Lord....there is a link to a .zip file in the first post.
Whoops didn't see that. 
|
|
|
#44118
02/07/2002 6:24 PM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
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
|
|
|
#44119
02/07/2002 6:41 PM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
Damn. I'm stuck. There's nothing similar to this: code:
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]
|
|
|
#44120
02/07/2002 10:43 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
quote: Originally posted by CT: This routine is not in ubblibrary.pl but in cpanel2.cgi, cpanel3.cgi and cpanel4.cgi
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
|
|
|
#44121
02/07/2002 10:50 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
quote: Originally posted by $stats[4]: Damn. I'm stuck. There's nothing similar to this: code:
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]
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
|
|
|
#44122
02/08/2002 12:40 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I'm going to test it later on, will it work on 5.45b?
|
|
|
#44123
02/10/2002 4:59 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Never tested on 5.45b. Let us know 
I can't afford a good signature editor
|
|
|
#44124
02/11/2002 12:38 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Worked fine! Should work with all 5.4 versions I think.
|
|
|
#44125
02/11/2002 4:51 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Fantastic 
I can't afford a good signature editor
|
|
|
#44126
02/27/2002 3:13 PM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
BassTeq, quote: 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 find that line as well...
I have no Pipecleaner... any help?
|
|
|
#44127
02/27/2002 5:55 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
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
|
|
|
#44128
02/28/2002 12:19 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
BassTeQ, is it OK if I give this to SpAwN to put on his v5 Database?
|
|
|
#44129
02/28/2002 5:23 PM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
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 
|
|
|
#44130
02/28/2002 5:33 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
quote: Originally posted by Lord Dexter: BassTeQ, is it OK if I give this to SpAwN to put on his v5 Database?
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
|
|
|
#44131
02/28/2002 5:34 PM
|
Joined: Nov 2000
Posts: 123
Member
|
Member
Joined: Nov 2000
Posts: 123 |
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!
|
|
|
#44132
02/28/2002 5:39 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
quote: 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
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
|
|
|
#44133
03/01/2002 11:04 AM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Perfect timing BAss....I am READY for this!! you've got mail!
|
|
|
#44134
03/01/2002 5:40 PM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I'll wait for Viper to update the link, so it's easier for you not having to give it to 2 people.
|
|
|
#44135
03/01/2002 9:55 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
ZIP FILE has been updated!! Thanks Bass!
|
|
|
#44136
03/01/2002 11:13 PM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Yay! Thanks Bass and Viper. 
|
|
|
#44137
03/03/2002 5:07 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
I can't afford a good signature editor
|
|
|
#44138
03/03/2002 5:26 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
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!! 
|
|
|
#44139
03/03/2002 5:52 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
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. 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|