- Is it possible to format the text to send by changing
Code: Select all
$dead_man_content = 'Call me 089-1234567, ftp and db passwords are under my pillow';
Have a nice weekend!$dead_man_content = "Hi guys,\nunfortunately I am dead now.\n\nHere are my FTP-data: ...";
No, but I'll implement a method today!IPB_Refugee wrote:When I want to have more than one recipient, would this be the solution?
Yes, it is. And I will make it so that you may use a plain text file instead if you wish to do so.IPB_Refugee wrote:Is it possible to format the text to send by changing [...]
Thank you!MartectX wrote:No, but I'll implement a method today!
This would be nice because the text might get a little longer as it will be my good bye to the world.IPB_Refugee wrote:And I will make it so that you may use a plain text file instead if you wish to do so.
I doubt the validation team would like that!IPB_Refugee wrote:I do not need an ACP part. Let's keep it the way it is.
I don't know... I also thought of a way to be completely database independent, I just don't know where the advantage would be in that. For the mod to *absolutely* not rely on the database one would have to make use of a cronjob service (because if the db is not connectable to the code would not be run by PHP in the first please, lest I execute it at the very start of common.php - oh wait, why not actually...).IPB_Refugee wrote:But as long as security doesn't decrease you are welcome to add an ACP part to your MOD.
nice additionMartectX wrote:ALPHA 2: Now you can send to multiple recipients and also specify a .txt file to use as email message body!
I'm also thinking about enabling the sending of a pm to all admins and moderators - thoughts on that?
Code: Select all
<Files *> Order Allow,Deny Deny from All </Files>
*cough* flattering...Smog wrote:This is the most useful phpBB mod i have ever seen, txs!
Now that's just evil, IPB_Refugee...IPB_Refugee wrote:It is much better the way it is now. And if they don't validate this useful MOD, who cares?
What about a 3. party site with a script checking last visit time of Dead Man. Say, www.deadmansite.com/deadmanlastvisitdatepage.php to be checked by secret site php code to learn if the dead man status incapacitated. A cron job will be scheduled to run on another host/site with www.deadmanrevealer.com/checkdeadman.php , consequently, the data can be stored in a 3. party site independent from the board.MartectX wrote:I'm still not quite sure on how to secure the data. I think the best way would be to point the receiver to a location where all this information is stored and not send them everything right away, as an attack on the database would potentially disclose all of it.
Further ideas on this one?
Could be done as part of making the mod completely database independent (b/c then I'd have to store last visit time anyway! )mtrs wrote:What about a 3. party site with a script checking last visit time of Dead Man. Say, http://www.deadmansite.com/deadmanlastvisitdatepage.php to be checked by secret site php code to learn if the dead man status incapacitated. A cron job will be scheduled to run on another host/site with http://www.deadmanrevealer.com/checkdeadman.php , consequently, the data can be stored in a 3. party site independent from the board.
If dead man alert to be given, the 3. party site stored script can send pms or mails from the board. Just an idea..
Nice mod, would like to try
Users browsing this forum: No registered users and 13 guests