Log in

View Full Version : Recycle Bin and Mod log idea


Sasq
01-02-2003, 06:50 AM
Well, after looking around at some of the recycle bin hacks and mod log hacks, I couldn't find anything that did quite what I was after...

So 5 days of beating my head against code later, I have a fully functional recycle bin for deleted threads and posts, as well as the ability to 'backup' all post edits.

I won't go in to details as to why, but its useful at times to be able to see what was originally posted before a mod or the user edited it.

The hack logs all this info (plus optionally logs all access to locking/unlocking threads, viewing up's/ moveing etc....) which by the time i finish will be able to be set up via the admin cp. the log display uses more or less the same template as the admin log with a few changes.

While the recycle bin is 95% finished (I just need to tweak it so you can turn it off - along with the edited post saver), the admin log display is not.

My question is, what would you like to see in log display/ability.

obviously being able to track certain actions or users/mods...

What else would you like to use - I've gone this far I might as well make it something everybody would like ;p

Looking forward to feedback - good or bad

Dan

Xenon
01-02-2003, 01:46 PM
looks like a very intresting hack.

what should be in is of course move/delete how much post edits of a mod and so on

Sasq
01-02-2003, 01:59 PM
Yup got that in there, here is a sample of what I've got up so far, still tweaking the display a little bit.

Dan

Edit, actually re-read what you said, (damn its late here :knockedout: )

Good idea, I havn't coded in a direct stats section yet.... yet....

Here is the Admin cp log section

Sasq
01-02-2003, 02:00 PM
And here is the recycle bin

Sasq
01-02-2003, 02:09 PM
Ok, thinking about it, any suggestions on the easiest way to get a moderator list. atm, this hack logs all edit activity so normal users will appear in the edit list - that will be configurable but still....

I could of course do a cross check on non post edit logs for user id's.. but I was wondering if there was an easier way.. maybe check the forum permissions for all user groups that can edit others posts???

suggestions welcome

Dan

Xenon
01-02-2003, 02:37 PM
the method is right, use a select distinct query on the moderator table, save all userids in a string, then add all userids of supermod users to that list

and then run anotherquery checking the post-table which posts these users had edited without their own posts (group and count query :))

okrogius
01-04-2003, 03:00 AM
Just a note for someone not aware of this - both of these features (mod log, and "recyclable" posts) are standard in vb3 to my awareness. :)

Sasq
01-04-2003, 03:48 AM
I do hope they are, however even after vb3 is released, it will be a while before I can cut our site over. I'm currently going through the last of a portal adaptaion and a few other things..
So we'll be using vb2.2.x for a while.

My other reason is the only way I get used to a programming language is to do something 'big' in it :)

Dan

On a side note, the hack is mostly finished, just working out the installer package now - there are a fair few small code additions here and there to log mod movements, trying to make the install as painless as possible :)

Dan

Dean C
01-04-2003, 11:35 AM
This system looks very nice :) - especiially the mod log - it looks better than other mod logs that have been posted for definate

Regards

- miSt

Sasq
01-04-2003, 11:51 AM
If i can get my code insertion routines sorted soonish, i should have the beta install up by the weekend.

The mod log section won't be perfect, but the bugs will only be minnor - I hope.

So who wants to help beta? :D

N9ne
01-04-2003, 12:22 PM
Sounds like a hack I've wanted for months...can't wait to see it!

I would help beta test it but I have no server at the moment :(

Chris M
01-04-2003, 01:10 PM
Looks good:)

Satan

Dean C
01-04-2003, 05:45 PM
I'll help beta test it locally if you want :)

Xenon
01-04-2003, 09:41 PM
hmm, i don't have much active mods these times, but i can tak a look at the code also for possible problems :)

Sasq
01-07-2003, 02:47 PM
Well after much stress I got it up

Here Tis... (https://vborg.vbsupport.ru/showthread.php?s=&threadid=47469)

Dean C
01-07-2003, 05:03 PM
Thanks for releasing - i'll be sure to check it out :)

- miSt