Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
1st hack: track post deletions Details »»
1st hack: track post deletions
Version: 1.00, by Andric d'Regor Andric d'Regor is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-05-2002 Last Update: Never Installs: 7
Is in Beta Stage  
No support by the author.

Hi
This is a small hack I put together to track whom deleted what posts from where. I searched here through need but did not find a relevent hack so came up with this.

it works but would benefit from some admin functions to manage the deleted posts table (delpost) in which it saves the details of the posts. It does not track attachements - just the plain text of the post.

what it does save is the userid, username, threadid, postid, title and text of the original post and the deletors name,id,ipaddress and time of deletion.

I have included a very basic viewer of the deleted posts.

I have tested and installed on 2.2.5 and 2.2.6 and encountered no errors.

usual disclaimers on liability (i accept none and dont use if you dont like that) and am happy if people want to use or adapt/expand with normal courtesies of acknowledgement etc.

to install read the install_deletetracking.php file's comments and follow them. to install the viewer put it into the forum/admin directory and open it in your browser - I have not added a link into the CP or anything.

good luck and hope its of use to others

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-06-2002, 11:43 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice...

*installs*

Satan
Reply With Quote
  #3  
Old 06-06-2002, 12:34 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i already use the mod log... but still pretty nice...
Reply With Quote
  #4  
Old 06-06-2002, 01:15 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats the difference between this and the mod log? the mod log does almost the same thing but also logs close and moved threads too
Reply With Quote
  #5  
Old 06-06-2002, 01:34 PM
CloakSim CloakSim is offline
 
Join Date: Dec 2001
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It shows more than the moderator, date, and forum:

Quote:
Originally posted by Andric d'Regor
what it does save is the userid, username, threadid, postid, title and text of the original post and the deletors name,id,ipaddress and time of deletion.
That's why it's better.
Reply With Quote
  #6  
Old 06-06-2002, 01:35 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by CloakSim
It shows more than the moderator, date, and forum:



That's why it's better.
thanks
Reply With Quote
  #7  
Old 06-06-2002, 01:57 PM
Andric d'Regor Andric d'Regor is offline
 
Join Date: Jan 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I actually wrote this to track some of what modlog doesn't - this does not track what moderators do from the moderator or admin panels but what is deleted from the actual forum itself. So if someone claims their post was deleted wrongfully you can check who deleted it and if the post should have been deleted & whom did it if none own up to deleting a contentious post.
It should compliment modlog's functionality not duplicate it - or the lastest version I have seen of it.
Reply With Quote
  #8  
Old 06-06-2002, 02:07 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the mods can't delete posts from their cp can they??...

and the modlog does monitor what is happening on the forums...
Reply With Quote
  #9  
Old 06-06-2002, 02:09 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm ideas for add ons if you dont already have them, admins can delete posts from the log and have a restore button so they can restore them
Reply With Quote
  #10  
Old 06-06-2002, 02:29 PM
Meirion Meirion is offline
 
Join Date: Nov 2001
Location: UK
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have a look at the 'Recycle Bin' hack from a few months ago for similar functionality.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05180 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete