2009-04-10, 01:12 PM
Hi
MyBB 1.4 here.
I am doing some heavy modding on the templates, and I was wondering where these variables are getting processed.
For example when previewing a new thread, the subject field is pre-populated by the variable subject posted from the form.. the template has this in the field:
{$subject}
I've been searching the newthread.php and the functions_post.php but i cant seem to figure out where this takes place
To explain a bit about what im doing... i am adding code that manipulates user input when creating/editing posts.. i've figured out how to properly display my manipulated data in the
PREVIEW portion
functions_post.php
line 529
as well as the actual saving of data into database
line 307
Hope somone can help..
MyBB 1.4 here.
I am doing some heavy modding on the templates, and I was wondering where these variables are getting processed.
For example when previewing a new thread, the subject field is pre-populated by the variable subject posted from the form.. the template has this in the field:
{$subject}
I've been searching the newthread.php and the functions_post.php but i cant seem to figure out where this takes place
To explain a bit about what im doing... i am adding code that manipulates user input when creating/editing posts.. i've figured out how to properly display my manipulated data in the
PREVIEW portion
functions_post.php
line 529
Quote: $post['message'] = $parser->parse_message($post['message'], $parser_options) . "my text";
as well as the actual saving of data into database
line 307
Quote:"message" => $mybb->input['message'] . "my text",
Hope somone can help..