The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Custom profile field direct code

4 posters

Go down

Solved Custom profile field direct code

Post by Nekobake Sun Aug 30, 2015 9:17 am

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 Mon Aug 31, 2015 11:33 am; edited 1 time in total
Nekobake
Nekobake
New Member

Posts : 17
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 Sun Aug 30, 2015 9:20 am

What are you trying to do to this customized field?


Custom profile field direct code Slgray10

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

Male Posts : 51575
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Custom profile field direct code

Post by Nekobake Sun Aug 30, 2015 9:23 am

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
Nekobake
New Member

Posts : 17
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 Sun Aug 30, 2015 9:34 am

Could you just use the 'Website' profile field for that? Or why not and how the thing you want to add is different?
Klemen
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 Sun Aug 30, 2015 9:41 am

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
Nekobake
New Member

Posts : 17
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 Sun Aug 30, 2015 9:46 am

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
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 Sun Aug 30, 2015 10:06 am

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
Nekobake
New Member

Posts : 17
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 Sun Aug 30, 2015 5:04 pm

AH NEVERMIND

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

Posts : 17
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 Mon Aug 31, 2015 3:38 pm

Topic solved and archived


Custom profile field direct code Left1212Custom profile field direct code Center11Custom profile field direct code Right112
Custom profile field direct code Ape_b110
Custom profile field direct code Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19452
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Back to top

- Similar topics

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