Tay Posted June 26, 2013 Posted June 26, 2013 Oops, I meant we want them on the same line! Any coders out there? Quote
Kendjin Posted June 26, 2013 Posted June 26, 2013 I know the default setting is when you add in each new custom field it defaults to a new line, I'll have a look and see if there is a workaround. Quote
KnightFire Posted June 26, 2013 Posted June 26, 2013 I would've wanted one for http://Hummingbird.me/, but MAL works I guess. Good work Quote
Snowtsuku Posted June 26, 2013 Posted June 26, 2013 Oops, I meant we want them on the same line! Any coders out there? Language? Quote
Tay Posted June 26, 2013 Posted June 26, 2013 Language? Like a lot of these boards, it's a marriage between HTML and CSS. I posted the userinfopane code on the previous page (My link) which specifically codes for the custom profile fields. I thought my logic -- explained there -- was enough to delete the rows. Thanks for your help, guys! If we don't find a fix, I'll just label each row something like: "VN: VNDB" and "Anime: MAL" so it doesn't look so naked. Quote
Zakamutt Posted June 26, 2013 Posted June 26, 2013 Kludge, but what about concatenating the different special fields first instead? Quote
Tay Posted June 26, 2013 Posted June 26, 2013 Kludge.... I didn't like that solution, either, but it was the only thing I could think of. It doesn't work, though, so... yeah. Thus a call for help but what about concatenating the different special fields first instead? I know what 'concatenating' means in normal English, but not in progrogrammer talk. What do you have in mind? Hope I understood what you were trying to say. Thanks for the help, Zakamutt! Quote
Zakamutt Posted June 26, 2013 Posted June 26, 2013 I meant my proposed solution was a kludge, actually. Thing I was suggesting is to grab each special link you want to include and combine them into one variable, then just put it once and stuffs. Concatenating is adding something to an end of another thing, usually in the context of strings (aka "lol" + "wat" = "lolwat"). I'll note that I have like no CSS experience at all and the whole variable syntax and everything is pretty foreign to my C-style eyes, was kinda hard to read but is probably standard for html, css etc. Can't guarantee that I understood anything. Quote
Luch Posted June 26, 2013 Posted June 26, 2013 If you have the links in their own group then you can do something like this: <if test="authorcfields:|:$author['custom_fields'] != """> <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data"> <foreach loop="customFields:$author['custom_fields'][ $group ] as $field"> <if test="$field != ''"> <php> $this->single = ''; if($group == 'links') $this->inline .= $field; else $this->single = $field; </php> <if test="$this->single != ''"> <li>{$this->single}</li> </if> </if> </if> </foreach> </foreach> <if test="$this->inline != ''"> <center>{$this->inline}</center> </if> </if> And have the custom fields look something like this: <span style="padding:5px"><a href="http://www.vndb.org/u{content}/list">VNDB</a></span> Then it should look like this: Quote
Tay Posted July 13, 2013 Posted July 13, 2013 Sorry to resurrect the dead here, but I wanted to gauge how y'all feel about the VNDB and MAL fields. Do you like it as-is, or would you like field titles so it doesn't appear so naked? Ex: Visual Novels: VNDB Anime: MAL Quote
Sparkker Posted July 13, 2013 Posted July 13, 2013 It's fine as it is for the time being, but I think it would be better to change it. It really is somewhat disturbing to see a brimming MAL/VNDB under your profile. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.