Code: Select all
'APPLICATION_TEST' => 'Test field',
));
Code: Select all
{L_APPLICATION_WHY}<br />
<textarea rows="5" cols="50" name="why"></textarea>
<br/><br/>
Code: Select all
{L_APPLICATION_TEST} <input type="text" name="test" /><br /><br />
Code: Select all
$apply_post = sprintf($user->lang['APPLICATION_MESSAGE'], $user->data['username'], utf8_normalize_nfc(request_var('name', '', true)), $user->data['user_email'], request_var('postion', '', true), utf8_normalize_nfc(request_var('why', '', true)));
Code: Select all
utf8_normalize_nfc(request_var('why', '', true))
Code: Select all
, request_var('test', '', true)
Code: Select all
$apply_post = sprintf($user->lang['APPLICATION_MESSAGE'], $user->data['username'], utf8_normalize_nfc(request_var('name', '', true)), $user->data['user_email'], request_var('postion', '', true), utf8_normalize_nfc(request_var('why', '', true)), request_var('test', '', true));
Code: Select all
'APPLICATION_MESSAGE' => 'A new user has signed up by the application form, called [b] %1$s[/b].<br /><br />[b]Real name[/b]: %2$s<br />[b]E-mail address[/b]: %3$s<br />[b]Appling for[/b]: %4$s<br /><br />[b]Why would we choose him/her[/b]<br /> %5$s'
Code: Select all
'APPLICATION_MESSAGE' => 'A new user has signed up by the application form, called [b] %1$s[/b].<br /><br />[b]Real name[/b]: %2$s<br />[b]E-mail address[/b]: %3$s<br />[b]Appling for[/b]: %4$s<br /><br />[b]Why would we choose him/her[/b]<br /> %5$s<br /><br />[b]Testing field:[/b] %6$s',
Code: Select all
</form>
Thanks. I fixed the issue, there were some others issues with xhtml too, which I got fixed. I'll include this into the next version.stokerpiller wrote:I am missing the form end tag in the html:isn't it supposed to be there?Code: Select all
</form>
Not yet. However, if you want to translate this modification, feel free to post your translation here or contact me by PM.fai1712 wrote:Are there any other languages availabe than english and german? Spanish for example would be nice
I currently only support prosilver. If the style you're using is based on prosilver, you'll be fine.tehwolf wrote:how do i use this for another template
error. I'm guessing that (even though "topic_status" is native to phpBB) that MOD adds it to the submit_post function or something.topic_status cannot be NULL
That makes it work properly. I'm not sure the affect of that line on the MOD if Soft Delete is not installed (although I wouldn't think it would make too big of a difference, imo).Find: Line 65After, add: Line 66Code: Select all
'enable_indexing' => true,
Code: Select all
'topic_status' => 0,
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2253: Undefined index: post_approved
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 2442: Undefined index: post_approved
Code: Select all
'enable_indexing' => true,
Code: Select all
'post_approved' => 1,