how to adjust the size of pm window

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

how to adjust the size of pm window

Post by bluej » Fri Sep 21, 2007 10:00 am

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

dark/Rain
Registered User
Posts: 584
Joined: Mon Mar 19, 2007 4:50 pm

Re: how to adjust the size of pm window

Post by dark/Rain » Fri Sep 21, 2007 10:04 am

Do you have a screenshot? (Would be helpful ;) )

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Fri Sep 21, 2007 10:21 am

dark/Rain wrote:Do you have a screenshot? (Would be helpful ;) )
Image

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Fri Sep 21, 2007 4:55 pm

anyone? :D

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Sat Sep 22, 2007 6:07 am

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 :)

dark/Rain
Registered User
Posts: 584
Joined: Mon Mar 19, 2007 4:50 pm

Re: how to adjust the size of pm window

Post by dark/Rain » Sat Sep 22, 2007 9:08 pm

Hm... where did you get the mod from?

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Sat Sep 22, 2007 9:19 pm

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 :?

dark/Rain
Registered User
Posts: 584
Joined: Mon Mar 19, 2007 4:50 pm

Re: how to adjust the size of pm window

Post by dark/Rain » Sat Sep 22, 2007 9:34 pm

Could you post the source code of the page the avatar is added to? (Remove/change private data if needed...)

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Sat Sep 22, 2007 10:35 pm

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

dark/Rain
Registered User
Posts: 584
Joined: Mon Mar 19, 2007 4:50 pm

Re: how to adjust the size of pm window

Post by dark/Rain » Sat Sep 22, 2007 10:52 pm

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.

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Sun Sep 23, 2007 12:25 am

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]

dark/Rain
Registered User
Posts: 584
Joined: Mon Mar 19, 2007 4:50 pm

Re: how to adjust the size of pm window

Post by dark/Rain » Sun Sep 23, 2007 2:46 pm

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).

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Sun Sep 23, 2007 8:40 pm

:D
Last edited by bluej on Sun Sep 23, 2007 10:12 pm, edited 1 time in total.

dark/Rain
Registered User
Posts: 584
Joined: Mon Mar 19, 2007 4:50 pm

Re: how to adjust the size of pm window

Post by dark/Rain » Sun Sep 23, 2007 9:34 pm

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... :)

User avatar
bluej
Registered User
Posts: 47
Joined: Tue Sep 11, 2007 8:31 am

Re: how to adjust the size of pm window

Post by bluej » Sun Sep 23, 2007 10:38 pm

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

Locked

Return to “[3.0.x] Support Forum”