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.

Centered Profile.

View previous topic View next topic Go down

Solved Centered Profile.

Post by Themistokles on September 13th 2012, 12:55 pm

Hello, once again.

Currently my forum is like that:


And i want to make it like that:


In essence, i need the username above the avatar and everything in the center. My forum is Phpbb3 can i please have some help?

Cheers!


Last edited by Themistokles on September 16th 2012, 12:33 am; edited 1 time in total

Themistokles
New Member

Posts : 12
Reputation : 1
Language : English

http://twhellas.forumotions.info/

Back to top Go down

Solved Re: Centered Profile.

Post by Sir Chivas™ on September 14th 2012, 5:24 am

Hi.

I don't believe there's a code for PhpBB3(I may be wrong). Wondering why? Due to the fact that you'll have to edit the templates, and since PhpBB3 doesn't provide the usage of the Templates you can't. Sorry, Sad



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Centered Profile.

Post by Themistokles on September 14th 2012, 4:31 pm

Sir Chivas™ wrote:Hi.

I don't believe there's a code for PhpBB3(I may be wrong). Wondering why? Due to the fact that you'll have to edit the templates, and since PhpBB3 doesn't provide the usage of the Templates you can't. Sorry, Sad

I am more than sure that this is possible via javascript. Problem is i have no idea from codes etc

I already found a java script on the internet, that allowed me to put the username above the avatar, its this one for anyone interested:

Code:
$(function(){
  $('.postprofile dl').each(function(){
    var theBox = $(this).children('dt:first');
    var uNameX = theBox.children('strong').html()+'<br>';
    theBox.children('a').before(uNameX);
    theBox.children('strong').hide();
  });
});

BUT i still need a java script code that places the name above avatar and places the entire post profile in the middle, just like in my picture. I hope someone will be able to help...

Themistokles
New Member

Posts : 12
Reputation : 1
Language : English

http://twhellas.forumotions.info/

Back to top Go down

Solved Re: Centered Profile.

Post by Jophy on September 21st 2012, 3:55 am

Since this was marked solved...

Topic Solved & Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

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