Ignore:
Timestamp:
12/08/07 00:04:43 (4 years ago)
Author:
hverton
Message:

update all user queries to include the user_status, to select only active user accounts
removed download bar selection from the download module (should be in the download bars module)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/templates/forum.renderpost.tpl

    r1140 r1159  
    7373        <td valign='top' width='140' class='tbl_left'> 
    7474            {$posts[pid].cc_flag} 
    75             {if $smarty.const.iMEMBER && $posts[pid].post_author > 0} 
     75            {if $smarty.const.iMEMBER && $posts[pid].user_status == 0 && $posts[pid].post_author > 0} 
    7676                <a href='{$smarty.const.BASEDIR}profile.php?lookup={$posts[pid].user_id}'>{$posts[pid].user_name}</a> 
    7777            {else} 
     
    206206                <span style='color:#666666;'> 
    207207                    {$locale.508} 
    208                     {if $smarty.const.iMEMBER} 
     208                    {if $smarty.const.iMEMBER && $posts[pid].edit_status == 0} 
    209209                        <a href='{$smarty.const.BASEDIR}profile.php?lookup={$posts[pid].post_edituser}'>{$posts[pid].edit_name}</a> 
    210210                    {else} 
    211                         {$posts[pid].user_name} 
     211                        {$posts[pid].edit_name} 
    212212                    {/if} 
    213213                    {$locale.509}{$posts[pid].post_edittime|date_format:"forumdate"} 
Note: See TracChangeset for help on using the changeset viewer.