Privet Message mod needed
Hi all I’m looking for a mod for the PM subject line. As you know phpbb won’t let a pm send with out a subject line. Here’s what I did, I went in to the privmsg.php and took out the line
$privmsg_subject = trim(strip_tags($HTTP_POST_VARS['subject']));
if ( empty($privmsg_subject) )
{
$error = TRUE;
$error_msg .= ( ( !empty($error_msg) ) ? ' ' : '' ) . $lang['Empty_subject'];
}
Not a wise thing to do, no code no subject line, it will send the pm, however with out the line there’s nothing to click on so you can’t open the pm. My bad, I meant well, this leaves me with what I wanted to do in the first place and that is to put the date and time for in the subject line as the default subject line.
That way if my users do not wish to put a subject the forum will just put the date/time and send the dang thing on its marry way. I could not find a mod on php.com or phpbbhacks.com not even on google.
Not all hope is lost though because I know if there is a mod out there you guys and girls will have it, if not the wonderful people here at RoseBud can make it. (Or tell me how)
Lots of Love
Super
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum