Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 smile

DOWNLOAD .ZIP FILE HERE


I can't afford a good signature editor frown
Sponsored Links
Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
Looking good. laugh

Joined: Dec 2000
Posts: 730
J
deutscher moderator / v5 specialist
Offline
deutscher moderator / v5 specialist
J
Joined: Dec 2000
Posts: 730
can you log the number of the response those the Moderator/Admin edited?

Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
Also maybe can you reverse the order as the latest move first instead of last?

Joined: Nov 2000
Posts: 123
C
CT Offline
Member
Offline
Member
C
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.

Sponsored Links
Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
Joined: Oct 2000
Posts: 290
Bass...GOOD JOB! smile

Send it on over when you are ready for me to upload it with your other great hack!! smile

Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
Joined: Oct 2000
Posts: 290
Come on Bass.....give it up!!!! LOL smile

Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
Yeah I'd like this too.

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
Joined: Oct 2000
Posts: 743
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
Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 frown
Sponsored Links
Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
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!! smile

Joined: Nov 2000
Posts: 123
C
CT Offline
Member
Offline
Member
C
Joined: Nov 2000
Posts: 123
Thanks BassTeQ for this great hack. It's good to see version 5 still hasn't died smile

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 smile


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
Hey BassTeQ can you email it to me too please?

Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
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. smile

Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
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?

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 frown
Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
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. smile
Whoops didn't see that. shocked wink

Joined: Nov 2000
Posts: 123
C
CT Offline
Member
Offline
Member
C
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

Joined: Nov 2000
Posts: 123
C
CT Offline
Member
Offline
Member
C
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]

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 frown
Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 frown
Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
I'm going to test it later on, will it work on 5.45b?

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
Joined: Oct 2000
Posts: 743
Never tested on 5.45b.
Let us know smile


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
Worked fine! laugh
Should work with all 5.4 versions I think.

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
Joined: Oct 2000
Posts: 743
Fantastic smile


I can't afford a good signature editor frown
Joined: Nov 2000
Posts: 123
C
CT Offline
Member
Offline
Member
C
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?

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 frown
Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
BassTeQ, is it OK if I give this to SpAwN to put on his v5 Database?

Joined: Nov 2000
Posts: 123
C
CT Offline
Member
Offline
Member
C
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 wink

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 frown
Joined: Nov 2000
Posts: 123
C
CT Offline
Member
Offline
Member
C
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!

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
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 wink

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
Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
Joined: Oct 2000
Posts: 290
Perfect timing BAss....I am READY for this!! you've got mail!

Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
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.

Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
Joined: Oct 2000
Posts: 290
ZIP FILE has been updated!! Thanks Bass!

Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
Yay! Thanks Bass and Viper. laugh

Joined: Oct 2000
Posts: 743
B
BassTeQ Offline OP
Moderator / Code Fixer
OP Offline
Moderator / Code Fixer
B
Joined: Oct 2000
Posts: 743
Done and Done, Cheers


I can't afford a good signature editor frown
Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
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!! smile

Joined: Oct 2000
Posts: 290
V
Member
Offline
Member
V
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. smile

Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,557
Posts293,856
Members13,847
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,819
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210915)
Responsive Width:

PHP: 7.3.29 Page Time: 0.046s Queries: 94 (0.024s) Memory: 0.9902 MB (Peak: 1.1682 MB) Data Comp: Zlib Server Time: 2021-12-02 10:31:32 UTC
Valid HTML 5 and Valid CSS