The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
Hey kh99,
Thanks for the very quick response, much appreciated. The second one ( $avauri['hascustom'] = ''; ) worked perfectly; the 1 prior to image.php is now gone, and the avatars are now fetched from the filesystem, and thus, update whenever I - or someone else - update the avatar. The only issue that remains would be the width="" messed up, and extra given parameters as pasted in the code above. Do you recommend I simply get rid of that with a str_replace(), or would there be a more clever and efficient way to that? Once more, thanks a fortune. ![]() |
#12
|
|||
|
|||
![]()
Just looking at the code for fetch_avatar_url() I can't see why that would happen. Maybe try the first way (from my previous post) of just concatenating the 0 and 1 elements and see what that looks like?
|
#13
|
|||
|
|||
![]()
Unfortunately concatenating the elements did not change a bit in regards to that. Here's the current IMG tag (I've removed my manually set width and height from the template; it doesn't appear twice each now, but it is buggy still):
HTML Code:
<img src="image.php?u=1&dateline=1295958757 width=" 120"="" height="68" "="" alt="Test's avatar" title="Test's avatar"/>
|
#14
|
|||
|
|||
![]()
OK, well thanks for trying that anyway. I see now one problem with using implode: the $aviuri[0] part doesn't have quotes around it but the width/height does have its own quotes, so I guess instead of implode you'd need something like:
Code:
$url = "<img src=\"$avruri[0]\" $avruri[1] alt=\"Test's avatar\" title=\"Test's avatar\"/>"; |
#15
|
|||
|
|||
![]()
I've tried as you suggested and the avatar doesn't appear at all now.
PHP Code:
EDIT:, apparently, now this appears as result: PHP Code:
Thanks a fortune, kh99! ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|