The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Forum Titles.

View previous topic View next topic Go down

In progress Forum Titles.

Post by Zuke on 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

Zuke
Forumember

Male Posts : 379
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

In progress Re: Forum Titles.

Post by _Twisted_Mods_ on 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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: Forum Titles.

Post by Zuke on 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.

Zuke
Forumember

Male Posts : 379
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

In progress Re: Forum Titles.

Post by Ramdaman on 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.

Ramdaman
Active Poster

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

http://ndihme.forumotion.com/forum

Back to top Go down

In progress Re: Forum Titles.

Post by Zuke on 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

Zuke
Forumember

Male Posts : 379
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

In progress Re: Forum Titles.

Post by _Twisted_Mods_ on 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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: Forum Titles.

Post by Ramdaman on 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.

Ramdaman
Active Poster

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

http://ndihme.forumotion.com/forum

Back to top Go down

In progress Re: Forum Titles.

Post by Zuke on 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?

Zuke
Forumember

Male Posts : 379
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

In progress Re: Forum Titles.

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

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

Ramdaman
Active Poster

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

http://ndihme.forumotion.com/forum

Back to top Go down

In progress Re: Forum Titles.

Post by Zuke on October 21st 2014, 9:57 pm

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

Zuke
Forumember

Male Posts : 379
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

In progress Re: Forum Titles.

Post by Ange Tuteur on 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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum