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.
The forum of the forums
4 posters

    Custom profile field direct code

    Nekobake
    Nekobake
    New Member


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

    Solved Custom profile field direct code

    Post by Nekobake 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
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Custom profile field direct code

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

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


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

    Solved Re: Custom profile field direct code

    Post by Nekobake 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).
    Klemen
    Klemen
    Forumember


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

    Solved Re: Custom profile field direct code

    Post by Klemen 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?
    Nekobake
    Nekobake
    New Member


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

    Solved Re: Custom profile field direct code

    Post by Nekobake 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.
    Klemen
    Klemen
    Forumember


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

    Solved Re: Custom profile field direct code

    Post by Klemen 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
    Nekobake
    Nekobake
    New Member


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

    Solved Re: Custom profile field direct code

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


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

    Solved Re: Custom profile field direct code

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

    AH NEVERMIND

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


    Male Posts : 19324
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Custom profile field direct code

    Post by Ape August 31st 2015, 10: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

      Current date/time is September 22nd 2024, 11:17 am