Modified the "/Themes/default/PersonalMessage.template.php" script to allow for input of the SUBJECT field from the URL.
Start Line Line: 1010
ORIGINAL LINE
NEW LINES
It will now allow input from the URL as follows:
Start Line Line: 1010
ORIGINAL LINE
Code:
<input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="60" maxlength="60" />
NEW LINES
Code:
<!-- Then INPUT line for the PM Subject has been replaced so that GETs can be used and the Subject line contents obtained from the URL -->
<!-- ================================================================================================================================= -->
<!-- Original Line -->
<!-- <input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="60" maxlength="60" /> -->
<!-- New Line -->
<input type="text" name="subject" value="', !empty($_GET['subject']) ? $_GET['subject'] : $context['subject'], '" tabindex="', $context['tabindex']++, '" size="60" maxlength="60" />
<!-- ================================================================================================================================= -->
It will now allow input from the URL as follows:
Code:
http://www.popupportal.com/index.php?action=pm;sa=send;u=12754,29367,12878,4764;subject=Bogus%20Acronyms%20-%20JimmyJohn