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.
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.