jamoss
07-24-2003, 10:00 PM
Hack that one of our users requested, because of the limit on their PM box.
Tested on VB version: 2.2.5
Time to install: Less than 5 minutes
New templates: 2
Modified template: 1
New script to upload: 1
Support: jennifer@babynames.com
1. UPLOAD the attached script "pm_forward.php" to your board main directory.
2. CREATE 2 new templates:
forwardpm_yes
<normalfont>
<P>
The private message has been forwarded the email address
in your profile.
<P>
<a href="private.php">Back to Private Messages</a>
</normalfont>
<P>
forwardpm_no
<normalfont>
<P>
Invalid private message. Try again or contact your board administrator.
<P>
<a href="private.php">Back to Private Messages</a>
</normalfont>
<P> <P>
3. Modify template privmsg and put this code wherever you want the link to appear:
<smallfont> <a href="pm_forward.php?pmid=$privatemessageid">Forward to my EMAIL</a></smallfont>
Let me know if it works for ya!
p.s. If user tries to plug in another privatemessageid, it will give them the 'invalid private message' error for security's sake.
Tested on VB version: 2.2.5
Time to install: Less than 5 minutes
New templates: 2
Modified template: 1
New script to upload: 1
Support: jennifer@babynames.com
1. UPLOAD the attached script "pm_forward.php" to your board main directory.
2. CREATE 2 new templates:
forwardpm_yes
<normalfont>
<P>
The private message has been forwarded the email address
in your profile.
<P>
<a href="private.php">Back to Private Messages</a>
</normalfont>
<P>
forwardpm_no
<normalfont>
<P>
Invalid private message. Try again or contact your board administrator.
<P>
<a href="private.php">Back to Private Messages</a>
</normalfont>
<P> <P>
3. Modify template privmsg and put this code wherever you want the link to appear:
<smallfont> <a href="pm_forward.php?pmid=$privatemessageid">Forward to my EMAIL</a></smallfont>
Let me know if it works for ya!
p.s. If user tries to plug in another privatemessageid, it will give them the 'invalid private message' error for security's sake.