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

    Profile Fields above Avatar phpBB3

    avatar
    JonnyCode
    Forumember


    Male Posts : 34
    Reputation : 2
    Language : English

    Solved Profile Fields above Avatar phpBB3

    Post by JonnyCode June 5th 2013, 1:51 am

    Hiya! Me again!

    I've got another question. I know it is impossible for phpBB3 to put the rank images above the avatar, but how about profile fields?

    I've included a picture of my issue.

    Profile Fields above Avatar phpBB3 Sup10

    These two images below the avatar are actually profile fields. Is there a way I can put these underneath the username, but above the avatar? Another example would be putting the post count above the avatar.

    Any help would be great!


    Last edited by JonnyCode on June 5th 2013, 2:03 pm; edited 1 time in total
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Profile Fields above Avatar phpBB3

    Post by Sir. Mayo June 5th 2013, 3:20 am

    Nope, It can not be done because it has to be done via Template editing, I could be wrong buts most likely the answer is no.
    avatar
    JonnyCode
    Forumember


    Male Posts : 34
    Reputation : 2
    Language : English

    Solved Re: Profile Fields above Avatar phpBB3

    Post by JonnyCode June 5th 2013, 3:35 am

    I was able to get the username above the avatar, which was below it. I should be able to get something like post count above it as well. Right?
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Profile Fields above Avatar phpBB3

    Post by Sir. Mayo June 5th 2013, 3:37 am

    Well then yes what did you do to get the user name above the avatar??
    avatar
    JonnyCode
    Forumember


    Male Posts : 34
    Reputation : 2
    Language : English

    Solved Re: Profile Fields above Avatar phpBB3

    Post by JonnyCode June 5th 2013, 3:38 am

    I put this as a javascript code for all pages. I found it somewhere in this forum.
    Code:
    $(function(){
        $('.postprofile dl').each(function(){
        var theBox = $(this).children('dt:first');
        var uNameX = theBox.children('strong').html()+'<br>';
        theBox.children('a').before(uNameX);
        theBox.children('strong').hide();
        });
        });
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Profile Fields above Avatar phpBB3

    Post by Sir. Mayo June 5th 2013, 3:41 am

    The forum is Phbb3 correct? also what is the address of the forum
    avatar
    JonnyCode
    Forumember


    Male Posts : 34
    Reputation : 2
    Language : English

    Solved Re: Profile Fields above Avatar phpBB3

    Post by JonnyCode June 5th 2013, 3:41 am

    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Profile Fields above Avatar phpBB3

    Post by SLGray June 5th 2013, 4:00 am

    I believe because all profile fields have the same selectors, you will not be able to move just one or two of them.



    Profile Fields above Avatar phpBB3 Slgray10

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


    Male Posts : 34
    Reputation : 2
    Language : English

    Solved Re: Profile Fields above Avatar phpBB3

    Post by JonnyCode June 5th 2013, 4:23 am

    How would I move all of them then? I'm fine with that.
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Profile Fields above Avatar phpBB3

    Post by Sir. Mayo June 5th 2013, 4:23 am

    Try adding this to your CSS you may need TO play around with the numbers a little bit but give it a try.
    IT WILL MOVE ALL OF THEM
    Code:

    .postprofile dt{
    position: absolute !important;
    top: 222px;
    left: -8px;
    }
    The one code will do they were both the same.




    SLGray wrote:I believe because all profile fields have the same selectors, you will not be able to move just one or two of them.

    And yes gary thats what i ran into when i play around with it
    avatar
    JonnyCode
    Forumember


    Male Posts : 34
    Reputation : 2
    Language : English

    Solved Re: Profile Fields above Avatar phpBB3

    Post by JonnyCode June 5th 2013, 5:04 am

    Hmm, when I add that to my CSS, you can see what happens by visiting this link:
    http://nindochronicles.forumotion.com/t1-site-construction#24
    I'm not too sure how to describe it. I'm playing with the numbers right now.

    EDIT: I've decided to leave it below the avatar, thank you for you time and for helping.
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    Solved Re: Profile Fields above Avatar phpBB3

    Post by Sir. Mayo June 5th 2013, 5:50 pm

    Yep so what happened? LOL i just now saw the posts, It might have off centered it and stuff, it was set to match/look good on my theme, lol happy to help.
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6980
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: Profile Fields above Avatar phpBB3

    Post by Sir Chivas™ June 5th 2013, 6:20 pm

    Topic Solved & Locked

      Current date/time is September 23rd 2024, 12:27 pm