[Template] tunescools Miniprofile
Jun 1, 2013 5:26:41 GMT -8
seedian, ♡ Kat Meows ♡, and 1 more like this
Post by tunescool on Jun 1, 2013 5:26:41 GMT -8
Themes - Layout Templates - Miniprofile
This Miniprofile displays both the Member Group and Member Rank
It also comes with a Custom Profile Field to add a Personal Miniprofile Background
Each Member can choose their own Background
You have to add a Custom Miniprofile Field in the Admin Panel for Members to enter the url of their Background(Set to display Member Profiles Only)
Example - Mini Profile Background Image (Enter URL)
This is the Admin and Staff Miniprofile
With A Background
This a Members Miniprofile who belongs to a Member Group
With A Background
Replace the whole Miniprofile Template with this
Adjust anything in green the way you want or change any of the text
The purple has to be the same as the name of the Custom Profile Field so it won't show in the Summary Tab in the Profile, but you can change it to what you like
The Text Field will still show up in the Edit Personal Information Tab where Members enter the URL of their Background
<div class="$[miniprofile_class]" {foreach $[user.custom_field]} {if $[user.custom_field.name] == "Mini Profile Background Image (Enter URL)"}style="background-image: url('$[user.custom_field.value]');"{/if}{/foreach}>
$[user]<br />
{if !$[user.is_member]}Guest<br />{/if}
<hr size="2" style="margin:1px" color= #000000 />
{if $[user.custom_title]}<b>$[user.custom_title]</b><br />{/if}
{if $[user.group]}
<b>$[user.group.name]</b>
<br />$[user.group.stars]<br />
<hr size="2" style="margin:1px" color= #000000 />
{/if}{if !$[user.is_staff]}
{if $[user.rank]}
<b>$[user.rank.name]</b><br />
{if $[user.rank.stars]}
$[user.rank.stars]
{/if}
{/if}
<hr size="2" style="margin:1px" color= #000000/>
{/if}
{if $[user.is_online]}<span class="italic" style="font-weight:bold;">Member Is </span><span style="color: #1d77de; font-weight: bold; font-style:italic;">Online</span><br />{/if}
$[user.warning.bar]
<br />
{if $[user.avatar]}
<div class="avatar">$[user.avatar]</div><br />
{/if}
{if $[user.personal_text.message]}
<div style="padding-bottom:1px;">$[user.personal_text]</div>
{/if}
<hr size="2" style="margin-top:2px; margin-bottom:0px;" color= #000000/>
{if $[user.is_member]}
<div class="info" style="padding-top:5px; font-size:11px;">
<u>Posts</u> - $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if}
<br /><u>Likes</u> - $[user.likes]
<br /><u>Joined</u> - $[current_user.registered_on_short]
{if $[user.location]}<br /><u>Location</u> - $[user.location]{/if}
{foreach $[user.mini_custom_field]}<br/>
<span class="$[user.mini_custom_field.content_class]"><u>$[user.mini_custom_field.name]</u> - $[user.mini_custom_field.value]</span>
{/foreach}
<hr size="2" style="margin-top:4px; margin-bottom:1px;" color= #000000/>
{if $[current_user.is_member]}<a href="$[user.pm_href]" alt="PM $[user.name]" style="font-size:11px;">{if $[user.is_member]}Send Message{/if}</a><br/>{/if}
{if $[user.website]}<u>Website</u> - $[user.website]<br/>{/if}
{if $[user.social_network.is_member]}{if $[user.social_network]}
{foreach $[user.social_network]}
$[user.social_network]$[user.social_network.comma]
{/foreach}{/if}<br/>{/if}
</div>
{/if}
{if $[user.miniprofile_badge]}
<div class="$[user.miniprofile_badge_container_class]">
{foreach $[user.miniprofile_badge]}
$[user.miniprofile_badge.image.thumb]
{/foreach}
</div>
{/if}
</div>
This Miniprofile displays both the Member Group and Member Rank
It also comes with a Custom Profile Field to add a Personal Miniprofile Background
Each Member can choose their own Background
You have to add a Custom Miniprofile Field in the Admin Panel for Members to enter the url of their Background(Set to display Member Profiles Only)
Example - Mini Profile Background Image (Enter URL)
This is the Admin and Staff Miniprofile
With A Background
This a Members Miniprofile who belongs to a Member Group
With A Background
Replace the whole Miniprofile Template with this
Adjust anything in green the way you want or change any of the text
The purple has to be the same as the name of the Custom Profile Field so it won't show in the Summary Tab in the Profile, but you can change it to what you like
The Text Field will still show up in the Edit Personal Information Tab where Members enter the URL of their Background
<div class="$[miniprofile_class]" {foreach $[user.custom_field]} {if $[user.custom_field.name] == "Mini Profile Background Image (Enter URL)"}style="background-image: url('$[user.custom_field.value]');"{/if}{/foreach}>
$[user]<br />
{if !$[user.is_member]}Guest<br />{/if}
<hr size="2" style="margin:1px" color= #000000 />
{if $[user.custom_title]}<b>$[user.custom_title]</b><br />{/if}
{if $[user.group]}
<b>$[user.group.name]</b>
<br />$[user.group.stars]<br />
<hr size="2" style="margin:1px" color= #000000 />
{/if}{if !$[user.is_staff]}
{if $[user.rank]}
<b>$[user.rank.name]</b><br />
{if $[user.rank.stars]}
$[user.rank.stars]
{/if}
{/if}
<hr size="2" style="margin:1px" color= #000000/>
{/if}
{if $[user.is_online]}<span class="italic" style="font-weight:bold;">Member Is </span><span style="color: #1d77de; font-weight: bold; font-style:italic;">Online</span><br />{/if}
$[user.warning.bar]
<br />
{if $[user.avatar]}
<div class="avatar">$[user.avatar]</div><br />
{/if}
{if $[user.personal_text.message]}
<div style="padding-bottom:1px;">$[user.personal_text]</div>
{/if}
<hr size="2" style="margin-top:2px; margin-bottom:0px;" color= #000000/>
{if $[user.is_member]}
<div class="info" style="padding-top:5px; font-size:11px;">
<u>Posts</u> - $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if}
<br /><u>Likes</u> - $[user.likes]
<br /><u>Joined</u> - $[current_user.registered_on_short]
{if $[user.location]}<br /><u>Location</u> - $[user.location]{/if}
{foreach $[user.mini_custom_field]}<br/>
<span class="$[user.mini_custom_field.content_class]"><u>$[user.mini_custom_field.name]</u> - $[user.mini_custom_field.value]</span>
{/foreach}
<hr size="2" style="margin-top:4px; margin-bottom:1px;" color= #000000/>
{if $[current_user.is_member]}<a href="$[user.pm_href]" alt="PM $[user.name]" style="font-size:11px;">{if $[user.is_member]}Send Message{/if}</a><br/>{/if}
{if $[user.website]}<u>Website</u> - $[user.website]<br/>{/if}
{if $[user.social_network.is_member]}{if $[user.social_network]}
{foreach $[user.social_network]}
$[user.social_network]$[user.social_network.comma]
{/foreach}{/if}<br/>{/if}
</div>
{/if}
{if $[user.miniprofile_badge]}
<div class="$[user.miniprofile_badge_container_class]">
{foreach $[user.miniprofile_badge]}
$[user.miniprofile_badge.image.thumb]
{/foreach}
</div>
{/if}
</div>