|
PreviewThis 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
|
|
|
|
|
|
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. 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.
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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).
|
|
|
|
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....
|
|
|
|