Is It Possible To...

Go down

Is It Possible To... Empty Is It Possible To...

Post by Alexander K on April 27th 2008, 7:26 pm

Is it possible to center the posters profile?

For example, here's a post I made on my forum:

Is It Possible To... AnimosityPost

But I want the avatar, the name, the post count, and everything underneath the name/avatar to be centered like this:

Is It Possible To... AlexanderPost

(Both posts were made by me on different sites).

Is there a way to get it centered?
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by zakir321 on April 27th 2008, 11:39 pm

Do you use phpBB2 or 3 on your board? Not sure if that would be possible for phpBB v2...
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

View user profile

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on April 28th 2008, 12:26 am

I'm on a phpBB3 board, but my theme is version phpBB2.
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 3rd 2008, 3:48 am

Alrighty, it's been about a week and this has fallen to the third page.

I need someone to answer this, please!
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by alxz310 on May 3rd 2008, 4:35 am

Very easy if you purchase html editing. You just put <center></center> tags before and after the profile code Smile but other than that... try making a new thing in css as follows:

.poster-profile
position: center;
}

see if that works
avatar
alxz310
Forumember

Posts : 85
Reputation : 0
Language : english

View user profile

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 3rd 2008, 4:37 am

Thank you! Very Happy

Now, do I just go to ACP > Styles > Colors > CSS ?

And do I just paste it in there?

Edit: I tried that and it said this:

Detected error
We have counted a different number of "{" and of "}". It means your CSS risks to be not valid and will not be posted correctly on your forum.

We advise you to reread your code.
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Guest on May 3rd 2008, 4:44 am

that means that there is a problem with the code it-self
avatar
Guest
Guest


Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 3rd 2008, 4:45 am

Is there a way I can fix this?

Please and thank you.
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Guest on May 3rd 2008, 5:08 am

hum, you must find the part in your css that is about profiles. I have no idea which part that is tho. Then you must delete the "}" and then paste in the code that alxz310 supplied.
avatar
Guest
Guest


Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 3rd 2008, 5:10 am

Oh ok. Should I make a test board to do this on?

I have an old site that is dead (i changed the link) so I'll try it on that.

thanks dude Very Happy
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Guest on May 3rd 2008, 5:13 am

yes. When editing css, always use a test forum in case anything goes wrong. If you are in short supply of forums, copy and paste your whole css file into a word processing program (note pad, Microsoft word).

Drag~

P.S. You are welcome
avatar
Guest
Guest


Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 3rd 2008, 5:18 am

THanks once again. Smile

Ok, I tried finding the profile part, but I can't find it...
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Guest on May 3rd 2008, 5:21 am

pm me a copy of your css and I will try to find it before monday.

Drag~
avatar
Guest
Guest


Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 3rd 2008, 5:23 am

Wow, thanks Drag. Very Happy

I'll PM it to you right now. Very Happy
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by zakir321 on May 3rd 2008, 4:24 pm

Sorry that I've lost your thread, but it can sometimes be quite difficult to keep track of all posts. You are allowed to bump your thread once per day therefore. Wink

Anyway, the error above occured because it has been forgotten to type the opening bracket "{". Thus a different amount of "{" and "}" has returned an error message. You can use the following code to center your profile (works on phpBB version 2). Place it in "STyles / Colors / CSS":

.poster-profile, .post .name{display:block;text-align:center}
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

View user profile

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 3rd 2008, 6:31 pm

Wow, thanks Sunny!

And don't worry that you didn't answer my thread for awhile, this is a ginormous site and you have a huge job. Smile

Edit: I did this, and it said "CSS added succesfully" but nothing happened. Sad
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Guest on May 3rd 2008, 8:19 pm

I think that this is more of a code problem now. I suggest that a mod move it to the code support
avatar
Guest
Guest


Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 4th 2008, 10:42 am

It's been quite some time now ....

Bump.
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Guest on May 4th 2008, 4:25 pm

I do not think that there is any other way of doing this unless you get template mamagement.

Sorry!
Drag~
avatar
Guest
Guest


Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by zakir321 on May 4th 2008, 7:25 pm

Well, you are using phpBB version 2, aren't you? Then the code will work, I've now tested it in my testboard, as you can see in this screenshot:

Is It Possible To... 0116

Be sure you copied it exactly, also, if you have already custom CSS in the textbox, place it at the very bottom.
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

View user profile

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Alexander K on May 4th 2008, 11:47 pm

Yes, my admin panel is phpBB3, but my theme is phpBB2 version.

I shall try this again.

Thanks Sunny. Smile

Edit: Woah! It worked!

Thanks so much Sunny_D and drag! Very Happy

Hhhahaha this is sweet. Very Happy

Thank you soooo much.

You can lock this and mark it as solved. Smile

Thank you. Very Happy
Alexander K
Alexander K
Forumember

Male Posts : 83
Reputation : 0
Language : English & French
Location : Canaduh!

View user profile http://www.wearechaotix.com

Back to top Go down

Is It Possible To... Empty Re: Is It Possible To...

Post by Guest on May 5th 2008, 2:14 am

um... your welcome Alex K Razz

Drag~
avatar
Guest
Guest


Back to top Go down

Back to top


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