Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

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
  #12  
Old 06-06-2002, 02:39 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Meirion
Have a look at the 'Recycle Bin' hack from a few months ago for similar functionality.
Thanks, i was only giving ideas though, this is a great hack, but im not gonna install it yet though, current busy working on some other hacks at the moment
Reply With Quote
  #13  
Old 06-06-2002, 07:35 PM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The version of the mod log i got from vbulletin.org doesn't track post deletions, only thread deletions! This looks to track all post deletions...correct?
Reply With Quote
  #14  
Old 06-07-2002, 03:04 AM
Scrub's Avatar
Scrub Scrub is offline
 
Join Date: Oct 2001
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, lordofgun. You about summed it all up.
Reply With Quote
  #15  
Old 06-08-2002, 03:48 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woohoo! i'm great at summing.
Reply With Quote
  #16  
Old 06-14-2002, 04:31 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...I installed this and it could be very handly.

However...It will be too big to manage over time. I mean, the page view will get way to large when you call the viewdeleted program.

As it stands now...When you delete an entire thread...Each post in that thread is added as one hit in the database...So...as you can guess...it can get very hard to view this in it's current form.

Nice idea...but I feel it really needs further developmet to be usable. Like...A better page view. If it is a thread that is removed...make it clickable to see all the posts in that thread vs all the posts all the time like it is now. Have an option to restore if needed. All is all...good concept.

Clicked Install....Clicked Un-Installed.
Reply With Quote
  #17  
Old 06-14-2002, 07:16 PM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

'View Moderator Logs' hack make this...
Reply With Quote
  #18  
Old 06-30-2002, 02:42 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Meirion
Have a look at the 'Recycle Bin' hack from a few months ago for similar functionality.
I've been searching a thash can hack for month.
Where's it ? :bored:

Thanks
Reply With Quote
  #19  
Old 08-05-2002, 08:19 AM
Hellburn Hellburn is offline
 
Join Date: Mar 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

date: 1028538702 <---- he show me this date when i delete a post. Whats that? I have installed the Today/Yesterday Hack maybye the problem?
Reply With Quote
  #20  
Old 09-03-2002, 09:24 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool d00d is there anyway of bringing back Deleted posts
Reply With Quote
  #21  
Old 03-19-2003, 08:55 AM
yuval yuval is offline
 
Join Date: Mar 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Nice hack , I've installed it.. Very easy to implement and use

We've had a problem with threads and posts which were deleted with no reason and no one has admitted to have deleted them (when we were using DCForum..) - Now we could track down the mod. who do that

Thanks alot
Reply With Quote
Reply

Thread Tools

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 04:01 PM.


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.05367 seconds
  • Memory Usage 2,292KB
  • Queries Executed 25 (?)
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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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