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.

resize the profile in the messages in PunBB version

4 posters

Go down

Solved resize the profile in the messages in PunBB version

Post by Ahmed.K 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
avatar
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. 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.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

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

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

Code:
.user {width:20em;}
did used this?
Gangstar15
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 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:

resize the profile in the messages in PunBB version 7_bmp12

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 ?
avatar
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 May 16th 2011, 4:02 pm

Hmm.. try this:
Code:
.pun .user {
width: 20em !important;
}
Gangstar15
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 May 16th 2011, 4:08 pm

Gangstar15 wrote:Hmm.. try this:
Code:
.pun .user {
width: 20em !important;
}
not works too
avatar
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 May 16th 2011, 4:21 pm

Come on.. what is the forum link?
Gangstar15
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 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
avatar
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 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
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 May 16th 2011, 5:15 pm

Does not work properly,

resize the profile in the messages in PunBB version 7_bmp13
avatar
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 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
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 May 16th 2011, 5:30 pm

still one thing is wrong

resize the profile in the messages in PunBB version 7_bmp14
avatar
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 May 16th 2011, 5:32 pm

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

change the 20px to 30px or as it fits
Gangstar15
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 May 16th 2011, 5:41 pm

It works very good!

resize the profile in the messages in PunBB version 7_bmp15

Thank you very much Gangstar15! much appreciated
avatar
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 May 16th 2011, 6:45 pm

Glad i could help Very Happy
Gangstar15
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 May 16th 2011, 7:24 pm

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

>> Locked

resize the profile in the messages in PunBB version Topic_lock
Base
Base
Base
Forumaster

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

http://forumotionhub.net

Back to top Go down

Back to top

- Similar topics

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