FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Parsing a subject in a PM url
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Parsing a subject in a PM url [message #161787 is a reply to message #161786] Sat, 06 February 2010 23:41 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Looking at ppost.tmpl, you'll see that the subject is a variable:

<input type="text" spellcheck="true" maxlength="100" name="msg_subject" value="{VAR: msg_subject}" size="50" tabindex="2" />


So, edit src/ppost.php.t and assign whatever you want to it:

/* setup some default values */
$msg_subject = $msg_body = $msg_icon = $old_subject = $msg_ref_msg_id = '';


Easy as pie.
[Message index]
 
Read Message
Read Message
Previous Topic: Include php file
Next Topic: Initial Forum Layout ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Jul 06 10:20:13 GMT 2024

Total time taken to generate the page: 0.03962 seconds