PDA

View Full Version : PM upon Thread Deletion...


g-force2k2
09-06-2002, 10:00 PM
As requested to me by FFMania...

What does this hack do?
// ++++++++++++++++++++
Simply Private Messages a user when their thread is deleted
* Option only shows when the post is the first post in the thread
* Customizeable Template Messages
* Private Message from the person who deletes the thread.
* Disables private message inform when the thread creator deletes their thread.

What to do?
// ++++++++++++++++++++
File Modification (5)
Template Modification (1)
Templates to Add (3)

Instructions in the pm_uponthreaddel.php... just open in a text editor...

If you like this hack i'd be greatful if you clicked install :) thanks in advance and enjoy the hack ;)

g-force2k2

g-force2k2
09-07-2002, 01:53 PM
Screenshot A :: The send pm option when deleting a post

Notice: This option only shows up when the post being deleted is the first post ;)

g-force2k2

g-force2k2
09-07-2002, 01:54 PM
Screenshot B :: The PM default message look

Notice: The subject and message are editable by templates ;)

g-force2k2

Chris M
09-07-2002, 03:26 PM
Cool:)

*installs*

Satan

FFMania
09-07-2002, 03:56 PM
OMG I LOVE YOU GFORCE!!!! YOU ROX! :D:D:D

Edit :: Errm...something's not right...is it only working when you EDIT THREAD? Cause when I try to delete the thread...using the "Delete Thread/Post" option...I never receive the PM....so...explain plz gforce XD

g-force2k2
09-07-2002, 05:26 PM
yeah FFMania forgot about that part :p i'll update later on tonight... regards...

also for the first insert into the admin/functions.php

place it under this line:
function deletethread($threadid,$countposts=1) {

regards...

g-force2k2

empreur76
09-08-2002, 03:00 PM
hello
thanks fot this hack very nice !! but i have the same probleme
i don't receive pm !!

g-force2k2
09-08-2002, 03:24 PM
empreur76 you can't recieve one from yourself... so you have to have someone else delete your thread... why would you need to be informed about you deleting your own thread?

Also check the quick fix on post#6 regards...

g-force2k2

traekwon
09-10-2002, 09:32 PM
Did you update the file? Is this working correctly for everyone?

over
12-19-2002, 12:13 PM
handy hack. installing.

Highlander
12-22-2002, 01:48 PM
hi,

nice hack.. but i really would need a pm info to users i move their threads.. so they just know.. that they posted wrong and their thread is now loactaed at forumxx .. cause the team moved it from xx .. should be able to change it to this funtionality?

BigJohnson
12-27-2002, 11:52 AM
how do u make it so that there is no check box to check if u want to send them a pm. How about just when a thread is deleted they get pmed no matter what because a lot of people on my board use the quick delete button in the postbits. Can please help me out. Thanks.

Gaffer
03-05-2003, 10:36 AM
i also want to do that i have just got the hack but i'll look into overriding the checkbox for everyone cause we keep having posts go missing and members ask us where are my threads

iidavidii
02-22-2004, 01:10 AM
hello,

i know this thread has not been posted to for almost a year, but recently i tried to install this hack, but do not see a checkbox or receive a pm after i deleted the user.

Anyone have any ideas

thanks for your help