"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/inc/functions_forumlist.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

functions_forumlist.php  (mybb_1822):functions_forumlist.php  (mybb_1823)
skipping to change at line 145 skipping to change at line 145
$lastpost_data = array( $lastpost_data = array(
"lastpost" => $forum['lastpost'], "lastpost" => $forum['lastpost'],
"lastpostsubject" => $forum['lastpostsubj ect'], "lastpostsubject" => $forum['lastpostsubj ect'],
"lastposter" => $forum['lastposter'], "lastposter" => $forum['lastposter'],
"lastposttid" => $forum['lastposttid'], "lastposttid" => $forum['lastposttid'],
"lastposteruid" => $forum['lastposteruid' ] "lastposteruid" => $forum['lastposteruid' ]
); );
} }
if($forum['password']) if(!forum_password_validated($forum, true))
{ {
if(!isset($mybb->cookies['forumpass'][$forum['fid $hideinfo = true;
']]) || !my_hash_equals($mybb->cookies['forumpass'][$forum['fid']], md5($mybb->u $showlockicon = 1;
ser['uid'].$forum['password'])))
{
$hideinfo = true;
$showlockicon = 1;
}
} }
// Fetch subforums of this forum // Fetch subforums of this forum
if(isset($fcache[$forum['fid']])) if(isset($fcache[$forum['fid']]))
{ {
$forum_info = build_forumbits($forum['fid'], $dep th+1); $forum_info = build_forumbits($forum['fid'], $dep th+1);
// Increment forum counters with counters from ch ild forums // Increment forum counters with counters from ch ild forums
$forum['threads'] += $forum_info['counters']['thr eads']; $forum['threads'] += $forum_info['counters']['thr eads'];
$forum['posts'] += $forum_info['counters']['posts ']; $forum['posts'] += $forum_info['counters']['posts '];
 End of changes. 2 change blocks. 
8 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)