Target audience: adult
Reward: backlink
Deadline: none
Preferred contact method: PM
Link to the board: http://onanisti.ro
Detailed description of the tasks: I already did the edits from here viewtopic.php?p=14350301#p14350301
So I have the username in my quick reply box, now.
A friend did this trick for me:
Code: Select all
OPEN
posting.php
FIND
// check form
if (($submit || $preview) && !check_form_key('posting'))
{
$error[] = $user->lang['FORM_INVALID'];
}
ADAUGA, INAINTE
//check username field if empty
if (($submit || $preview) && empty($post_data['username']))
{
$error[] = $user->lang['EMPTY_USERNAME'];
}
Pentru common.php din language/ro să nu uiți traducerea
'EMPTY_USERNAME' => 'You must specify a username when posting a new topic.',
Thank you!
P.S.: My forum version is 3.0.14.