No account yet?
 

Subscriptions

ImageWhen you sign up as a premium subscriber, you get more than access to a host of fantastic features. You become a member of a flourishing community that continuously improves the very projects that run your website. Why not sign up today?

Subscriber Benefits

  • Subscriber only addons and plugins!
  • Latest beta code and SVN builds!
  • Access new versions before anyone else!
  • Premium Priority Support!
  • User Manuals for our components!
Read On!
Pragmatic Utopia
Welcome, Guest
Please or Register.    Lost Password?
Preferred PUArcade Web Host:
PURPS scoreboard CB avatar size (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: PURPS scoreboard CB avatar size
#9350
adroussel (User)
Geek
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
PURPS scoreboard CB avatar size 2 Months, 1 Week ago Karma: 6  
... should be resized to much smaller if possible. It makes lines too big as it is now.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.


#10043
kapearl (User)
Newb Sauce
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:PURPS scoreboard CB avatar size 1 Month, 2 Weeks ago Karma: 0  
I agree! My full size members cb avatars are not all the same size either.. so having them be so large and different sizes is very messy.

Is there a way to do this maybe with css?

Also, I think a link to the members profile (either if using the cb avatar or just their member name) on the scoreboard would be good.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/14 12:48 By kapearl. Reason: more
  The administrator has disabled public write access.
#10333
MindArchr (User)
Newb Sauce
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:PURPS scoreboard CB avatar size 1 Month, 1 Week ago Karma: 0  
I opened up purps.class.php found under /components/com_purps and added 'tn' on line 29 behind images/comprofiler, so that it would read as:

Code:

$retval = $siteurl . "images/comprofiler/tn" . $rows[0]->avatar;
Avatars are much more reasonably sized now. However this only works for members who have uploaded avatars.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#10390
Globe (User)
Newb Sauce
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:PURPS scoreboard CB avatar size 1 Month ago Karma: 1  
Hello,

Very simple :

Open purps.html.php

ligne 106 :
Code:

echo '<td tyle="text-align: center;"><img src="'.purps_functions::getCBAvatar($userdata[$i][0]).'" ></td>';
Change with :
Code:

echo '<td style="text-align: center;"><img src="'.purps_functions::getCBAvatar($userdata[$i][0]).'" height="40" width="40" border="0"></td>';
You can also give a width to the td tag. In that case, 40px seems to be logical :
Code:

echo '<td width="40px" style="text-align: center;"><img src="'.purps_functions::getCBAvatar($userdata[$i][0]).'" height="40" width="40" border="0"></td>';
Enjoy
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/29 03:47 By Globe.
  The administrator has disabled public write access.
#10656
VReyes (User)
Gamer
Posts: 153
graphgraph
User Offline Click here to see the profile of this user
Re:PURPS scoreboard CB avatar size 2 Weeks, 4 Days ago Karma: 1  
Globe wrote:
QUOTE:
Hello,

Very simple :

Open purps.html.php

ligne 106 :
Code:

echo '<td tyle="text-align: center;"><img src="'.purps_functions::getCBAvatar($userdata[$i][0]).'" ></td>';
Change with :
Code:

echo '<td style="text-align: center;"><img src="'.purps_functions::getCBAvatar($userdata[$i][0]).'" height="40" width="40" border="0"></td>';
You can also give a width to the td tag. In that case, 40px seems to be logical :
Code:

echo '<td width="40px" style="text-align: center;"><img src="'.purps_functions::getCBAvatar($userdata[$i][0]).'" height="40" width="40" border="0"></td>';
Enjoy ;)
that works. thank you, VR
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

My Amazon.com Wish List