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.

Profile Fields above Avatar phpBB3

View previous topic View next topic Go down

Solved Profile Fields above Avatar phpBB3

Post by JonnyCode on June 5th 2013, 1:51 am

Hiya! Me again!

I've got another question. I know it is impossible for phpBB3 to put the rank images above the avatar, but how about profile fields?

I've included a picture of my issue.



These two images below the avatar are actually profile fields. Is there a way I can put these underneath the username, but above the avatar? Another example would be putting the post count above the avatar.

Any help would be great!


Last edited by JonnyCode on June 5th 2013, 2:03 pm; edited 1 time in total

JonnyCode
Forumember

Male Posts : 34
Reputation : 2
Language : English

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by Sir. Mayo on June 5th 2013, 3:20 am

Nope, It can not be done because it has to be done via Template editing, I could be wrong buts most likely the answer is no.

Sir. Mayo
Forumember

Male Posts : 963
Reputation : 85
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode on June 5th 2013, 3:35 am

I was able to get the username above the avatar, which was below it. I should be able to get something like post count above it as well. Right?

JonnyCode
Forumember

Male Posts : 34
Reputation : 2
Language : English

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by Sir. Mayo on June 5th 2013, 3:37 am

Well then yes what did you do to get the user name above the avatar??

Sir. Mayo
Forumember

Male Posts : 963
Reputation : 85
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode on June 5th 2013, 3:38 am

I put this as a javascript code for all pages. I found it somewhere in this forum.
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();
    });
    });

JonnyCode
Forumember

Male Posts : 34
Reputation : 2
Language : English

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by Sir. Mayo on June 5th 2013, 3:41 am

The forum is Phbb3 correct? also what is the address of the forum

Sir. Mayo
Forumember

Male Posts : 963
Reputation : 85
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode on June 5th 2013, 3:41 am


JonnyCode
Forumember

Male Posts : 34
Reputation : 2
Language : English

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by SLGray on June 5th 2013, 4:00 am

I believe because all profile fields have the same selectors, you will not be able to move just one or two of them.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35675
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode on June 5th 2013, 4:23 am

How would I move all of them then? I'm fine with that.

JonnyCode
Forumember

Male Posts : 34
Reputation : 2
Language : English

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by Sir. Mayo on June 5th 2013, 4:23 am

Try adding this to your CSS you may need TO play around with the numbers a little bit but give it a try.
IT WILL MOVE ALL OF THEM
Code:

.postprofile dt{
position: absolute !important;
top: 222px;
left: -8px;
}
The one code will do they were both the same.




@SLGray wrote:I believe because all profile fields have the same selectors, you will not be able to move just one or two of them.

And yes gary thats what i ran into when i play around with it

Sir. Mayo
Forumember

Male Posts : 963
Reputation : 85
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode on June 5th 2013, 5:04 am

Hmm, when I add that to my CSS, you can see what happens by visiting this link:
http://nindochronicles.forumotion.com/t1-site-construction#24
I'm not too sure how to describe it. I'm playing with the numbers right now.

EDIT: I've decided to leave it below the avatar, thank you for you time and for helping.

JonnyCode
Forumember

Male Posts : 34
Reputation : 2
Language : English

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by Sir. Mayo on June 5th 2013, 5:50 pm

Yep so what happened? LOL i just now saw the posts, It might have off centered it and stuff, it was set to match/look good on my theme, lol happy to help.

Sir. Mayo
Forumember

Male Posts : 963
Reputation : 85
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by Sir Chivas™ on June 5th 2013, 6:20 pm

Topic Solved & Locked



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

View previous topic View next topic Back to top


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