vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Save a Copy of Sent PMs Preference in User CP (https://vborg.vbsupport.ru/showthread.php?t=98551)

Oblivion Knight 10-15-2005 10:00 PM

Save a Copy of Sent PMs Preference in User CP
 
A port of my 3.0.x code modification, here.

This plugin provides your users with an option whether or not to save a copy of sent private messages by default.


If you want Sent PMs to remain saved by default, run this query.

Many thanks to KirbyDE for his words of wisdom. No further updates are planned unless Jelsoft change any of the hooks that this modification uses..

mindfrost82 10-16-2005 07:13 PM

I just installed this. I had it on 3.0.x and it worked great.

However, on this one, I can't seem to find the option in the UserCP under Edit Options. The checkbox shows up in the new PM window after the template edit, but the UserCP option isn't there.

Oblivion Knight 10-16-2005 07:42 PM

Sorry.. I forgot to include a template edit. :surprised:

All fixed.

mindfrost82 10-16-2005 07:50 PM

Thanks. Works great!

*Clicks Install*

MissKalunji 10-17-2005 06:28 PM

Perfect thanks!

Andreas 10-17-2005 06:50 PM

*** Untested ***
private_complete
PHP Code:

if ($templatename == 'pm_newpm')
{
    
$checked['savecopy'] = (($vbulletin->userinfo['savecopy']) ? 'checked="checked"' '');



MissKalunji 10-17-2005 06:59 PM

Quote:

Originally Posted by KirbyDE
*** Untested ***
private_complete
PHP Code:

if ($templatename == 'pm_newpm')
{
    
$checked['savecopy'] = (($vbulletin->userinfo['savecopy']) ? 'checked="checked"' '');




whats that for?

Oblivion Knight 10-17-2005 07:09 PM

Quote:

Originally Posted by KirbyDE
*** Untested ***
private_complete
PHP Code:

if ($templatename == 'pm_newpm')
{
    
$checked['savecopy'] = (($vbulletin->userinfo['savecopy']) ? 'checked="checked"' '');



Works perfectly, thank you Kirby.. :)

I'll update the instructions shortly with this change.


Quote:

Originally Posted by MissKalunji
whats that for?

It's an additional plugin instead of having to edit the pm_newpm template.. :)

MissKalunji 10-17-2005 08:58 PM

actually i dont know what im doing wrong but its not working....

MissKalunji 10-17-2005 09:07 PM

Quote:

Originally Posted by MissKalunji
actually i dont know what im doing wrong but its not working....

Never mind it works! thanks


All times are GMT. The time now is 01: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.01561 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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