Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Yuna Scatari Edition (YSE)
Reply
  #1  
Old 28th September 2008, 18:39
poila poila is offline
Member
 
Join Date: Aug 2008
Posts: 12
Question Wtf ??? Huge avatars in torrent comments
What the... i didnt do anythink but now my torrents comments are huge

Click image for larger version

Name:	h4y869mhawirhucad86j.jpg
Views:	45
Size:	130.2 KB
ID:	558

can you tell me how to fix this :(

Last edited by Fynnon; 31st October 2008 at 00:14.
Reply With Quote
  #2  
Old 29th September 2008, 23:27
Tony's Avatar
Tony Tony is offline
Senior Member
 
Join Date: Mar 2008
P2P
Posts: 182
Default
simply check to make sure your not using a pic thats about 200 x 200 for a avatar or just open the torrent details file and look for the section that deals with the avatar and add width="100" or something to make it shrink any avatar to that size :)
Reply With Quote
  #3  
Old 23rd October 2008, 11:35
dezza's Avatar
dezza dezza is offline
Senior Member
 
Join Date: Oct 2008
Posts: 53
Default
Here is an answer you can actually use!

include/functions.php (Line 930)
remove: $avatar_max_height, $avatar_max_width

include/functions.php (Line 980)
remove: height=\"$avatar_max_height\" and width=\"$avatar_max_width\" to line 980!
Reply With Quote
  #4  
Old 31st October 2008, 00:08
djlee's Avatar
djlee djlee is offline
Senior Member
 
Join Date: Mar 2008
Posts: 183
Default
might also be a good idea to implement either a javascript or php validation for the avatars. PHP validation would getimagesize() and check its not too big and javascript would resize if too big on loading .. i prefer the php method but u have to turn off error reporting at all levels .

i have also used phpthumb to do this on one site but i really hate that class
Reply With Quote
Reply

Tags
avatars , comments , huge , torrent , wtf

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disallow Comments sagus TBDev 3 31st December 2015 19:38
how to delete torrent comments stall20080 Torrent Strike 5 15th May 2010 20:07
Manage Avatars in TS SE 5.6 Verix Template Shares 0 21st April 2010 20:58
PM on Comments xxx2008 Free Torrent Source 5 17th January 2010 13:16
comments wMan BT.Manager (phpMyBitTorrent) 0 2nd September 2009 18:32



All times are GMT +2. The time now is 21:27. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.