The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Custom profile field direct code

View previous topic View next topic Go down

Solved Custom profile field direct code

Post by Nekobake on August 30th 2015, 4:17 pm

woo two questions in a row wow gg to me eHEM

um, is there a way to get the direct code(??)/field(??) thingy of a custom profile field? right now, the closest thing I could find was {postrow.displayed.profile_field.CONTENT} which is the content of ALL the profile fields in the mini profile. i want to have the code for the content of a SPECIFIC custom profile field. i tried using {postrow.displayed.profile_field_id1.CONTENT} (since apparently the field's class thingy is field_id1(??????)) but it didn't work and I am very sad.

any ideas?


Last edited by Nekobake on August 31st 2015, 6:33 pm; edited 1 time in total

Nekobake
New Member

Posts : 16
Reputation : 1
Language : English - Greek
Location : in yo pants

http://nekonogomidampu.forummotion.com/

Back to top Go down

Solved Re: Custom profile field direct code

Post by SLGray on August 30th 2015, 4:20 pm

What are you trying to do to this customized field?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35670
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Custom profile field direct code

Post by Nekobake on August 30th 2015, 4:23 pm

i want it to be a link to a certain topic (different for each member) and i want to customize it sort of like a button link thingy (not just a field name: link name). does this make sense???

eg.

<a href="{postrow.displayed.profile_field.CONTENT}">LINK</a>

but i want the {postrow.displayed.profile_field.CONTENT} to be the code for that certaain field, and not for the content of ALL the profile fields (like it is now).

Nekobake
New Member

Posts : 16
Reputation : 1
Language : English - Greek
Location : in yo pants

http://nekonogomidampu.forummotion.com/

Back to top Go down

Solved Re: Custom profile field direct code

Post by Klemen on August 30th 2015, 4:34 pm

Could you just use the 'Website' profile field for that? Or why not and how the thing you want to add is different?

Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: Custom profile field direct code

Post by Nekobake on August 30th 2015, 4:41 pm

even if i use the website field, i still need the direct code to it because i want to style it separately from the other profile fields.

Nekobake
New Member

Posts : 16
Reputation : 1
Language : English - Greek
Location : in yo pants

http://nekonogomidampu.forummotion.com/

Back to top Go down

Solved Re: Custom profile field direct code

Post by Klemen on August 30th 2015, 4:46 pm

Well, you said you wanted it to be an image link (unless you meant an actual <button>), so you could just replace the image of that under Pictures management.

If you don't want to use the website field, you can also make a new field under AP > Users > Profiles > Contact Fields > Add

Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: Custom profile field direct code

Post by Nekobake on August 30th 2015, 5:06 pm

no i dont want it to be an image (by button i meant button-like). um i really need the direct code of the field for what i want to do. i can't do it otherwise.

to be more exact, I'll show you what I want to do.

CSS

Code:
.mainu {width:150px;height:150px;overflow:hidden;}

.linku {margin:auto;width:80px;background:#f5f5f5;padding:10px;color:#c9c9c9;
}

.texto {padding-top:45px;background:#fff;width:150px;height:150px;margin-top:150px;-webkit-transition-duration:1s;-moz-transition-duration:1s;transition-duration:1s;}

.mainu:hover .texto {margin-top:0px;-webkit-transition-duration:1s;-moz-transition-duration:1s;transition-duration:1s;}

HTML

Code:
<div class="mainu" style="background-image:url('{postrow.displayed.POSTER_AVATAR}');"><div class="texto"><a class="linku" href="{THE DIRECT FIELD CODE IM ASKING FOR}">thing</a></div></div>

I want this to be the end result. IF it's possible.

Nekobake
New Member

Posts : 16
Reputation : 1
Language : English - Greek
Location : in yo pants

http://nekonogomidampu.forummotion.com/

Back to top Go down

Solved Re: Custom profile field direct code

Post by Nekobake on August 31st 2015, 12:04 am

AH NEVERMIND

i ended up making it work somehow. thank you all for replying and all <33

Nekobake
New Member

Posts : 16
Reputation : 1
Language : English - Greek
Location : in yo pants

http://nekonogomidampu.forummotion.com/

Back to top Go down

Solved Re: Custom profile field direct code

Post by APE on August 31st 2015, 10:38 pm

Topic solved and archived





APE
Manager
Manager

Male Posts : 8339
Reputation : 718
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum