| jjh221 wrote: |
| I noticed that when I installed this block that the xml feed link only shows when I show top posters. Is there a way to edit this? |
| Code: |
$contentXML = '';
if (strlen($backendForumsXML)>0) $contentXML = '<center><a href="'.$backendForumsXML.'" title="'.bfcBACKENDTITLE.'"><img src="images/blocks/xmlicon.gif" alt="" border="0" /></a></center>'; |
| Code: |
$userTimeZone = ($userTimeZone - $serverTimeZone)*3600;
if (!is_numeric($userTimeZone)) $userTimeZone = 0; |
| Code: |
$userTimeZone = ($userTimeZone - $serverTimeZone)*3600;
if (!is_numeric($userTimeZone)) $userTimeZone = 0;
if ($showTopPosters==1 OR $showTopPosters==2) {
$sql = "SELECT user_id, username, user_posts, user_avatar, user_level, rank_title, rank_id FROM ".$user_prefix."_users u LEFT JOIN ".$user_prefix."_bbranks r on u.user_rank=r.rank_id where username NOT IN ($skipTopPostersUserNames) ORDER BY user_posts DESC LIMIT 0,$showTopPostersNum";
$result=$db->sql_query($sql);
$contentXML = '';
if (strlen($backendForumsXML)>0) $contentXML = '<center><a href="'.$backendForumsXML.'" title="'.bfcBACKENDTITLE.'"><img src="images/blocks/xmlicon.gif" alt="" border="0" /></a></center>'; |
| Code: |
$userTimeZone = ($userTimeZone - $serverTimeZone)*3600;
if (!is_numeric($userTimeZone)) $userTimeZone = 0;
$contentXML = '';
if (strlen($backendForumsXML)>0) $contentXML = '<center><a href="'.$backendForumsXML.'" title="'.bfcBACKENDTITLE.'"><img src="images/blocks/xmlicon.gif" alt="" border="0" /></a></center>';
if ($showTopPosters==1 OR $showTopPosters==2) {
$sql = "SELECT user_id, username, user_posts, user_avatar, user_level, rank_title, rank_id FROM ".$user_prefix."_users u LEFT JOIN ".$user_prefix."_bbranks r on u.user_rank=r.rank_id where username NOT IN ($skipTopPostersUserNames) ORDER BY user_posts DESC LIMIT 0,$showTopPostersNum";
$result=$db->sql_query($sql); |