vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   PM upon Thread Deletion... (https://vborg.vbsupport.ru/showthread.php?t=43263)

g-force2k2 09-06-2002 10:00 PM

PM upon Thread Deletion...
 
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:
PHP Code:

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


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00976 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete