Page 1 of 2

how to adjust the size of pm window

Posted: Fri Sep 21, 2007 10:00 am
by bluej
The following is the basic SRT
Your board's URI:
Version of phpBB3: RC5
Was this a fresh install or a(n) update/upgrade/conversion (please be specific)? fresh
Was this an install through your host? yes
MODs you have installed: living avatars
When the problem started: when increasing the size of living avatars

Additionally, you may wish to provide the following (where applicable)
Template(s) used: prosilver
Language(s) used: english
Version of PHP used:
Database and version used:

i have living avatars installed on my forum and have the avatar size set to 200x200, the problem is when you get a pm the avatar sits a little over the first part of the pm type...

how can i make the size of the pm post box a little narrower to accomodate the size of the avatar?

any help would be appreciated

Re: how to adjust the size of pm window

Posted: Fri Sep 21, 2007 10:04 am
by dark/Rain
Do you have a screenshot? (Would be helpful ;) )

Re: how to adjust the size of pm window

Posted: Fri Sep 21, 2007 10:21 am
by bluej
dark/Rain wrote:Do you have a screenshot? (Would be helpful ;) )
Image

Re: how to adjust the size of pm window

Posted: Fri Sep 21, 2007 4:55 pm
by bluej
anyone? :D

Re: how to adjust the size of pm window

Posted: Sat Sep 22, 2007 6:07 am
by bluej
with all of the brilliant modders here i thought this would be an easy one ... :D

can anyone point me to where i might be able to get a way to fix this? please :)

Re: how to adjust the size of pm window

Posted: Sat Sep 22, 2007 9:08 pm
by dark/Rain
Hm... where did you get the mod from?

Re: how to adjust the size of pm window

Posted: Sat Sep 22, 2007 9:19 pm
by bluej
dark/Rain wrote:Hm... where did you get the mod from?
http://www.livingavatars.com/forum/index.php

would like to know how to adjust the margin in the pm message box, that the avatar does not cover the message :?

Re: how to adjust the size of pm window

Posted: Sat Sep 22, 2007 9:34 pm
by dark/Rain
Could you post the source code of the page the avatar is added to? (Remove/change private data if needed...)

Re: how to adjust the size of pm window

Posted: Sat Sep 22, 2007 10:35 pm
by bluej
dark/Rain wrote:Could you post the source code of the page the avatar is added to? (Remove/change private data if needed...)
how do i do that? :D

Re: how to adjust the size of pm window

Posted: Sat Sep 22, 2007 10:52 pm
by dark/Rain
View the page containing the avatar (i.e. the one you took the screenshot of), then right click and select "View source"/"View page source" or something similar.

Re: how to adjust the size of pm window

Posted: Sun Sep 23, 2007 12:25 am
by bluej
dark/Rain wrote:View the page containing the avatar (i.e. the one you took the screenshot of), then right click and select "View source"/"View page source" or something similar.
ok, do you need the whole code? or just this ucp [1]

Re: how to adjust the size of pm window

Posted: Sun Sep 23, 2007 2:46 pm
by dark/Rain
The <div id="cp-main" class="ucp-main"> and its contents from the ucp page where the avatar is displayed should be enough (at least for the beginning).

Re: how to adjust the size of pm window

Posted: Sun Sep 23, 2007 8:40 pm
by bluej
:D

Re: how to adjust the size of pm window

Posted: Sun Sep 23, 2007 9:34 pm
by dark/Rain
First:
Please use the code BBCode next time when you post some code - that saves space ;)
You can delete the code from your post above again, especially since there seems to be a bit of private infomation left in there...

Then try the following:
At the bottom of styles/prosilver/theme/content.css add:

Code: Select all

/* Overrides for living avatars */
.postbody {
	width: 66%;
}

.postprofile {
	width: 32%;
}
Then click "Purge the cache"on the ACP index page and refresh your browser cache.
If it doesn't change anything, try setting "Recompile stale style components:" in ACP -> Load settings to "Yes" for the time being and clean the caches again.

Now let's see if it works... :)

Re: how to adjust the size of pm window

Posted: Sun Sep 23, 2007 10:38 pm
by bluej
Image you are a genius Image

got lot's of room now, could i adjust it a little larger by changing the percentages? what do you think would be good?

thanks so much 8-)

Image