The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Recycle Bin and Mod log idea
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 |
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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 |
#4
|
||||
|
||||
And here is the recycle bin
|
#5
|
||||
|
||||
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 |
#6
|
||||
|
||||
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 ) |
#7
|
|||
|
|||
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.
|
#8
|
||||
|
||||
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 |
#9
|
||||
|
||||
This system looks very nice - especiially the mod log - it looks better than other mod logs that have been posted for definate
Regards - miSt |
#10
|
||||
|
||||
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? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|