From: Eloi G. <ada...@us...> - 2004-09-26 05:25:36
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4286/class Modified Files: Manager.php Log Message: Ajusted the ranking system's definition of a moderator Index: Manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** Manager.php 23 Sep 2004 19:02:27 -0000 1.51 --- Manager.php 26 Sep 2004 05:25:18 -0000 1.52 *************** *** 1346,1350 **** } else { ! $result['monitordefault'] = '1'; $result['suspendmonitors'] = '0'; } --- 1346,1350 ---- } else { ! $result['monitordefault'] = '0'; $result['suspendmonitors'] = '0'; } *************** *** 1386,1390 **** // Determine user's rank if($result['posts']&& $this->_user_ranks) { ! $isSpecialuser = (isset($result['deity']) && $result['deity']) || (isset($result['varValue']) && stristr($result['varValue'], 'lock_threads')); foreach ($this->_user_ranks as $rank) if(($rank['rank_min']<=$result['posts']) --- 1386,1390 ---- // Determine user's rank if($result['posts']&& $this->_user_ranks) { ! $isSpecialuser = (isset($result['deity']) && $result['deity']) || (isset($result['varValue']) && (stristr($result['varValue'], 'edit_forums') || stristr($result['varValue'], 'edit_messages'))); foreach ($this->_user_ranks as $rank) if(($rank['rank_min']<=$result['posts']) |