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.

Profile Fields above Avatar phpBB3

4 posters

Go down

Solved Profile Fields above Avatar phpBB3

Post by JonnyCode June 5th 2013, 2: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.

Profile Fields above Avatar phpBB3 Sup10

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, 3:03 pm; edited 1 time in total
avatar
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 June 5th 2013, 4: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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode June 5th 2013, 4: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?
avatar
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 June 5th 2013, 4:37 am

Well then yes what did you do to get the user name above the avatar??
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode June 5th 2013, 4: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();
    });
    });
avatar
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 June 5th 2013, 4:41 am

The forum is Phbb3 correct? also what is the address of the forum
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode June 5th 2013, 4:41 am

avatar
JonnyCode
Forumember

Male Posts : 34
Reputation : 2
Language : English

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by SLGray June 5th 2013, 5: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.


Profile Fields above Avatar phpBB3 Slgray10

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

Male Posts : 51547
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

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

How would I move all of them then? I'm fine with that.
avatar
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 June 5th 2013, 5: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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

Post by JonnyCode June 5th 2013, 6: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.
avatar
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 June 5th 2013, 6: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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Profile Fields above Avatar phpBB3

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

Topic Solved & Locked
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Back to top

- Similar topics

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