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.

resize the profile in the messages in PunBB version

View previous topic View next topic Go down

Solved resize the profile in the messages in PunBB version

Post by Ahmed.K on May 16th 2011, 2:07 pm

hi,
i try to resize the profile in the messages in PunBB version but i think this is bug in this version, do you have idea about this issue ?

Thanks

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Nera. on May 16th 2011, 2:18 pm

It can be done through AP for users that will register.
To resize all avatars on forum (current avatars) do this

Go to templates >> General >> viewtopic_body and find
Code:
{postrow.displayed.POSTER_AVATAR}
replace it with this
Code:
 <div class="avic">{postrow.displayed.POSTER_AVATAR}</div>

Than add this to your CSS
Code:
.avic img {
overflow: hidden;
width: 100px;
height: 100px;}
You can change the size. Bare in mind that if someone had a really big avatar it will look funny resized.
Tried it on PunBB, works.
Have to go now, by Hello
In my opinion PunBB is the best version on FM ,)

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Gangstar15 on May 16th 2011, 2:19 pm

Code:
.user {width:20em;}
did used this?

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Ahmed.K on May 16th 2011, 3:56 pm

@Nera. wrote:It can be done through AP for users that will register.
To resize all avatars on forum (current avatars) do this

Go to templates >> General >> viewtopic_body and find
Code:
{postrow.displayed.POSTER_AVATAR}
replace it with this
Code:
 <div class="avic">{postrow.displayed.POSTER_AVATAR}</div>

Than add this to your CSS
Code:
.avic img {
overflow: hidden;
width: 100px;
height: 100px;}
You can change the size. Bare in mind that if someone had a really big avatar it will look funny resized.
Tried it on PunBB, works.
Have to go now, by Hello
In my opinion PunBB is the best version on FM ,)
This just change the Avatar size not all profile, i want resize the profile in the messages:



@Gangstar15 wrote:
Code:
.user {width:20em;}
did used this?
not works too
I've tried a lot before in this Problem but i can not find any solution, is there another ideas ?

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Gangstar15 on May 16th 2011, 4:02 pm

Hmm.. try this:
Code:
.pun .user {
width: 20em !important;
}

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Ahmed.K on May 16th 2011, 4:08 pm

@Gangstar15 wrote:Hmm.. try this:
Code:
.pun .user {
width: 20em !important;
}
not works too

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Gangstar15 on May 16th 2011, 4:21 pm

Come on.. what is the forum link?

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Ahmed.K on May 16th 2011, 4:53 pm

@Gangstar15 wrote:Come on.. what is the forum link?
forum link
i hope we find solution for PunBB version

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Gangstar15 on May 16th 2011, 5:09 pm

Omg..You are right o.O what happen to me this time. i can't get it to work!
But if you try this:
Code:
.pun .postmain {
margin-left: 20em;
}

this it will change the width... but as u will see the dashed border the bottom not 100% to the left side.

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Ahmed.K on May 16th 2011, 5:15 pm

Does not work properly,


Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Gangstar15 on May 16th 2011, 5:22 pm

Because you changed the code i gave you.
try these codes:
Code:
.pun .post .user {
margin-left: -17em;
}
.pun .postmain {
margin-left: 18em;
}

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Ahmed.K on May 16th 2011, 5:30 pm

still one thing is wrong



Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Gangstar15 on May 16th 2011, 5:32 pm

Code:
.pun .postfoot .user-contact {
margin-left: 20px;
}

change the 20px to 30px or as it fits

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Ahmed.K on May 16th 2011, 5:41 pm

It works very good!



Thank you very much Gangstar15! much appreciated

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Gangstar15 on May 16th 2011, 6:45 pm

Glad i could help Very Happy

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: resize the profile in the messages in PunBB version

Post by Base on May 16th 2011, 7:24 pm

Since this problem has been solved, I will now lock this topic.

>> Locked


Base

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

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