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
5 posters

    Toggle profile Field

    avatar
    PA
    Forumember


    Posts : 219
    Reputation : 2
    Language : english

    In progress Toggle profile Field

    Post by PA February 16th 2015, 6:07 pm

    Hello guys,

    So I added a profile field on my forum that shows the medals people have earned. However the problem is that this field is stretching the profile information section of the messages.

    Like here, if you see the post made by Elijah Krum, see the profile section of the message, the 'YEAR' field (where I have put the medals for now) is stretching it.

    http://www.pottersarmy.net/t19810-i-would-love-to-get-some-more-threads#398624

    Is there some way I can make this field only show up when someone clicks it?
    SLGray
    SLGray
    Administrator
    Administrator


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

    In progress Re: Toggle profile Field

    Post by SLGray February 16th 2015, 6:39 pm

    Guests can not see what is linked.



    Toggle profile Field Slgray10

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


    Posts : 219
    Reputation : 2
    Language : english

    In progress Re: Toggle profile Field

    Post by PA February 16th 2015, 7:29 pm

    Thanks for pointing that out Sl Gray
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Toggle profile Field

    Post by Ange Tuteur February 17th 2015, 1:45 am

    Hi @PA,

    How does this appear exactly ? From what I see, it looks like this :
    Toggle profile Field Captu120

    I'm getting an error from one of your JavaScripts : "oldhtml is null"

    Does it appear correctly, while logged in ?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    In progress Re: Toggle profile Field

    Post by _Twisted_Mods_ February 17th 2015, 5:17 am

    what browser are you using because looks fine on my side
    avatar
    PA
    Forumember


    Posts : 219
    Reputation : 2
    Language : english

    In progress Re: Toggle profile Field

    Post by PA February 17th 2015, 1:16 pm

    Yeah.. I'll just use a screenshot.

    Toggle profile Field Screen12

    What I basically want to do is to create a profile field called medal, put all the medals in there, and then somehow only show this field when someone clicks on 'medal' or hovers over it. Just tell me any way to shorten it somehow.
    (there are 25 medals overall..)
    avatar
    PA
    Forumember


    Posts : 219
    Reputation : 2
    Language : english

    In progress Re: Toggle profile Field

    Post by PA February 18th 2015, 2:20 am

    Bump!
    avatar
    PA
    Forumember


    Posts : 219
    Reputation : 2
    Language : english

    In progress Re: Toggle profile Field

    Post by PA February 18th 2015, 9:38 pm

    Hey guys, this is basically waht I want to do:
    https://help.forumotion.com/t138420-profile-toggle?highlight=toggle

    But that's for PHBB2. Its not working for me.
    avatar
    PA
    Forumember


    Posts : 219
    Reputation : 2
    Language : english

    In progress Re: Toggle profile Field

    Post by PA February 20th 2015, 6:35 pm

    Can someone help me with this or is it not possible...?
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Toggle profile Field

    Post by Ange Tuteur February 21st 2015, 1:31 am

    Hi, Sorry for the delay.

    See how this looks with CSS :
    Display > Colors > CSS stylesheet
    Code:
    .postprofile dl > dt + dd + dd + dd {
      overflow:hidden;
      max-height:0;
      transition:700ms linear;
    }
    .postprofile:hover dl > dt + dd + dd + dd { max-height:500px }

    When you hover the profile it should extend the profile infos.
    avatar
    Worst Nightmare
    Forumember


    Posts : 107
    Reputation : 2
    Language : English

    In progress Re: Toggle profile Field

    Post by Worst Nightmare February 21st 2015, 3:21 am

    nice helpful tips, i should atleast try that one day

      Current date/time is September 22nd 2024, 5:31 pm