Forum Moderators: rogerd

Message Too Old, No Replies

Help Editing PhpBB PrivMSG.php

         

BlackRaven

8:37 pm on May 26, 2005 (gmt 0)

10+ Year Member



Hi i have modded the appropiate tpl files so tha a new window opens to
privmsg.php?mode=post&u=2&reportform=Report[http://www.forumURL/viewtopic.php?p={postrow.U_POST_ID}#{postrow.U_POST_ID}]
when a user clicks on the "Report Post to Mod link" Url.

However i would like the variable reportform to be shown in the subject field of the priv message, but can not seem to find the appropiate place in privmsg.php

where do i put this so that the subject field shows the value of the reportform variable

if (!empty($HTTP_POST_VARS['reportform']) ¦¦!empty($HTTP_GET_VARS['reportform']) )
{
$post_subject= (!empty($HTTP_POST_VARS['reportform']) )? $HTTP_POST_VARS['reportform'] : $HTTP_GET_VARS['reportform'];
$post_subject = htmlspecialchars($post_subject);
}
else
{
$post_subject = $preview_subject;
}

...thanks

rogerd

2:09 am on May 30, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Hi, BlackRaven. Looks like the group here is coming up dry so far - you might try the phpBB forum, too. Good luck!

BlackRaven

3:18 am on May 30, 2005 (gmt 0)

10+ Year Member



thanks for the reply, i tried phpbb & experts-exchange (500 points) but no one has replied there either.