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.

Two profile fields on one line on Message Profile?

View previous topic View next topic Go down

Solved Two profile fields on one line on Message Profile?

Post by Tattastic on January 21st 2016, 6:14 pm

Hello

I posted a help topic last week and asked for it to be solved, but I have figured out one part of that topic, but thought now I can post a more specific image to go with it it might help rather than just trying to describe it.

I was wondering is there anyway to get 2 profile fields on one line on the message profile?



You will see I have two profile fields on the profile above, one 'class' and the other represented by the light icon (from Destiny). I would like both of these to show on one line of the profile. Is this possible?

Thanks in advance for any help


Last edited by Tattastic on January 21st 2016, 8:58 pm; edited 1 time in total

Tattastic
Forumember

Male Posts : 104
Reputation : 1
Language : English
Location : Middlesbrough, UK

http://www.clan-aom.com

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by brandon_g on January 21st 2016, 6:26 pm

Hello,

Yes this should be possible, however, there is no set and stone direct way to accomplish this. You will need to play around with the profile fields order until you get the desired result Very Happy. You can adjust the order using the green up and down arrows Smile.

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5139
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by Tattastic on January 21st 2016, 6:39 pm

@brandon_g wrote:Hello,

Yes this should be possible, however, there is no set and stone direct way to accomplish this. You will need to play around with the profile fields order until you get the desired result Very Happy. You can adjust the order using the green up and down arrows Smile.

-Brandon

I have tried this and that just moves them below and above each other, rather than just one line. I wasn't sure if there would be some coding or something to achieve this

Tattastic
Forumember

Male Posts : 104
Reputation : 1
Language : English
Location : Middlesbrough, UK

http://www.clan-aom.com

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by 10spetter10 on January 21st 2016, 6:58 pm

You can hide the
Code:
<br />
separator with css but then you need that part accessible. So you need to edit the template 'viewtopic_body'. Search for this code (around row 232):

Code:
<dd>
   <!-- BEGIN profile_field -->
      {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
   <!-- END profile_field -->
   {postrow.displayed.POSTER_RPG}
</dd>

And replace it by:

Code:
<dd class="profile_fields">
   <!-- BEGIN profile_field -->
      <span>{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}</span>{postrow.displayed.profile_field.SEPARATOR}
   <!-- END profile_field -->
   {postrow.displayed.POSTER_RPG}
</dd>

Confirm the modification and add this to your style sheet:

Code:
.profile_fields > br:nth-of-type(2) {
  display: none;
}

10spetter10
Forumember

Posts : 195
Reputation : 81
Language : Dutch

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by Tattastic on January 21st 2016, 7:35 pm

Thanks for the advice I have tried that doesn't seem to have resolved the issue. Both are on the separate lines still.

I have tried adding important to the style sheet as well.

If you want to have a look to see if I have done something incorrect the forum address is www.clan-aom.com

Tattastic
Forumember

Male Posts : 104
Reputation : 1
Language : English
Location : Middlesbrough, UK

http://www.clan-aom.com

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by 10spetter10 on January 21st 2016, 8:16 pm

Are you sure you have confirmed the edit to your template? If not, press the icon.
Else you need to check if you have the default templates forced, you can see this on the top of the page.

10spetter10
Forumember

Posts : 195
Reputation : 81
Language : Dutch

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by Tattastic on January 21st 2016, 8:53 pm

@10spetter10 wrote:Are you sure you have confirmed the edit to your template? If not, press the icon.
Else you need to check if you have the default templates forced, you can see this on the top of the page.

That's done it Cool just say I wanted to add 4 more fields below that one, and them in 2 lines of two (with there being 3 character slots), would that be possible with some addition CSS coding?

So it would look like
Class (1): Hunter *313
Class (2): Warlock *292
Class (3): Titan *290

Tattastic
Forumember

Male Posts : 104
Reputation : 1
Language : English
Location : Middlesbrough, UK

http://www.clan-aom.com

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by Tattastic on January 21st 2016, 8:58 pm

No Worries I have figured that out myself Smile Topic marked as solved

Thanks again @10spetter10

Tattastic
Forumember

Male Posts : 104
Reputation : 1
Language : English
Location : Middlesbrough, UK

http://www.clan-aom.com

Back to top Go down

Solved Re: Two profile fields on one line on Message Profile?

Post by SLGray on January 21st 2016, 10:02 pm

There was an easier way by just playing around with the separator option in the profile field edit page.

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

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