Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (id242, johnH, Mike L, Iann128, JimUK), 37 Guests and 17 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/02/04
Posts: 195
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 2 of 2 < 1 2
Topic Options
#180171 - 03/06/07 05:04 PM Re: Avatars and You - Sizing and the UBB. [Re: Rick]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Sorry i cant help anymore, seems one of those wild ones.
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#180174 - 03/06/07 07:37 PM Re: Avatars and You - Sizing and the UBB. [Re: Rick]
ADWOFF Offline
member
Registered: 06/06/06
Posts: 179
 Originally Posted By: Rick
It's not actually an IE issue, rather it's that the getimagesize() function isn't working properly on the server. I've found no common reason why this works on some servers but not on others.


Well, nuts!

~Sue
adwoff.com
Top
#180175 - 03/06/07 07:43 PM Re: Avatars and You - Sizing and the UBB. [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Sue, edit scripts/showflat.inc.php
Find:
 Code:
			if ( ($Picture) && ($Picture != "http://") && ( ($AVATARS_WITH_POSTS == 1)) ) {
				$picsize = "";
				if ($picwidth && $picheight) {
					$picsize = "width=\"$picwidth\" height=\"$picheight\"";
				}
				else {
					$picsize = "width=\"{$config['AVATAR_MAX_WIDTH']}\" height=\"{$config['AVATAR_MAX_HEIGHT']}\"";
				}
				$postrow[$i]['Picture'] = "<img src=\"$Picture\" alt=\"\" $picsize />";
			}


Replace With:
 Code:
			if ( ($Picture) && ($Picture != "http://") && ( ($AVATARS_WITH_POSTS == 1)) ) {
				$picsize = "";
				if ($picwidth && $picheight) {
					$picsize = "width=\"$picwidth\" height=\"$picheight\"";
				}
				else {
					$picsize = "width=\"{$config['AVATAR_MAX_WIDTH']}\" height=\"{$config['AVATAR_MAX_HEIGHT']}\"";
				}
				$postrow[$i]['Picture'] = "<img src=\"$Picture\" alt=\"\" />";
			}


That will completely ignore any sizes, and all avitars should show "full size" in every browser.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180208 - 03/07/07 11:17 AM Re: Avatars and You - Sizing and the UBB. [Re: Gizmo]
ADWOFF Offline
member
Registered: 06/06/06
Posts: 179
Gizzy!

You are DA BOMB!

Thank you so much! (Picture Sue doing a happy dance over here)

It works!

Thank you, thank you, thank you!

~Sue
adwoff.com
Top
#180233 - 03/07/07 08:11 PM Re: Avatars and You - Sizing and the UBB. [Re: ADWOFF]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
I fix everything for my little Suzieque ;\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180234 - 03/07/07 08:12 PM Re: Avatars and You - Sizing and the UBB. [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
BTW, you'd probably want to update showthreaded.php and the showprofile screens; I'll do a mod for UBBDev sometime.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180247 - 03/08/07 12:44 AM Re: Avatars and You - Sizing and the UBB. [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
I made a short mod at UBBDev here which removes the size restraints of avitars, which was the UBB.C way of doing things.

Inspired by suzieque's request on this thread.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 2 of 2 < 1 2



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image