Post by Nscalerr on Nov 12, 2016 18:15:20 GMT -8
Would there be a better way of doing this, as in making it shorter, but still including the contents of it.
Forum: Link
Forum: Link
{if $[user.group.name] == "Administrator"}
<!-- // This starts the Admin's personal Mini Profile // -->
<div class="$[miniprofile_class] mp-admin">
$[user]<br />
{if $[user.is_guest]}Guest<br />{/if}
{if $[user.is_deleted]}Deleted<br />{/if}
{if $[user.is_banned]}Banned<br />{/if}
{if $[user.account_disabled]}Suspended<br />{/if}
{if $[user.group]}
<span style="font-size: 8pt;">$[user.group.name]</span><br />$[user.group.stars]<br />
{/if}
{if $[user.rank]}
$[user.rank.name]<br />
{if $[user.rank.stars]}
$[user.rank.stars]<br />
{/if}{/if}
{if $[user.custom_title]}$[user.custom_title]<br />{/if}
$[user.warning.bar]
{if $[user.avatar]}<div class="avatar">$[user.avatar]</div><br />{/if}
<div class="info">
{if $[user.personal_text.message]}$[user.personal_text]<br />{/if}
Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if}<br />
Likes: $[user.likes]<br /><br />
{if $[user.location]}Location: $[user.location]<br />{/if}
Joined: <span class="post_act" style="display: none;">$[user.registered_on]</span>$[user.registered_on_short]<br />
{if $[user.is_online]}<span style="color: #00BB00;">Member is Online</span><br /><br />{/if}{if $[user.is_online]}{else}<span style="color: #DD0000;">Member is Offline</span><br /><br />{/if}
Last Online:<br />$[user.last_online]<br />
<span class="userKarmaNumber$[user.id]"></span><br />
{if $[current_user.is_member]}<span class="karmabuttons"></span><br />{/if}<br />
{if $[user.website] && $[current_user.is_member]}Website: <a href="$[user.website.href]" target="_blank" rel="$[user.website.rel]" title="$[user.website.title]">$[user.website.title]</a><br /><br />{/if}
{foreach $[user.mini_custom_field]}
<span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name] $[user.mini_custom_field.value]</span><br/>
{/foreach}<br/>
</div><br />
<div class="data_box">
{if $[current_user.is_member]}<br/>
<a href="$[user.pm_href]" alt="PM $[user.name]" class="sendpm">Send Message</a><br />
{/if}
<div class="levelBarHere"></div><br />
<div class="post_activity_target"></div>
<div class="display-birth">$[user.birthday]</div>
</div><br />
<div class="awards"></div>
{if $[user.badges_miniprofile]}<br />
<div class="$[user.badges_miniprofile_container_class]"><p align="center">Gifts</p>
{foreach $[user.badges_miniprofile]}
$[user.badges_miniprofile.icon]
{/foreach}
</div>
{/if}
<span class="anniversary" style="display: none;">$[user.registered_on]</span>
</div>
<!-- // This Ends the Admin's personal MP // -->
{elseif $[user.group.name] == "Global Moderator"}
<!-- // This starts the Global Moderator's personal Mini Profile // -->
<div class="$[miniprofile_class] mp-glob">
$[user]<br />
{if $[user.is_guest]}Guest<br />{/if}
{if $[user.is_deleted]}Deleted<br />{/if}
{if $[user.is_banned]}Banned<br />{/if}
{if $[user.account_disabled]}Suspended<br />{/if}
{if $[user.group]}
<span style="font-size: 8pt;">$[user.group.name]</span><br />$[user.group.stars]<br />
{/if}
{if $[user.rank]}
$[user.rank.name]<br />
{if $[user.rank.stars]}
$[user.rank.stars]<br />
{/if}{/if}
{if $[user.custom_title]}$[user.custom_title]<br />{/if}
$[user.warning.bar]
{if $[user.avatar]}<div class="avatar">$[user.avatar]</div><br />{/if}
<div class="info">
{if $[user.personal_text.message]}$[user.personal_text]<br />{/if}
Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if}<br />
Likes: $[user.likes]<br /><br />
{if $[user.location]}Location: $[user.location]<br />{/if}
Joined: <span class="post_act" style="display: none;">$[user.registered_on]</span>$[user.registered_on_short]<br />
{if $[user.is_online]}<span style="color: #00BB00;">Member is Online</span><br /><br />{/if}{if $[user.is_online]}{else}<span style="color: #DD0000;">Member is Offline</span><br /><br />{/if}
Last Online:<br />$[user.last_online]<br />
<span class="userKarmaNumber$[user.id]"></span><br />
{if $[current_user.is_member]}<span class="karmabuttons"></span><br />{/if}<br />
{if $[user.website] && $[current_user.is_member]}Website: <a href="$[user.website.href]" target="_blank" rel="$[user.website.rel]" title="$[user.website.title]">$[user.website.title]</a><br /><br />{/if}
{foreach $[user.mini_custom_field]}
<span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name] $[user.mini_custom_field.value]</span><br/>
{/foreach}<br/>
</div><br />
<div class="data_box">
{if $[current_user.is_member]}<br/>
<a href="$[user.pm_href]" alt="PM $[user.name]" class="sendpm">Send Message</a><br />
{/if}
<div class="levelBarHere"></div><br />
<div class="post_activity_target"></div>
<div class="display-birth">$[user.birthday]</div>
</div><br />
<div class="awards"></div>
{if $[user.badges_miniprofile]}<br />
<div class="$[user.badges_miniprofile_container_class]"><p align="center">Gifts</p>
{foreach $[user.badges_miniprofile]}
$[user.badges_miniprofile.icon]
{/foreach}
</div>
{/if}
<span class="anniversary" style="display: none;">$[user.registered_on]</span>
</div>
<!-- // This ends the Global Moderator's personal Mini Profile // -->
{elseif $[user.group.name] == "Moderator"}
<!-- // This starts the Moderator's personal Mini Profile // -->
<div class="$[miniprofile_class] mp-mods">
$[user]<br />
{if $[user.is_guest]}Guest<br />{/if}
{if $[user.is_deleted]}Deleted<br />{/if}
{if $[user.is_banned]}Banned<br />{/if}
{if $[user.account_disabled]}Suspended<br />{/if}
{if $[user.group]}
<span style="font-size: 8pt;">$[user.group.name]</span><br />$[user.group.stars]<br />
{/if}
{if $[user.rank]}
$[user.rank.name]<br />
{if $[user.rank.stars]}
$[user.rank.stars]<br />
{/if}{/if}
{if $[user.custom_title]}$[user.custom_title]<br />{/if}
$[user.warning.bar]
{if $[user.avatar]}<div class="avatar">$[user.avatar]</div><br />{/if}
<div class="info">
{if $[user.personal_text.message]}$[user.personal_text]<br />{/if}
Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if}<br />
Likes: $[user.likes]<br /><br />
{if $[user.location]}Location: $[user.location]<br />{/if}
Joined: <span class="post_act" style="display: none;">$[user.registered_on]</span>$[user.registered_on_short]<br />
{if $[user.is_online]}<span style="color: #00BB00;">Member is Online</span><br /><br />{/if}{if $[user.is_online]}{else}<span style="color: #DD0000;">Member is Offline</span><br /><br />{/if}
Last Online:<br />$[user.last_online]<br />
<span class="userKarmaNumber$[user.id]"></span><br />
{if $[current_user.is_member]}<span class="karmabuttons"></span><br />{/if}<br />
{if $[user.website] && $[current_user.is_member]}Website: <a href="$[user.website.href]" target="_blank" rel="$[user.website.rel]" title="$[user.website.title]">$[user.website.title]</a><br /><br />{/if}
{foreach $[user.mini_custom_field]}
<span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name] $[user.mini_custom_field.value]</span><br/>
{/foreach}<br/>
</div><br />
<div class="data_box">
{if $[current_user.is_member]}<br/>
<a href="$[user.pm_href]" alt="PM $[user.name]" class="sendpm">Send Message</a><br />
{/if}
<div class="levelBarHere"></div><br />
<div class="post_activity_target"></div>
<div class="display-birth">$[user.birthday]</div>
</div><br />
<div class="awards"></div>
{if $[user.badges_miniprofile]}<br />
<div class="$[user.badges_miniprofile_container_class]"><p align="center">Gifts</p>
{foreach $[user.badges_miniprofile]}
$[user.badges_miniprofile.icon]
{/foreach}
</div>
{/if}
<span class="anniversary" style="display: none;">$[user.registered_on]</span>
</div>
<!-- // This ends the Moderator's personal Mini Profile // -->
{else}
<!-- // This starts the user's personal Mini Profile // -->
<div class="$[miniprofile_class]">
$[user]<br />
{if $[user.is_guest]}Guest<br />{/if}
{if $[user.is_deleted]}Deleted<br />{/if}
{if $[user.is_banned]}Banned<br />{/if}
{if $[user.account_disabled]}Suspended<br />{/if}
{if $[user.group]}
<span style="font-size: 8pt;">$[user.group.name]</span><br />$[user.group.stars]<br />
{/if}
{if $[user.rank]}
$[user.rank.name]<br />
{if $[user.rank.stars]}
$[user.rank.stars]<br />
{/if}{/if}
{if $[user.custom_title]}$[user.custom_title]<br />{/if}
$[user.warning.bar]
{if $[user.avatar]}<div class="avatar">$[user.avatar]</div><br />{/if}
<div class="info">
{if $[user.personal_text.message]}$[user.personal_text]<br />{/if}
Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if}<br />
Likes: $[user.likes]<br /><br />
{if $[user.location]}Location: $[user.location]<br />{/if}
Joined: <span class="post_act" style="display: none;">$[user.registered_on]</span>$[user.registered_on_short]<br />
{if $[user.is_online]}<span style="color: #00BB00;">Member is Online</span><br /><br />{/if}{if $[user.is_online]}{else}<span style="color: #DD0000;">Member is Offline</span><br /><br />{/if}
Last Online:<br />$[user.last_online]<br />
<span class="userKarmaNumber$[user.id]"></span><br />
{if $[current_user.is_member]}<span class="karmabuttons"></span><br />{/if}<br />
{if $[user.website] && $[current_user.is_member]}Website: <a href="$[user.website.href]" target="_blank" rel="$[user.website.rel]" title="$[user.website.title]">$[user.website.title]</a><br /><br />{/if}
{foreach $[user.mini_custom_field]}
<span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name] $[user.mini_custom_field.value]</span><br/>
{/foreach}<br/>
</div><br />
<div class="data_box">
{if $[current_user.is_member]}<br/>
<a href="$[user.pm_href]" alt="PM $[user.name]" class="sendpm">Send Message</a><br />
{/if}
<div class="levelBarHere"></div><br />
<div class="post_activity_target"></div>
<div class="display-birth">$[user.birthday]</div>
</div><br />
<div class="awards"></div>
{if $[user.badges_miniprofile]}<br />
<div class="$[user.badges_miniprofile_container_class]"><p align="center">Gifts</p>
{foreach $[user.badges_miniprofile]}
$[user.badges_miniprofile.icon]
{/foreach}
</div>
{/if}
<span class="anniversary" style="display: none;">$[user.registered_on]</span>
</div>
<!-- // This ends the user's personal Mini Profile // -->
{/if}