Forum Titles. Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Forum Titles.

    avatar
    Guest
    Guest


    In progress Forum Titles.

    Post by Guest October 21st 2014, 9:28 pm

    Hello, I want to know how to get a title under my name, my friends forum has this so if you know the CSS code please help me.


    HERE IS WHAT I NEED TO TRY ADD:  http://prntscr.com/4yeefx


    If you know how to get people to have text under there name like this, please tell me the CSS code, and how do I let them change it via profile settings as well, thanks!


    -Luke


    Wink
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    In progress Re: Forum Titles.

    Post by _Twisted_Mods_ October 21st 2014, 9:39 pm

    thats the rank title theres no way you can set it up so the users can modify it

    but you can add it under the avatar using profile field
    avatar
    Guest
    Guest


    In progress Re: Forum Titles.

    Post by Guest October 21st 2014, 9:41 pm

    _Twisted_Mods_ wrote:thats the rank title theres no way you can set it up so the users can modify it

    but you can add it under the avatar using profile field
    That's okay, but I want to add it just above my avatar.
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1615
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    In progress Re: Forum Titles.

    Post by Ramdaman October 21st 2014, 9:41 pm

    I think it is possible to put it above the avatar, but I'm viewing the viewtopic_body in an attempt to find out.
    avatar
    Guest
    Guest


    In progress Re: Forum Titles.

    Post by Guest October 21st 2014, 9:49 pm

    Ramdaman wrote:I think it is possible to put it above the avatar, but I'm viewing the viewtopic_body in an attempt to find out.
    Thanks Ramdaman! Very Happy
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    In progress Re: Forum Titles.

    Post by _Twisted_Mods_ October 21st 2014, 9:51 pm

    you cant do it in viewtopic_body because the profile details r linked together your only option is putting it below the avatar unless you want to assign the names to the users using the rank
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1615
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    In progress Re: Forum Titles.

    Post by Ramdaman October 21st 2014, 9:51 pm

    I added a div class and a p tag, however its choppy and it doesnt align with the rest of the body. Sorry, but await Ange Tutuer as this is his field of expertise.
    avatar
    Guest
    Guest


    In progress Re: Forum Titles.

    Post by Guest October 21st 2014, 9:53 pm

    Ramdaman wrote:I added a div class and a p tag, however its choppy and it doesnt align with the rest of the body. Sorry, but await Ange Tutuer as this is his field of expertise.
    I shall test it out, how do I use it?
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1615
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    In progress Re: Forum Titles.

    Post by Ramdaman October 21st 2014, 9:57 pm

    It'll be useless to add. Just await the expert. Smile
    avatar
    Guest
    Guest


    In progress Re: Forum Titles.

    Post by Guest October 21st 2014, 9:57 pm

    Okay, I don't think I can add it then lol, thanks for your help anyway! Razz
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    In progress Re: Forum Titles.

    Post by Ange Tuteur October 22nd 2014, 12:11 am

    Hello Luke Spike,

    You can add and create rank titles here : Administration Panel > Users and Groups > Rank Administration


    To have the ranks under the username on punbb, go to Administration Panel > Display > Templates > General > viewtopic_body Edit

    Find :
    Code:
    <div class="user-ident">
     <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
     <div class="user-basic-info">
     {postrow.displayed.POSTER_AVATAR}<br />
     {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
     </div>
     </div>

    Replace by :
    Code:
    <div class="user-ident">
     <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
                                                                    {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
     <div class="user-basic-info">
     {postrow.displayed.POSTER_AVATAR}
     </div>
     </div>

    Save and publish. Add