zofia
New Member
Posts: 10
inherit
220276
0
Jan 27, 2018 0:43:23 GMT -8
zofia
10
April 2015
zofia
|
Post by zofia on Apr 1, 2017 9:51:50 GMT -8
Hello! Something happened with my codes and now I can't solve it out. The text that is now under the profile should be beside it, and the {/if} is quite weird. If I delete it all the content on the side moves under the profile pic, so I don't really know what to do. Really hope some of you guys knows what's wrong. If you need any of the HTML just ask!
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Apr 1, 2017 12:45:02 GMT -8
zofia Either a link to your forum (open to guests) and/or the template is probably necessary before we can help.
|
|
zofia
New Member
Posts: 10
inherit
220276
0
Jan 27, 2018 0:43:23 GMT -8
zofia
10
April 2015
zofia
|
Post by zofia on Apr 2, 2017 0:47:23 GMT -8
Oh I see! Here is the template for the user profile! <div class="container show-user"> <div class="title-bar"> <h1>$[user.name]</h1> </div> <div class="content cap-bottom"> <div class="ui-tabMenu"> <ul class="ui-helper-clearfix"> {foreach $[menu]}<li{if $[menu.active]} class="ui-active"{/if}><a href="$[menu.href]">$[menu.text]</a></li>{/foreach} </ul> </div> <div class="pad-all-double clear"> <div class="float-left"> <div class=float-left"$[miniprofile_class]" style="width:230px;height:400px;margin:0;">
{if $[user.is_member]} <div class="mini-name">$[user]</div> <div class="mini-line" style="background-color:#{if $[user.group]}$[user.group.color]{elseif $[user.rank.color]}$user.rank.color]{else}789965{/if};"></div> <div class="mini-group">{if $[user.group]}$[user.group.name]{else}MEDLEM{/if}</div>
<div class="mini-box"> <div class="mini-hover"> <center> <div style="margin-top:10px;">$[user.avatar]</div> <div class="mini-table"> <div class="mini-tablefield"> {foreach $[user.custom_field]} {if $[user.custom_field.name] == "Ålder"} <span class="$[user.custom_field.content_class]"> $[user.custom_field.value]</span> {/if} {/foreach} år </div> <div class="mini-tablefield"> {if $[user.is_online]} <center><b><strong><font color="green">ONLINE</font></strong></b></center> {else} <center><b><strong><font color="red">OFFLINE</font></strong></b> {/if} </div> <div class="mini-tablefield"> $[user.posts] trådar </div> <div class="mini-tablefield"> {foreach $[user.custom_field]} {if $[user.custom_field.name] == "Stall"} <span class="$[user.custom_field.content_class]"> $[user.custom_field.value]</span> {/if} {/foreach} </div> </div> </center> <center><a href="/conversation/new/$[user.id]">Skicka PM</a></center> </div> <div style="background-color:#e8e8e8;width:220px;height:350px;background-image: url('http://i59.tinypic.com/8yglcy.png'); {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Profilbild"}background-image: url('$[user.mini_custom_field.value]');{/if}{/foreach} background-size: cover;"></div> </div> {else} <div class="mini-name" style="font-weight:bold;">$[user]</div> <div class="mini-line" style="background-color:#f19886;"></div> <div class="mini-group">GÄST</div>
<div style="background-color:#e8e8e8;border:5px solid #202020;backgroundwidth:220px;height:350px;background-image: url('http://i59.tinypic.com/8yglcy.png');"></div> {/if} </div> </div> <div class="float-right controls"> $[options] $[send_message_button] $[edit_profile_button] $[follow_button] $[invite_button] </div> </div> <div class="float-right clear pad-top"> $[content] </div> </div> </div>
|
|
zofia
New Member
Posts: 10
inherit
220276
0
Jan 27, 2018 0:43:23 GMT -8
zofia
10
April 2015
zofia
|
Post by zofia on Apr 2, 2017 7:02:02 GMT -8
Good to know is that if I set the template to default again the {/if} is still there
|
|