Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Preview

This will add a list of a user's instant messengers and social networks at the bottom of their mini-profile.

First, open up the Mini-profile template (not micro-profile!)

Find this line:
{if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if}

And replace it with this:
{if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if}
           {if $[user.instant_messenger]}
               <br />
               {foreach $[user.instant_messenger]}
                <br />$[user.instant_messenger.name]: $[user.instant_messenger.value]
               {/foreach}
           {/if}
           {if $[user.social_network]}
           <br />
               {foreach $[user.social_network]}
               <br />$[user.social_network]
               {/foreach}
           {/if}



Last Edit: Jan 10, 2013 7:23:14 GMT by Chris

tunescool

tunescool Avatar

****
Senior Member

267


August 2006
im no good with html and all the different ways to use font and 's and "s. i tried, how can i change this font size, just this line you dont have to post the whole thing again

{if $[user.social_network]}
<br />
{foreach $[user.social_network]}
<br /><font-size:1px;>$[user.social_network]</font>
{/foreach}
{/if}

how do i get to your v5 site, i just get 4.5, everything i have bookmarked for pbs i get 4.5 still
Forum By Tunes/A General Forum - Movie Preview Site - Self Improvement Blog
Pregnancy Blog - SEO Nook - Social Media/Backlinks/Content/SEO Packages

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
tunescool Avatar
im no good with html and all the different ways to use font and 's and "s. i tried, how can i change this font size, just this line you dont have to post the whole thing again

{if $[user.social_network]}
<br />
{foreach $[user.social_network]}
<br /><font-size:1px;>$[user.social_network]</font>
{/foreach}
{/if}

how do i get to your v5 site, i just get 4.5, everything i have bookmarked for pbs i get 4.5 still


SZ is still running v4.5. There is no v5 site yet. :) We'll convert sooner or later. :P I just have to convert templates first.

Anyways:
<br /><font style="font-size: 12px">$[user.social_network]</font>

That tag should do it for you.

tunescool

tunescool Avatar

****
Senior Member

267


August 2006
that didnt but i changed it in the visual editor, i try to stay out of there as much as possible and just use html or css, so done

is there a way to seperate only the social networks with a comma and space, my mp is huge as it is
Forum By Tunes/A General Forum - Movie Preview Site - Self Improvement Blog
Pregnancy Blog - SEO Nook - Social Media/Backlinks/Content/SEO Packages

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
tunescool Avatar
that didnt but i changed it in the visual editor, i try to stay out of there as much as possible and just use html or css, so done

is there a way to seperate only the social networks with a comma and space, my mp is huge as it is


Change this:
{foreach $[user.social_network]}
<br />$[user.social_network]
{/foreach}

With this:
{foreach $[user.social_network]}
$[user.social_network]$[user.social_network.comma]
{/foreach}

That should put a comma after each one

tunescool

tunescool Avatar

****
Senior Member

267


August 2006
thanks chris ;D
Forum By Tunes/A General Forum - Movie Preview Site - Self Improvement Blog
Pregnancy Blog - SEO Nook - Social Media/Backlinks/Content/SEO Packages

Chris

Chris Avatar

******
Head Coder

19,519


June 2005


No problem. :)

Stinky666

Stinky666 Avatar

****
Senior Member

422


December 2009
Is it possible, instead of adding ALL into the mini profile, you choose which to display?
I mean as an admin. I want, for example: Skype, MSN, AIM + Facebook, Twitter, YouTube

I don't want the other 4. I might only use 2 of each of the above and not 3 (msn + aim, and facebook + twitter).



Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Stinky666 Avatar
Is it possible, instead of adding ALL into the mini profile, you choose which to display?
I mean as an admin. I want, for example: Skype, MSN, AIM + Facebook, Twitter, YouTube

I don't want the other 4. I might only use 2 of each of the above and not 3 (msn + aim, and facebook + twitter).



It becomes an ugly series of if-else statements actually....

newBookmarkLockedFalling