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 Template : Custom

View previous topic View next topic Go down

Solved Profile Template : Custom

Post by Bones! on February 15th 2015, 4:05 am

Okay, So i'm going to sound vague... because I honestly have no idea how to explain this... but here I go... I guess...

So the place to edit where someone's profile is displayed (like how it is to the left) is...

ACP > Display > Templates > General OR Profile?
---- And which menu?

So with that... I want to have it so like if you hover over the avatar, it displays some information, like the posts and stuff in that. I'm used to doing this on other forums, and I can't quite test it out on my own forum because of the traffic, nor make a new forum to try it because of the amount of things I run on my forum's Profile.

EX:


Last edited by Kaseki on March 27th 2015, 12:31 am; edited 1 time in total

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on February 15th 2015, 4:49 pm

I guess the first thing I'm trying to do... is put a border code over the entire profile...

Would that be the table code, or what is that?

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by _Twisted_Mods_ on February 15th 2015, 5:44 pm

acp>general>forum>configuration>pages structure

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on February 21st 2015, 9:08 pm

Now say I wanted to put a box around the profile, how do I go about that?

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by _Twisted_Mods_ on February 21st 2015, 9:37 pm

acp>display>color>css tab

add one of the codes below that fits best for what your wanting

Code:
.postprofile{box-shadow:0px 0px 5px #38184A,0px 0px 5px #38184A  }
Code:

.postprofile{box-shadow:0px 0px 5px #38184A inset,0px 0px 5px #38184A inset}

Code:
.postprofile{border:2px solid #38184A}

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on February 24th 2015, 6:29 am

That wasn't what I expected... AWESOME..

But like... if I wanted to edit the font size of how the usernames are displayed, how do I change that?

I apologize if I respond late, or if what I'm asking is too much.

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on March 7th 2015, 11:03 pm

So where would I put a code to center the avatar?

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on March 12th 2015, 8:52 pm

Bump?

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on March 14th 2015, 8:59 am


Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by _Twisted_Mods_ on March 14th 2015, 9:02 am

Code:
.postprofile a[href^="/u"] img{margin-left:auto;margin-right:auto;}

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on March 14th 2015, 11:39 pm

@_Twisted_Mods_ wrote:
Code:
.postprofile a[href^="/u"] img{margin-left:auto;margin-right:auto;}
It's not working...

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on March 23rd 2015, 7:44 pm

Bump?

Is there a way to just edit the profile template?

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

http://www.unknownlandsrp.com/

Back to top Go down

Solved Re: Profile Template : Custom

Post by Ange Tuteur on March 23rd 2015, 10:58 pm

Of course, the postprofile can be found in Display > Templates > General > viewtopic_body

A majority of what you want can be achieved with some CSS, though. Add these rules to your stylesheet :
Code:
.postprofile dt { text-align:center } /* center ava / name */
.postprofile dt strong { font-size:16px } /* name size */

/* profile info hover */
.postprofile dd {
  visibility:hidden;
  opacity:0;
  height:0;
  -webkit-transition:300ms;
    -moz-transition:300ms;
      -o-transition:300ms;
          transition:300ms;
}
.postprofile:hover dd {
  visibility:visible;
  opacity:1;
  height:auto;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Profile Template : Custom

Post by Bones! on March 26th 2015, 3:39 pm

@Ange Tuteur wrote:Of course, the postprofile can be found in Display > Templates > General > viewtopic_body

A majority of what you want can be achieved with some CSS, though. Add these rules to your stylesheet :
Code:
.postprofile dt { text-align:center } /* center ava / name */
.postprofile dt strong { font-size:16px } /* name size */

/* profile info hover */
.postprofile dd {
 visibility:hidden;
 opacity:0;
 height:0;
 -webkit-transition:300ms;
  -moz-transition:300ms;
  -o-transition:300ms;
  transition:300ms;
}
.postprofile:hover dd {
 visibility:visible;
 opacity:1;
 height:auto;
}

That works too, thanks!

(I was trying to use less CSS because I was getting close to maxing it out again.. though it seemed to work this time.)

Bones!
Forumember

Posts : 168
Reputation : 19
Language : English, CCS, HTML
Location : Behind you

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