Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
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
Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Heh, enough with the updates. tipsy laugh

Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
quote:
Originally posted by BassTeQ:
Ahh ok, I dont think I accomidated for those functions, Ill look into it and update the hack!

No worries Bass!! smile I thought I might have gotten a shortened instruction set. It says at the top all the tings you can track with this, and it includes open/close....

I went through all saved files I could find to make sure I didn't hose something up and saved the wrong instruction set.

Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
I have UPDATED the .zip file with some added code to log thread closings and re-openings via the Admin functions at the bottom of the page (No Sticky Threads edition). smile

Bass....I'm going to e-mail you what I did...I hope you don't mind!! smile

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
*Downloads again and sighs*
Keep going with the updates. tipsy

Sponsored Links
Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
Sorry 'bout that Lord. smile

The bad(?) news is that my code was OK....but Bass' code was a bit "cleaner" so I have re-updated the zip file.

Both bits of code work, so don't feel rushed!!! I didn't think Bass had time so I was fiddling with the code....then he sends me an update. smile

What I'm working on adding is a way to make it so only Admins can access it...but my free time is dwindling away. frown

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Viper, the easiest way so that only admins can access it would be to only give the url to your admins smile Code wise, it wouldnt require much to check for a valid cookie, or add a user login box prior to showing whats been logged.


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
*Downloads again*
This is getting fun. Keep up the good work! laugh

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Hehe, glad you're enjoying yourself Lord smile


I can't afford a good signature editor frown
Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
This works great...

I have some tips though:

1. It would be nice if it would not log the posts edited that are the posts from the moderator. For example JOhn, who has moderator rights, edits his own post and gets logged. This is not nescessary, only posts edited by John that are not his should be logged.

2. It would be very nice if you could figure out what exact post was edited. I don't know if this is possible though.

The reason is I like to have a close look of what my moderators are editing. Now I only see 'John edited the post in this thread'... I don't know what post, if it was his or not and so if he had a right(reason) to edit it.

Sponsored Links
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
When I get some time I'll see what I can do mate.

Cheers


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I like CT's suggestions there. Will make this hack better. laugh

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
quote:
Originally posted by CT:
This works great...

I have some tips though:

1. It would be nice if it would not log the posts edited that are the posts from the moderator. For example JOhn, who has moderator rights, edits his own post and gets logged. This is not nescessary, only posts edited by John that are not his should be logged.

2. It would be very nice if you could figure out what exact post was edited. I don't know if this is possible though.

The reason is I like to have a close look of what my moderators are editing. Now I only see 'John edited the post in this thread'... I don't know what post, if it was his or not and so if he had a right(reason) to edit it.

Ive made a few changes to this hack :

* It will now not log admins/mod who edit their own post.
* It will also log the username of the posted who's post was edited.

If anyone wants these new mods let me know and ill update the doco.

cheers


I can't afford a good signature editor frown
Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Yes please!

I am really interested!

Thanks,

CT.

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Ok Ill try and update the doco this week, Im a little busy atm. Ill let you know once its done!


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Those new features sound good. laugh

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
YAY! (just putting this back on top smile tipsy

Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
I'm still alive Bass!!!! Been keeping a low profile on the net due to some threats of violence to me and family. frown

If/when you are reasy, shoot me the new docs and I'll update the zip file. smile

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Your being Threatened?

That must suck Viper. I hope everything works out for you.

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Viper, sorry to hear that mate, look after yourself!

Zip file updated and emailed to you.

For those that are using an older version please replace the old cgi program with the new one (dont forget to change the path to the log file)
As for the changes to postings.cgi, well I recommend doing a diff on my current installation instructions and my old ones to see where Ive made these new changes.

Any probs just drop a reply and Ill be glad to help out.

Cheers


I can't afford a good signature editor frown
Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
The ZIP file has been updated...there are several links to it throughout the thread. smile

Good Job Bass!!!

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Thanks Viper!


I can't afford a good signature editor frown
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Whats new in this ZIP?

Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
I think Bass covered that on page 4??? I'm not sure. smile I just do what I'm told!! LOL!!!

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Your right. Just some changes in postings.cgi code.

Joined: Aug 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 7
I like it! However ... I have a few suggestions.

1) Perhaps a login system should be implemented to the custom log file viewer. That way former admins don't have permission to look at the log anymore.

2) If the thread was started by the thread starter and that user is a non-admin, it doesn't log the user if the thread was deleted by the thread starter. I think it should log an activity by such a user as well.

3) A link to the thread that was moved/edited would be nice as well.

I also have a bug with it ... I implemented the hack in UBB 5.45 if that might be it:

[Linked Image]

When I edit a post in a thread, I get an extra line there ... why is that? Is there suppose to be something there?

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Im currently quite busy at the moment, yet again so I dont really have time to work on this hack sorry. As for the first suggestion, just put the link to it in an area of the ubb that only current mods/admins can access. So if they cant find it, they cant view it smile

As for your second point, its an admin/mod logger, not an all user logger smile I've dont it this way to help prevent the log file getting too big. An idea, ive setup my board so thread starters cant delete their own posts, only edit them, that would beg around your problem I believe.

That link can be added quite easily, ill do that when I get a few spare minutes and add the code here!

As for your bug, I basically developed this for my own purposes for 5.47d, but it seemed that a few people where interested in it, so I made it available to the public. I cant assure you that will will work on any other version except 5.47d as thats the only version I have tested it on.

Enjoy the hack!

Regards
BassTeQ


I can't afford a good signature editor frown
Page 2 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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)