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.

Name,Rank Display

5 posters

Page 1 of 2 1, 2  Next

Go down

Solved Name,Rank Display

Post by Question3r September 17th 2010, 8:41 am

can you teach me of how to make my name display like this http://www.garenamaster.com/garena-f1/garenam4st3r-t2034.htm

The name author is displayed in the center how did he do that??? can you teach me?
and the rank is displayed in the bottom of the avatar. my forum version is phpbb2 this is mines named is displayed in the left and not in the center and the rank displayed in top of the avatar. http://garenax-gaming.darkbb.com/news-announcements-f1/forum-rules-t3.htm


Last edited by Question3r on September 18th 2010, 6:04 am; edited 6 times in total
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by MasterOfKings September 17th 2010, 8:44 am

CSS code (note: may not work as your forum may be different to mine)...

Code:
.postprofile-details postdetails {
text-align:center;
}

-MoK
MasterOfKings
MasterOfKings
Forumember

Male Posts : 89
Reputation : 20
Language : English

Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 17th 2010, 8:46 am

not work
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by MasterOfKings September 17th 2010, 9:43 am

Go to a topic (doesn't matter which), view the page source (right-click, view page source). This will bring up the HTML code behind the page. Look for a member's name within a div class (should be something like postprofile, or profile [something like that]). Once found, go ACP > Display > Colors > CSS > Type in that name and put the code above, so...
Code:
namehere {
text-align:center;
}

If you need further help; give me a link to topic on your forum. I can then find the code required.

-MoK
MasterOfKings
MasterOfKings
Forumember

Male Posts : 89
Reputation : 20
Language : English

Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 17th 2010, 11:03 am

Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by MasterOfKings September 17th 2010, 11:12 am

Code:
.postdetails poster-profile {
text-align:center;
}
Took 10 seconds. Smile

If that doesn't work, try this...
Code:
.name {
text-align:center;
}

-MoK
MasterOfKings
MasterOfKings
Forumember

Male Posts : 89
Reputation : 20
Language : English

Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 17th 2010, 1:04 pm

the 2 is not working again my version of forum is phpbb2
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by MasterOfKings September 17th 2010, 1:14 pm

Perhaps...
Code:
.postdetails poster {
text-align:center;
}
If that doesn't work, then I can't help you (it worked for my forum).

-MoK

EDIT: I put it down wrong.
MasterOfKings
MasterOfKings
Forumember

Male Posts : 89
Reputation : 20
Language : English

Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 17th 2010, 1:23 pm

it didnt work the name is in the left side no change i think its because your forum is invision??
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by MasterOfKings September 17th 2010, 1:47 pm

I assume so; but it shouldn't have any effect, as the HTML code is still the same. Unless phpBB 2 uses CSS differently?

Sorry.

-MoK
MasterOfKings
MasterOfKings
Forumember

Male Posts : 89
Reputation : 20
Language : English

Back to top Go down

Solved Re: Name,Rank Display

Post by StrongHold September 17th 2010, 1:52 pm

Use this code, it should do what you want,

Code:

span.name {
text-align:center !important;
}

Hope this helps
avatar
StrongHold
Forumember

Posts : 104
Reputation : 0
Language : English, HTML, CSS, PHP
Location : Canada

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 17th 2010, 3:32 pm

avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 17th 2010, 4:11 pm

StrongHold wrote:Use this code, it should do what you want,

Code:

span.name {
text-align:center !important;
}

Hope this helps

didnt work still no change like what happened on MOK's code

and thanks for gangstar it worked but i want is the username is centered and on the top not under at the avatar just like showed on the site.


Last edited by Question3r on September 17th 2010, 4:21 pm; edited 1 time in total
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 17th 2010, 4:17 pm

Try this:

[code]
.name {
text-align: center !important;
}
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 17th 2010, 4:32 pm

the code doesent work and some problems with the rank the name is showed under the avatar and not centered nid reply Very Happy
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 17th 2010, 4:41 pm

To center the name from the templates:

ACP - Display - Templates - Viewtopic_body - Find:
Code:

{postrow.displayed.POSTER_NAME}

and replace it with:
Code:

<center>{postrow.displayed.POSTER_NAME}</center>

Save + publish Smile
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 18th 2010, 12:06 am

the last problem ^^ the Name must be on top of the avatar thats all
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 18th 2010, 12:15 am

Cut this from the same place:
Code:

<center>{postrow.displayed.POSTER_NAME}</center>

paste it above:
Code:

{postrow.displayed.POSTER_RANK}

If there is no "<br />" then add it! Very Happy
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 18th 2010, 12:59 am

not worked gangstar but i solved it my selft i cut the code and paste it above the
Code:
{postrow.displayed.POSTER_AVATAR}<br/>
but this happened http://garenax-gaming.darkbb.com/news-announcements-f1/forum-rules-t3.htm its big not liked on the pic.
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 18th 2010, 1:04 am

Aaarh xD: sorry i meant POSER_AVATAR Razz lol.

if there is <strong> & </strong> tags around it, then delete from Smile
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 18th 2010, 1:57 am

i deleted it and nothing happened scratch
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 18th 2010, 1:59 am

Did you published? i can still see them Smile
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 18th 2010, 2:02 am

yes Very Happy
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 18th 2010, 2:03 am

Hmm Very Happy is did you added a code for in the CSS. and is there a code like:
Code:
<font size="XX">

if not let me see the part of your template
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 18th 2010, 2:07 am

i dont see like that this is what in my CSS stylesheet

div#page-footer {
background-image: url('https://2img.net/h/oi50.tinypic.com/2pzzmhl.png');
background-position: bottom center;
background-repeat: no-repeat;
padding: 10px;}


.forumline{
background-color: #000000;
border: 2px #300000 solid;
}
td.row1,td.row3.over:hover {
background-color: #000000;
}
td.row2,td.row1.over:hover {
background-color: #0c0000;
}
td.row3{
background-color: #0c0000;
}
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 18th 2010, 2:08 am

OKay, but i want see the template Smile not all, but the user info part Smile
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 18th 2010, 2:11 am

<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
<center>{postrow.displayed.POSTER_NAME}</center><br/>
{postrow.displayed.POSTER_AVATAR}<br />
<span class="name"><a name="{postrow.displayed.U_POST_ID}"></a>
</span><br />
<span class="postdetails poster-profile">
{postrow.displayed.POSTER_RANK}<br />
{postrow.displayed.RANK_IMAGE}<br />

is this it??
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Solved Re: Name,Rank Display

Post by Guest September 18th 2010, 2:13 am

Yah :7. but i can't see any problem with it, try deleting the center and see if they come small again Smile
avatar
Guest
Guest


Back to top Go down

Solved Re: Name,Rank Display

Post by Dyanamo September 18th 2010, 2:14 am

avatar
Dyanamo
Forumember

Posts : 31
Reputation : 0
Language : English

Back to top Go down

Solved Re: Name,Rank Display

Post by Question3r September 18th 2010, 2:16 am

it just on the left but its big nothing happend and thanks to dyanamo


Last edited by Question3r on September 18th 2010, 2:20 am; edited 2 times in total
Question3r
Question3r
Forumember

Male Posts : 58
Reputation : 1
Language : English

http://garenax-gaming.darkbb.com/forum.htm

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

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