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

    Forum Titles.

    avatar
    Guest
    Guest


    In progress Forum Titles.

    Post by Guest Tue 21 Oct - 21:28

    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 : 2083
    Reputation : 336
    Language : English
    Location : Ms

    In progress Re: Forum Titles.

    Post by _Twisted_Mods_ Tue 21 Oct - 21:39

    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 Tue 21 Oct - 21:41

    _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 : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    In progress Re: Forum Titles.

    Post by Ramdaman Tue 21 Oct - 21:41

    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 Tue 21 Oct - 21:49

    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 : 2083
    Reputation : 336
    Language : English
    Location : Ms

    In progress Re: Forum Titles.

    Post by _Twisted_Mods_ Tue 21 Oct - 21:51

    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 : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    In progress Re: Forum Titles.

    Post by Ramdaman Tue 21 Oct - 21:51

    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 Tue 21 Oct - 21:53

    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 : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    In progress Re: Forum Titles.

    Post by Ramdaman Tue 21 Oct - 21:57

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


    In progress Re: Forum Titles.

    Post by Guest Tue 21 Oct - 21:57

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


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

    In progress Re: Forum Titles.

    Post by Ange Tuteur Wed 22 Oct - 0:11

    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

      Current date/time is Sun 22 Sep - 20:31