Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM User on Thread Deletion Details »»
PM User on Thread Deletion
Version: 1.0.0, by toonysnn toonysnn is offline
Developer Last Online: Sep 2011 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.7.2 Rating:
Released: 08-04-2008 Last Update: 08-04-2008 Installs: 33
Uses Plugins
Code Changes  
No support by the author.

<font size="3">Modification Support has been dropped.</font>

Good day.

Show Your Support

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

Comments
  #2  
Old 08-05-2008, 08:24 AM
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Location: Texas
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Release Notes
v1.0.1 (Unreleased)
  • Adds "on Move Thread" function
  • Adds "on Delete Post(s)" function
v1.0.0
  • Initial release for 3.7 (Note: There may be code changes in other vB versions for postings.php!)
    PS: If anyone sees a hook for where I had added the code, please let me know. I coded this around 3 AM and didn't want to read anything, just type.
Common Problems / FAQ
- I get a white page with tons of codes or php on it. What is this?
This is a coding error, if you receive this, please PM me your website. It's quite possible it's not compatible with the vBulletin version you are running.
If you are running 3.7.2 PL1+, then try adding if($pmdm->errors) die(print_r($pmdm->errors)); and posting the results here.

- I don't see the Private Message in my sent items. Is this a problem?
No. This is how it was programmed. It was only coded to send to the user.

- If I delete a thread of my own, do I receive a private message?
Yes. I thought, maybe, if your account was hacked/cracked, that you could know what threads of your own were deleted. I see this in several cases of my friend's boards. Never be too careful. (There's also the possibility that they delete the PM, but hey, not all of them stay online enough to notice a new PM. They might not even want to touch the PM box.) I'll probably stop this function in the next update.

- Does any data get sent to you?
No. I was considering implementing a "if there's a error, send to email" type of function, but there was also the possibility that user's didn't want any data submitted without their permission.



Screenshots:
Reply With Quote
  #3  
Old 08-05-2008, 09:51 AM
boxerman boxerman is offline
 
Join Date: Jun 2007
Location: UK
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First one

Thanks
*installed*


P.S how do you add a reason?
Reply With Quote
  #4  
Old 08-05-2008, 10:07 AM
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Location: Texas
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boxerman View Post
First one

Thanks
*installed*


P.S how do you add a reason?
Reasons are vBulletin default coding, you'll see the "Reason to Delete:" box when you're deleting the thread(s).
Reply With Quote
  #5  
Old 08-05-2008, 10:26 AM
bokmade bokmade is offline
 
Join Date: Feb 2002
Location: Doha
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- Can You Add Option For Move or Edit ..!!

Install ..
Reply With Quote
  #6  
Old 08-05-2008, 10:30 AM
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Location: Texas
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I was just thinking about the move thread "PM User" mod.
I'll create that now.

If anyone has any errors with this mod, please let me know.
Reply With Quote
  #7  
Old 08-05-2008, 03:44 PM
brucao brucao is offline
 
Join Date: May 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And a 'post delete' PM too...
With options in Admin CP.

activate PM to deleted threads:
activate PM to deleted posts:
activate PM to moved threads:
.
.
.

Gonna install as soon as I get home!
Thank you!
Reply With Quote
  #8  
Old 08-05-2008, 06:21 PM
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Location: Texas
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting ideas. Will try to have them done ASAP. I have several projects going on.

Thanks for the suggestion.
Reply With Quote
  #9  
Old 08-05-2008, 09:27 PM
Fraxter Fraxter is offline
 
Join Date: Jul 2007
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A good start for this addon. But this addon isn?t good, before you have the other options:

PM delete Post
PM move Post/Thread

Say me, how many times you delete a thread and a post? Most of the times you delete a post more often then threads.

Would be very nice if you can implement this features too, and in the next version without file edits would be better.

But great start for a addon, i searched a long of time for something like that.

Hope you can coding new versions of it, then i will install it too.

best regards

Pander23
Reply With Quote
  #10  
Old 08-05-2008, 10:25 PM
toonysnn toonysnn is offline
 
Join Date: Sep 2006
Location: Texas
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pander23 View Post
A good start for this addon. But this addon isn?t good, before you have the other options:

PM delete Post
PM move Post/Thread

Say me, how many times you delete a thread and a post? Most of the times you delete a post more often then threads.

Would be very nice if you can implement this features too, and in the next version without file edits would be better.

But great start for a addon, i searched a long of time for something like that.

Hope you can coding new versions of it, then i will install it too.

best regards

Pander23
I will be branching it out into several different xml files for separate things that people may not want.

I wish I could do it without a file edit, but when I looked over it again, there was no threadmanage (or threadadmin, forgot the name) _dodeletethread for postings.php, and that's where it needs to be.

Move Thread is next for this mod, and then Delete Post(s).

Actually, I might not have to branch it off into several different products, now that I'm thinking about it... just a bunch of plugins.

File edits are only done as necessary. I will request the new hook location for vB.

"A good start for this addon. But this addon isn?t good, before you have the other options:"
This mod was not intended to stretch out beyond thread deletion, at least, not yet. It does just as the first post says.
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 06:52 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.08416 seconds
  • Memory Usage 2,293KB
  • 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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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