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.


All times are GMT. The time now is 06:00 AM.

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.01079 seconds
  • Memory Usage 1,726KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete