The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change the Image in the Avatar
I am having problems with my avatars using a smaller thumbnail than I'd like, but can't work out how to change that, and having now luck.
So I would like to change the image it serves to the full image, then rescale in CSS, the CSS I already have, but where can I find this part <img src="./core/image.php?userid=1&thumb=1&dateline=1545596618" alt="Admin" title="Admin"> So I can just have it show. <img src="./core/image.php?userid=1" alt="Admin" title="Admin"> |
#2
|
|||
|
|||
Sorted.
Incase anyone is wanting to do this, I edited image.php in the core directory, if you find $table = 'customavatar';, then replace the $filedata_thumb to just say $filedata as I have here, it's not elegant, and I think someone can probably do this better! But it's doing what I wanted now. Code:
else { $table = 'customavatar'; if ($vbulletin->GPC['type'] == 'thumb' OR !empty($vbulletin->GPC['thumb'])) { //$filedata = 'filedata_thumb'; $filedata = 'filedata'; } } |
#3
|
||||
|
||||
Attention... if everyone load up a 1 mb avatar and you viewing a thread of 20 posts the user have to load 20mb to see all avatars. If you have wrong thumb size, change it and then (/admincp/misc.php?do=chooser&) rebuild custom avatar thumbnails should work!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|