Post by Deleted on Sept 26, 2015 4:00:45 GMT -5
Below is a mini profile template i have had created for me which i am now submitting for use by others.
Simply navigate to Admin > Themes > Layout Templates > Mini-Profile
The code above will make your mini profile look like the below
Thanks to Tumbleweed for creating this Template upon my specifications.
Dave
Simply navigate to Admin > Themes > Layout Templates > Mini-Profile
<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}>
<center>$[user]<br /><hr size="2" style="margin:1px" color="#000000">
{if !$[user.is_member]}Guest<br /><hr size="2" style="margin:1px" color="#000000">{/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]</center><br \>
<hr size="2" style="margin:1px" color= #000000 />
{if !$[user.is_member]}Guest<br />
<hr size="2" style="margin:1px" color= #000000 />
{/if}
{/if}
{/if}
{/if}
{if $[user.custom_title]}<b>$[user.custom_title]</b>{/if}<br />
$[user.warning.bar]
<br />
<hr size="2" style="margin-top:2px; margin-bottom:0px;" color= #000000/>
{if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br />{/if}
{if !$[user.is_member]}Guest<br /><hr size="2" style="margin:1px" color= #000000 />{/if}
{if $[user.personal_text.message]}$[user.personal_text]<br />{/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>Status</u> - {if $[user.is_online]}<span style="color: #1d77de; font-weight: bold; font-style:italic;">Online</span> {else !$[user.is_online]}<span style="color: #ff0000; font-weight: bold; font-style:italic;">Offline</span><br />{/if}
<br /><u>Posts</u> - $[user.posts]
<br /><u>Likes</u> - $[user.likes]
<br /><u>Joined</u> - $[current_user.registered_on_short]<br />
{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if}<br />
{if $[user.location]}<br /><u>Location</u> - $[user.location]{/if}
<hr size="2" style="margin-top:4px; margin-bottom:1px;" color= #000000/>
{if $[user.website]}<u>Website</u> - $[user.website]<br/>
{if $[user.social_network]}<u>Social Networks</u> -
{foreach $[user.social_network]} $[user.social_network]$[user.social_network.comma]
{/foreach}
{/if}<br/>
{/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}
{if !$[user.is_member]}Guest<br /><hr size="2" style="margin:1px" color= #000000 />{/if}
<center>{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}</center>
</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>
The code above will make your mini profile look like the below
Thanks to Tumbleweed for creating this Template upon my specifications.
Dave