The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
easiest way to...
Ok, there will be customized avatars the users will be able to upload there own. It is saved as there username.gif
Now In the postbit template I would like to be able to display that avatar $userinfo[username].gif when I use this i get a broken link if the user hasn't uploaded there avatar yet. I made it so it would load a transparent gif and stuck the gif into a table as a background but it repeats if it isn't 66x64. So what would be the best way to check if the file exists and display it and if not just display the transparent image and fill where the avatar would be? Thanks |
#2
|
|||
|
|||
Look for the Default Avatar hack.
|
#3
|
||||
|
||||
Try searching next time buddy
Here you go : https://vborg.vbsupport.ru/showthrea...default+avatar Regards - miSt |
#4
|
|||
|
|||
I love when I get reminders to serach for something that won't work for me.
The avatars are stored as the members name. This is not utilizing the vB avatar. That is why my question was pretty specific. I am wondering how I can have the postbit template check to see if the .gif file containing the username exists and if it doesn't display a transparent gif. |
#5
|
||||
|
||||
Make a request in the requests forum
- miSt |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|