Firefox PHP

Module: PM Keep Copy by default

Posted by Maurice Makaay 
All files from this thread

File Name File Size   Posted by Date  
pm_keep_copy_by_default-1.0.1.tar.gz 854 bytes open | download Maurice Makaay 09/02/2009 Read message
pm_keep_copy_by_default-1.0.1.zip 1.7 KB open | download Maurice Makaay 09/02/2009 Read message
Module: PM Keep Copy by default
July 17, 2009 04:32PM
This module will enable the "Keep a copy in my sent items" option by default
when writing a new private message.

Changelog:
----------

2009-09-02 v1.0.1

    - Fixed an undefined index PHP warning.

2009-07-17 v1.0.0

    - Initial release


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce



Edited 1 time(s). Last edit at 09/02/2009 03:41AM by Maurice Makaay.
Attachments:
open | download - pm_keep_copy_by_default-1.0.1.tar.gz (854 bytes)
open | download - pm_keep_copy_by_default-1.0.1.zip (1.7 KB)
Re: Module: PM Keep Copy by default
July 23, 2009 06:45PM
Thank you for creating this, my users had asked me for it but I didn't want to hack the code to do it.

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Module: PM Keep Copy by default
May 20, 2010 05:21PM
What about allowing a user-definable default?

...
Steve Healy, Phorum hacker, currently on: (version 5.2.19)
contributions:
Birthdays mod, Top Users mod, Icon legend.tpl, (plus a handful of bugfixes and old 5.0 creations)
Re: Module: PM Keep Copy by default
July 04, 2010 08:27AM
For having that option enabled by default for replies you need to add the following 3 lines into the module function:
Language: PHP
// for having the option enabled by default in replies too if(phorum_page == ';pm'; && !empty($_POST) && !empty($_POST[';pm_id';])) { $PHORUM[';DATA';][';MESSAGE';][';keep';] = 1; }

I know, that could be merged into the lines above too but seemed more readable to me this way.
Maybe Maurice could add it to the next release of the module.


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login