MyBB Community Forums
[F] Private message presets - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.2.7 (https://community.mybb.com/forum-55.html)
+------ Thread: [F] Private message presets (/thread-19701.html)



[F] Private message presets - nitemare - 06-01-2007

when you use a URL such as this: http://community.mybboard.net/private.php?action=send&uid=1903&message=testing&subject=test

should not having &subject=test make the subject say test?

yet it doesn't do that here or on my board


RE: Private message presets - Dennis Tsang - 06-01-2007

I guess so...

In private.php, add:
	$subject = htmlspecialchars_uni($mybb->input['subject']);
After:
	$posticons = get_post_icons();
	$previewmessage = $mybb->input['message'];
	$message = htmlspecialchars_uni($mybb->input['message']);



RE: [F] Private message presets - Dennis Tsang - 06-01-2007

This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.


RE: [F] Private message presets - nitemare - 06-01-2007

thanks for the quick update, and the fast reply