Фото профиля в онлайн-списках
Whowasonline
ACP > Customizations > Themes > ваша тема > edit HTML and CSS > core > global > plugins > whowasonline и заменит все содержание с етом:
<h3 class='ipsType_reset ipsWidget_title'> {lang="block_whowasonline"} </h3> <div class='ipsWidget_inner ipsPad'> <span class='ipsType_light ipsType_unbold ipsType_medium'>{lang="who_was_online_last_x" sprintf="$hour" pluralize="$memberCount"}</span> <br> {{if $stat !== false && $orientation!='vertical'}} <span class='ipsType_light ipsType_unbold ipsType_medium'>{$stat|raw}</span> {{endif}} {{if $memberCount}} <ul class='ipsList_inline ipsList_csv ipsList_noSpacing'> {{foreach $members as $row}} <li>{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $row['member_id'] ),'tiny'"}</li> {{endforeach}} </ul> {{else}} <p class='ipsType_reset ipsType_medium ipsType_light'>{lang="who_was_online_users_empty"}</p> {{endif}} </div>
WhosOnline
ACP > Customizations > Themes > ваша тема > edit HTML and CSS > core > front > widgets > whosOnline и заменит все содержание с етом:
<h3 class='ipsType_reset ipsWidget_title'>{lang="block_whosOnline"}</h3> <span class='ipsButton ipsButton_verySmall'style="position: absolute;top: 5px;right: 8px;"> <a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="see_full_list"}</a></span> <div class='ipsWidget_inner ipsPad'> {{if $memberCount}} <ul class='ipsList_inline ipsList_csv ipsList_noSpacing'> {{foreach $members as $row}} <li>{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $row['member_id'] ), 'tiny'"}</li> {{endforeach}} </ul> {{if $orientation == 'vertical' and $memberCount > 60}} <p class='ipsType_medium ipsType_reset'> <a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="and_x_others" pluralize="$memberCount - 60"}</a> </p> {{endif}} {{else}} <p class='ipsType_reset ipsType_medium ipsType_light'>{lang="whos_online_users_empty"}</p> {{endif}} </div>
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.