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.

name in border

View previous topic View next topic Go down

In progress name in border

Post by Builderbox on October 1st 2015, 4:43 pm

How can i add Posts,Birthday,Jon date and the rest in border like here :
avatar
Builderbox
Forumember

Male Posts : 149
Reputation : 1
Language : English

http://pwnyswtor.rpdforum.com/

Back to top Go down

In progress Re: name in border

Post by Builderbox on October 1st 2015, 8:40 pm

bump!
avatar
Builderbox
Forumember

Male Posts : 149
Reputation : 1
Language : English

http://pwnyswtor.rpdforum.com/

Back to top Go down

In progress Re: name in border

Post by SLGray on October 2nd 2015, 12:06 am

Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!



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

avatar
SLGray
Administrator
Administrator

Male Posts : 38459
Reputation : 2587
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: name in border

Post by Ange Tuteur on October 2nd 2015, 9:24 pm

Hi @Builderbox,

Do you want this in the post profile, or the profile page ?
avatar
Ange Tuteur
Forumaster

Male Posts : 13120
Reputation : 2805
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: name in border

Post by Builderbox on October 4th 2015, 1:30 pm

post
avatar
Builderbox
Forumember

Male Posts : 149
Reputation : 1
Language : English

http://pwnyswtor.rpdforum.com/

Back to top Go down

In progress Re: name in border

Post by Ange Tuteur on October 4th 2015, 4:27 pm

Okay, go to Display > Templates > General and open the template viewtopic_body. Edit

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

Replace by :
Code:
                     <!-- BEGIN profile_field -->
                                                  <div class="profile-field">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>
                     <!-- END profile_field -->

Save and publish. Add


Then go to Display > Colors > CSS stylesheet and add the following rules to your stylesheet :
Code:
.profile-field {
  background:#EEE;
  border:1px solid #CCC;
  border-radius:3px;
  margin:3px 0;
  padding:3px;
}

You can change the colors ( EEE, CCC ) if you want. Smile
avatar
Ange Tuteur
Forumaster

Male Posts : 13120
Reputation : 2805
Language : EN10, FR5
Location : Pennsylvania

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