2007-04-15, 07:00 PM
2007-04-17, 09:04 AM
I have a question. I have checked member.php from MyBB 1.2.3 (original TAR.GZ) and MyBB 1.2.5 (TAR.GZ).
In file from version 1.2.3 below line 1045 we have:
In file from version 1.2.3 below line 1045 we have:
$lang->away_note = sprintf($lang->away_note, $memprofile['username']);
$lang->users_additional_info = sprintf($lang->users_additional_info, $memprofile['username']);
$lang->users_signature = sprintf($lang->users_signature, $memprofile['username']);
$lang->send_user_email = sprintf($lang->send_user_email, $memprofile['username']);
if(!empty($memprofile['awayreason']))
{
$awayreason = $memprofile['awayreason'];
}
else
{
$awayreason = $lang->away_no_reason;
}
In member.php from 1.2.5 we have only: $lang->away_note = sprintf($lang->away_note, $memprofile['username']);
$lang->users_additional_info = sprintf($lang->users_additional_info, $memprofile['username']);
$lang->users_signature = sprintf($lang->users_signature, $memprofile['username']);
$lang->send_user_email = sprintf($lang->send_user_email, $memprofile['username']);
This change is not present in patch file mybb_124_xss_fix.txt (http://community.mybboard.net/showthread.php?tid=18301). Why? Which file is correct?2007-04-17, 01:56 PM
koziolek, The member.php attached has a full patch (It gets rid of duplicate code), but we used a simple and as effective manual patch.
2007-04-18, 05:55 PM
Thanks for the update, just installed and everything works perfectly .
2007-04-20, 12:25 AM
You guys rock at this stuff!!