inherit
164980
0
Oct 11, 2012 23:21:29 GMT -8
Tohsaka Rin
Why do men keep falling into my residence? I can collect on the damage insurance, right?
602
March 2011
lunacticinferno
|
Post by Tohsaka Rin on Mar 26, 2013 22:16:41 GMT -8
I am trying to separate some custom fields in the mini-profile of a forum I am testing. I know that the following code is what calls the custom codes into the table to begin with: <span class="$[user.mini_custom_field.content_class]"><b>$[user.mini_custom_field.name]:</b> $[user.mini_custom_field.value]</span> However, it calls all of them and not just one specific one. I need to separate them and put them in different places so how do you do that? [Example]The two custom fields I was testing were "Guild" and "Life Skills". I wanted "Guild" to show up above the member rank (which it does already) but I wanted the field "Life Skills" to appear down where you see the text: Lifeskills go here... not under Guild and user rank.
So how do you assign specific values or spots to them? This is a test so that I can understand how mini-profiles are set up more and can move things around. Thank you.
|
|
inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Mar 27, 2013 2:45:56 GMT -8
tohsaka try this
<span class="$[user.mini_custom_field.content_class]"><br><b>$[user.mini_custom_field.name]:</b><br> $[user.mini_custom_field.value]</span>
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 27, 2013 6:38:58 GMT -8
Tohsaka Rin how did you get offline/online? in your mini Profile iv been looking for this!!!
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Mar 27, 2013 7:07:14 GMT -8
Tohsaka Rin how did you get offline/online? in your mini Profile iv been looking for this!!! Online is already there by default when the person/member is online. On my theme, I have online AND offline, and here it is. Adjust accordingly: {if $[user.is_online]}Currently <font color="#8ccf55">Online</font {else} Currently <font color="#cf5558">Offline</font>{/if}<br />
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 27, 2013 8:43:08 GMT -8
Tohsaka Rin how did you get offline/online? in your mini Profile iv been looking for this!!! Online is already there by default when the person/member is online. On my theme, I have online AND offline, and here it is. Adjust accordingly: {if $[user.is_online]}Currently <font color="#8ccf55">Online</font {else} Currently <font color="#cf5558">Offline</font>{/if}<br /> how come you ALWAYS come to the rescue? rofl thank you
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Mar 27, 2013 10:16:04 GMT -8
Online is already there by default when the person/member is online. On my theme, I have online AND offline, and here it is. Adjust accordingly: {if $[user.is_online]}Currently <font color="#8ccf55">Online</font {else} Currently <font color="#cf5558">Offline</font>{/if}<br /> how come you ALWAYS come to the rescue? rofl thank you Weirdly, if I am not helping, I am in need of help lol. It's bizarre as hell, but.. yeah
|
|
inherit
164980
0
Oct 11, 2012 23:21:29 GMT -8
Tohsaka Rin
Why do men keep falling into my residence? I can collect on the damage insurance, right?
602
March 2011
lunacticinferno
|
Post by Tohsaka Rin on Mar 27, 2013 15:58:33 GMT -8
Oh, no no ?1d??x?. I didn't want to put a break between them for line spacing. I wanted to completely move two separate custom field areas to two separate locations in the mini-profile. More or less the area where it says: User Name Custom Title Guild: Sanguine Moon <This stays hereLife Skills: None < Do not want this hereVice Guild Leader Stars Personal Text Post Count Joined Gender Birthday Lifeskills go here < This is where I want to put the Life Skill area but right now it is showing up under Guild.Online/Offline Warning Bar That is the only part of the mini-profile that I always get stumped on. You can make custom fields but I don't know how you set the values to separate them into different locations. The rest I never have a problem moving around. Thanks~
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Mar 27, 2013 16:10:14 GMT -8
Tohsaka Rin, I unfortunately don't know how to do this either. Hopefully Brian could help us. Also to note, it wasn't me who posted anything to try help you, it was Smudges
|
|
#eb7100
33409
0
1
Nov 23, 2024 16:57:32 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 27, 2013 16:15:58 GMT -8
Tohsaka Rin, can you link me to a post with the mini-profile of a user this is happening to?
|
|
inherit
164980
0
Oct 11, 2012 23:21:29 GMT -8
Tohsaka Rin
Why do men keep falling into my residence? I can collect on the damage insurance, right?
602
March 2011
lunacticinferno
|
Post by Tohsaka Rin on Mar 27, 2013 16:17:09 GMT -8
Since you give a value to the custom profile areas when you give them a name there should be a way to state them as a specific value rather than a generic one. [Here]
|
|
#eb7100
33409
0
1
Nov 23, 2024 16:57:32 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 31, 2013 11:51:54 GMT -8
That's happening because you literally have it right there in the Layout Templates for that area. Add that to the inside of your placeholder you currently have at the bottom, like so:
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Mar 31, 2013 21:26:51 GMT -8
Could this not be achieved by using two {foreach $[user.mini_custom_field]}'s?
The first could have an {if $[user.mini_custom_field.name] == "Guild"}$[user.mini_custom_field.value]{/if}, and the second would alternate "Guild" for "Lifeskills"
Only hypothetical, but thought I'd throw it out there. =]
|
|
inherit
164980
0
Oct 11, 2012 23:21:29 GMT -8
Tohsaka Rin
Why do men keep falling into my residence? I can collect on the damage insurance, right?
602
March 2011
lunacticinferno
|
Post by Tohsaka Rin on Mar 31, 2013 23:10:42 GMT -8
Paul, that is what I was wondering.
I got it!
Mwahahaha, so it /is/ possible!
On to the next issue. I got it all situated now but my current hang-up is this. When users do not have those custom fields selected, how do I make it take out the box?
Right now, for users that have not selected a choice in the custom fields the blank div box still shows up. How do I change it so that the box does not appear unless users selected options within those custom fields?
|
|