Icy Phoenix

     
 

Admins, Mods, User In The Same List

Admins, Mods, User In The Same List

Article
Reply with quote    Download Post  
Post Admins, Mods, User In The Same List 
 
Hello all!  
I want to make a small change to the blocking of daily visits..

File: index_body.tpl

Code: [Download] [Hide] [Select]
    <td class="row1">
        <span class="gensmall">
        {L_Online_today}<br />
        {L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />
        {ADMINS_TODAY_LIST}<br />
        {MODS_TODAY_LIST}<br />
        {USERS_TODAY_LIST}<br />
        </span>
    </td>


I want to put in the same list (User Online Today) even admin and mods, how can I do?

Thanks.



 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Wed 23 Dec, 2009 14:04 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Admins, Mods, User In The Same List

Comments
Reply with quote    Download Post  
Post Re: Admins, Mods, User In The Same List 
 
can someone help me  



 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Fri 29 Jan, 2010 19:19 ]
Reply with quote    Download Post  
Post Re: Admins, Mods, User In The Same List 
 
OPEN forum.php
FIND
Code: [Download] [Hide] [Select]
                switch ($todayrow['user_level'])
                {
                    case ADMIN:
                        $admins_today_list .= (empty($admins_today_list) ? '' : ', ') . $colored_user;
                    break;
                    case MOD:
                        $mods_today_list .= (empty($mods_today_list) ? '' : ', ') . $colored_user;
                    break;
                    default:
                        $users_today_list .= (empty($users_today_list) ? '' : ', ') . $colored_user;
                    break;
                }

REPLACE WITH
Code: [Download] [Hide] [Select]
$users_today_list .= (empty($users_today_list) ? '' : ', ') . $colored_user;


Then you have to remove all other stuff in the TPL...



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sat 30 Jan, 2010 09:38 ]
Reply with quote    Download Post  
Post Re: Admins, Mods, User In The Same List 
 
Thanks bro, I put the change online, for anyone wishing to use the files ready.

Admins_Mods_User_In_The_Same_List_for_1.3.0.53a.rar
Description:  
Download
Filename: Admins_Mods_User_In_The_Same_List_for_1.3.0.53a.rar
Filesize: 9.18 KB
Downloaded: 166 Time(s)




 
TopoMotoV3X - View user's profile Send private message  
TopoMotoV3X [ Sat 30 Jan, 2010 10:33 ]
Reply with quote    Download Post  
Post Re: Admins, Mods, User In The Same List 
 
Great, thanks for sharing... I'll move this to Customizations.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Thu 04 Feb, 2010 00:22 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron