vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Delete PM after reply is sent (https://vborg.vbsupport.ru/showthread.php?t=75212)

Andreas 01-26-2005 10:00 PM

Delete PM after reply is sent
 
Description
This hack gives you a new checkbox (under Additional Options) when replying to a PM.
If it is checked, the original PM will be deleted after the reply was sent - helps to keep your PM-Box clean :).

Details
Files to Modify: 1
Templates to Modify: 1
Difficulty: Easy

Changelog
1.01 Fixed the errors in the install instructions
1.02 Fixed pmtotal not being updated

gembels 01-27-2005 05:40 AM

good.. nice hack.. *click installed*

yoyoyoyo 01-27-2005 06:45 AM

For such a small hack the install is pretty wacky.

Using 3.0.6 In profile.php I can't seem to find:
PHP Code:

$pm['forward'] = 0

or
PHP Code:

$url "private.php?$session[sessionurl]";
eval(
print_standard_redirect('pm_messagesent')); 

are you sure you didn't mean private.php instead of profile.php in the instructions?

I also don't see a "newpm" template. Are you sure you didn't mean pm_newpm?

That's all 3 edits, and all of them are fubar ;)

edit: I went ahead and applied the changes in the read me to the private.php file and pm_newpm template instead, assuming that is what you meant, and it works fine :D Thanks!

Andreas 01-27-2005 11:43 AM

Yeah, private.php and pm_newpm were meant, seems like I was too tired when putting this together ;)
Fixed, thanks for pointing this out.

voclain 01-27-2005 12:43 PM

THANK YOU SO MUCH!!!!

Kirk

Kihon Kata 01-29-2005 04:50 AM

"Clicks" install!

mkdevo 02-24-2005 03:54 PM

cool hack.. installed.. one question:

would it be possible (and how?) to add this hack to the quick reply hack??

allhandl 02-28-2005 11:19 AM

Pefect and Quick Hack. Flawless.

What variable do i change to default to be on?

drumsy 05-17-2005 11:15 PM

This does not reduce the total PM count. How can I accomplish this?

Andreas 06-03-2005 03:16 AM

Instructions updated, thank you.


All times are GMT. The time now is 05:24 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.01114 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
  • (2)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