bira
06 May 2001, 22:32
Hi All,
This is a very small hack, but one that my users requested:
When you send a fellow member an e-mail via the BB mailform, you can select to also receive a copy of this e-mail to your address.
The "installation" (for lack of better word) includes inserting a small piece of code into member.php, adding a small piece of HTML into one template, and creating a simple text-only new template.
Enjoy!
Installation Instructions:
1. Open member.php. Almost completely at the end of the script, find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Save file and upload.
2. Edit template mailform.
Find, almost at the bottom:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And ABOVE it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
3. Create new template, called email_copymessage with the following content:
This is a copy of an e-mail message you sent to $destuserinfo[username] at $bbtitle ( $bburl/index.php ):
--------------------------------------------------------------------------
$message
(change the text to whatever you like really)
THAT'S IT!
The mailform will now look like this:
http://www.atlasf1.com/personal/bira/mailform.gif
If you check this box, a copy of the e-mail you just sent will also be sent to you.
Cheers,
Bira
This is a very small hack, but one that my users requested:
When you send a fellow member an e-mail via the BB mailform, you can select to also receive a copy of this e-mail to your address.
The "installation" (for lack of better word) includes inserting a small piece of code into member.php, adding a small piece of HTML into one template, and creating a simple text-only new template.
Enjoy!
Installation Instructions:
1. Open member.php. Almost completely at the end of the script, find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Save file and upload.
2. Edit template mailform.
Find, almost at the bottom:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And ABOVE it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
3. Create new template, called email_copymessage with the following content:
This is a copy of an e-mail message you sent to $destuserinfo[username] at $bbtitle ( $bburl/index.php ):
--------------------------------------------------------------------------
$message
(change the text to whatever you like really)
THAT'S IT!
The mailform will now look like this:
http://www.atlasf1.com/personal/bira/mailform.gif
If you check this box, a copy of the e-mail you just sent will also be sent to you.
Cheers,
Bira