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)
-   -   Delete Original Private Message on Reply v1.0 (https://vborg.vbsupport.ru/showthread.php?t=53145)

Boofo 05-19-2003 10:00 PM

Delete Original Private Message on Reply v1.0
 
Delete Original Private Message on Reply v1.0
(By Boofo)

I've had this hack on my site for quite a while now (since v2.2.5) and I decided to release it after someone asked for it.

What this hack does:
It allows to check a box that will delete the private message you are replying to. This is useful for getting rid of messages that you no longer need instead of having them pile up on you, or forcing you to go back to your private message area to delete it manually.

Tested on vBulletin versions 2.2.5 thru 2.2.9 (but should work with all versions).

Files to edit: 1 (private.php)
Template to add: 1 (delete_original_pm)
Templates to edit: 1 (priv_sendprivmsg)
Install time: 2 minutes (give or take)

[high]If you find this hack useful, please click the install button (at least once).[/high]

kaotic 05-19-2003 11:04 PM

Another useful hack. :) Good job... 'tis appreciated.

Boofo 05-19-2003 11:14 PM

Thank you very much. I couldn't be without it now. ;)

EvilLS1 05-20-2003 03:29 AM

Very useful hack. Thanks Boofo!

Boofo 05-20-2003 03:43 AM

Glad you like it. ;)

Kohhal 05-20-2003 02:01 PM

Very handy, good job :D

DaveG 05-20-2003 03:29 PM

Interesting... in my private.php there is no
$message = stripsession($message);

Any ideas? Running VB 2.2.7

Boofo 05-20-2003 06:51 PM

In 2.2.7, look for:

PHP Code:

  if ($parseurl) {
    
$message parseurl($message);
  } 


drumsy 02-18-2004 01:51 PM

Any way to convert this to vB3? This is probably the most requested hack on my board right now.

Boofo 02-18-2004 04:07 PM

It's already converted. I just need to fix one more thing in it and then I will release it. ;)


All times are GMT. The time now is 01:01 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.01089 seconds
  • Memory Usage 1,725KB
  • 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