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.

How can I center few things at user posts windows (like emblem, reputation etc.) ?

View previous topic View next topic Go down

Solved How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by ave20 on May 7th 2011, 4:25 pm

Hi,

1. Is there any way to center some parts of user post window ? I mean this:
- http://i54.tinypic.com/14dpu0x.png
to maybe look like this:
- http://i56.tinypic.com/6945et.png

2. I have used the *.PNG format file for my emblem, and as You can see the transparent parts of the emblem became black :/ Is there any way to add support for *.PNG files to make them work with embles ?

3. Iam from Poland, so I'am using the polish language for Admins panel. But, is there anyway to change the language of the forum (from polish) to ENG without changint it in Admins planel ? I mean, forum with ENG, Admin planel still with PL ?

Thats all for now. Nera., can You help me once again, please ? kiss


Last edited by ave20 on May 8th 2011, 6:03 pm; edited 1 time in total

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by lisa1302 on May 7th 2011, 5:40 pm

1. As far as I know you can only align the whole of the mini profile, this is what I added to css to get it all central .. it looks good all central!

.poster-profile {
text-align: center;
}

2. PNG do actually work fine as avatars... you must have not uploaded/saved it correctly! Sometimes if you upload them directly them get the black bits.

What I do is save them on my computer as png, then open in photoshop, you don't have to do anything, but resave as a PNG, then upload to servimg...if it shows correctly on the preview on serving then using the direct code it will work fine as an avatar. If it shows black bits in the preview on servimg then its not correct.

3. Sorry no idea!

lisa1302
Forumember

Female Posts : 305
Reputation : 40
Language : Enlish
Location : UK

http://www.babiesandall.com

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by ave20 on May 7th 2011, 5:51 pm

1 Really ? :/ There is no other ? I dont need to central all things...
2. Strange - *.PNG is *.PNG...There is no philosophy in this - when I'am uploading *.PNG file from my "Profile/Emblem/Upload emblem from computer" then I get those black parts. But what You are trying to say is that I should upload my *.PNG to the external host and then link it on my Profile/Emblem, or waht ? I know how to work with PS, but the way my *.PNG works with forumotion is ... * [Solved - I had setup 140x140 max emblem size and I was trying to upload 150x150 (*.PNG) emblem - picture got automatycly resized, and cempressed to *.JPG ]
3. Damn it :/

Maybe anyone esle please ? :/

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by Base on May 7th 2011, 7:54 pm

What is your forum version? As for the language setting, please try going to:

1. Administration Panel (advanced mode)
2. General Tab
3. Configuration (on the left, under Forum)
4. Select "Default Language : English"

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by Nera. on May 7th 2011, 11:16 pm

Hi Ave ,)
What do you want to center? Only your name, avatar and rank under it?

For rank & avatar go to display - viewtopic_body template and add things I underlined here

~ removed, pasting error ~

For username try adding this to CSS or edit your selector
Code:
.pun .user-ident .username {
position: relative;
top: -8px;
}


Last edited by Nera. on May 8th 2011, 11:30 am; edited 1 time in total

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by ave20 on May 7th 2011, 11:31 pm

@ Base:
1. My forum version is PunBB
2. About changing language: it seems to doesnt work - I still have all features with PL :/ Just like it was...

@ Nera.
My dear, non of Yours codes worked like it should :/

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by Nera. on May 7th 2011, 11:34 pm

They work fine on my forum ,)
Did you publish your template on the green cross? Not only save it?


Sorry Ave, just saw now, something's eating the codes I paste here Laughing
Rolling Eyes

I'll edit the post and try to post the right one.

Edit: Undo if you did the first changes, the code wasn't good. Press the red cross to undo. Than...
Find this in view topic body template and add what I underlined. Save your template and press the green cross to publish.


<h4 class="username" align="center">{postrow.displayed.POSTER_NAME}</h4>
<div class="user-basic-info" align="center">
{postrow.displayed.POSTER_AVATAR}



Than add the CSS part.

You should get this, done on punBB http://i.imm.io/5uO3.png

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by ave20 on May 8th 2011, 2:02 am

@Nera. wrote:[strike]They work fine on my forum ,)
You should get this, done on punBB http://i.imm.io/5uO3.png
Laughing I--L-O-V-E--Y-O-U ^^
http://i53.tinypic.com/2rqg7tc.png kiss

But...You know I'am a stupid perfectionist, so...I have next 2 questions (Sorry ! I really want to make my forum look as the best as it can be).
1. This is the bottom part of my forum (where users can find the disriptions for the forum icons). I would like to change this:
- http://i55.tinypic.com/mhzy4o.jpg
To this:
- http://i56.tinypic.com/20gd6ky.png

And I have the same problem with treads icons ( like: new tread, no replay, closed tread) - I would like to center the font to the icons. Is there any way to do that (for the main site and the tread site) ?

Thx you Nora. I really dont know what to say for Your help...

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by Nera. on May 8th 2011, 10:16 am

I always make it a little complicated I know Confused
For the icons on your main index, go to index_body template and find this + add the things I underlined
Spoiler:
<img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />& n b s p;<span class="tekst">{L_NEW_POSTS}</span>
<img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />& n b s p;<span class="tekst">{L_NO_NEW_POSTS}</span>
<img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />& n b s p;<span class="tekst">{L_FORUM_LOCKED}</span>

Than add this in CSS
Code:
.tekst {
    bottom: 6px;
    position: relative;
}


For those in forums go to viewforum_body template and add underlined, save and publish at the end.
Spoiler:
<ul class="pun-legend">
<li><img src="{FOLDER_NEW_IMG}" alt="{L_FOLDER_NEW_IMG}" />& n b s p;<span class="malene">{L_FOLDER_NEW_IMG}</span></li>
<li><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_FOLDER_HOT_NEW_IMG}" />& n b s p;<span class="malene">{L_FOLDER_HOT_NEW_IMG}</span></li>
<li><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_FOLDER_LOCKED_NEW_IMG}" />& n b s p;<span class="malene">{L_FOLDER_LOCKED_NEW_IMG}</span></li>
</ul>
<ul class="pun-legend">
<li><img src="{FOLDER_IMG}" alt="{L_FOLDER_IMG}" />& n b s p;<span class="malene">{L_FOLDER_IMG}</span></li>
<li><img src="{FOLDER_HOT_IMG}" alt="{L_FOLDER_HOT_IMG}" />& n b s p;<span class="malene">{L_FOLDER_HOT_IMG}</span></li>
<li><img src="{FOLDER_LOCKED_IMG}" alt="{L_FOLDER_LOCKED_IMG}" />& n b s p;<span class="malene">{L_FOLDER_LOCKED_IMG}</span></li>
</ul>
<ul class="pun-legend">
<li><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_FOLDER_ANNOUNCE_IMG}" />& n b s p;<span class="malene">{L_FOLDER_ANNOUNCE_IMG}</span></li>
<li><img src="{FOLDER_STICKY_IMG}" alt="{L_FOLDER_STICKY_IMG}" />& n b s p;<span class="malene">{L_FOLDER_STICKY_IMG}</span></li>
<li><img src="{FOLDER_GLOBAL_ANNOUNCE_IMG}" alt="{L_FOLDER_GLOBAL_ANNOUNCE_IMG}" />& n b s p;<span class="malene">{L_FOLDER_GLOBAL_ANNOUNCE_IMG}</span></li>
</ul>

Than CSS
Code:
.malene {
position: relative;
bottom: 6px;
}

You can change the bottom margin.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by ave20 on May 8th 2011, 1:47 pm

Nera., but the "Spoiler:" is clean...I can not see any code so I can not find it inside the index_body template :/ Can You past the code once again please ? Thak You :*

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by Nera. on May 8th 2011, 1:58 pm

I always make it a little complicated I know Confused
For the icons on your main index, go to index_body template and find this + add the things I underlined
<img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />& n b s p;<span class="tekst">{L_NEW_POSTS}</span>
<img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />& n b s p;<span class="tekst">{L_NO_NEW_POSTS}</span>
<img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />& n b s p;<span class="tekst">{L_FORUM_LOCKED}</span>

Than add this in CSS
Code:
.tekst {
    bottom: 6px;
    position: relative;
}


For those in forums go to viewforum_body template and add underlined, save and publish at the end.
<ul class="pun-legend">
<li><img src="{FOLDER_NEW_IMG}" alt="{L_FOLDER_NEW_IMG}" />& n b s p;<span class="malene">{L_FOLDER_NEW_IMG}</span></li>
<li><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_FOLDER_HOT_NEW_IMG}" />& n b s p;<span class="malene">{L_FOLDER_HOT_NEW_IMG}</span></li>
<li><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_FOLDER_LOCKED_NEW_IMG}" />& n b s p;<span class="malene">{L_FOLDER_LOCKED_NEW_IMG}</span></li>
</ul>
<ul class="pun-legend">
<li><img src="{FOLDER_IMG}" alt="{L_FOLDER_IMG}" />& n b s p;<span class="malene">{L_FOLDER_IMG}</span></li>
<li><img src="{FOLDER_HOT_IMG}" alt="{L_FOLDER_HOT_IMG}" />& n b s p;<span class="malene">{L_FOLDER_HOT_IMG}</span></li>
<li><img src="{FOLDER_LOCKED_IMG}" alt="{L_FOLDER_LOCKED_IMG}" />& n b s p;<span class="malene">{L_FOLDER_LOCKED_IMG}</span></li>
</ul>
<ul class="pun-legend">
<li><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_FOLDER_ANNOUNCE_IMG}" />& n b s p;<span class="malene">{L_FOLDER_ANNOUNCE_IMG}</span></li>
<li><img src="{FOLDER_STICKY_IMG}" alt="{L_FOLDER_STICKY_IMG}" />& n b s p;<span class="malene">{L_FOLDER_STICKY_IMG}</span></li>
<li><img src="{FOLDER_GLOBAL_ANNOUNCE_IMG}" alt="{L_FOLDER_GLOBAL_ANNOUNCE_IMG}" />& n b s p;<span class="malene">{L_FOLDER_GLOBAL_ANNOUNCE_IMG}</span></li>
</ul>

Than CSS
Code:
.malene {
position: relative;
bottom: 6px;
}

You can change the bottom margin.

Here you go, I have hard time browsing this forum for some reason, and pasting :S
I see it in first post :S
http://i.imm.io/5vfk.png

Edit: I have to go, hope you'll make it. Tried it on punBB, works ,)

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by ave20 on May 8th 2011, 6:00 pm

Oce again, huge than You ! Its working like a charm ^^
@Nera. wrote:
Here you go, I have hard time browsing this forum for some reason, and pasting :S
I see it in first post :S
http://i.imm.io/5vfk.png
Well, I see Your post like this: http://i56.tinypic.com/2qb7wn4.png I dont know why...

kiss

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: How can I center few things at user posts windows (like emblem, reputation etc.) ?

Post by MrMario on May 8th 2011, 6:48 pm

Solved => Locked

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.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