1
I'm currently working on a "Report This Post" template hack for the X2 NewBB module, and my goal is for a private message to be sent to the webmaster (or, more ideally, the moderator of the forum, but I can't think of how I'd do this) regarding the post that was reported.
My problem is that I cannot figure out how to insert text into the Subject and Message parts of the Private Message by using a link.
For instance, as a test, I wanted the Private Message window to open to be sent to the Webmaster (always uid 1, or it is in my case) with the subject "Report" and the message body saying "testing123". This is the link I am using:
http://www.mysite.url/pmlite.php?send2=1&to_userid=1&subject=report&message=testing123
However, I open the window using the link and nothing is in the subject or message boxes. What am I doing wrong? Do I need to hack the pmlite.php file in order for this to work, or just tweak the URL I'm using?
Any help would be IMMENSELY appreciated!