The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Avatars and image.php Default
Hey i am trying to put latest postings on an external page on my website and i would like to do this with displaying the users avatars in the post. My problem is that users that do not have an avatar, it's displaying just a vbulletin image which can be seen here...
http://ocroom.net/forums/image.php?u= How can i change this image, so that if users do not have an avatar, i can have another image that will fit more better into my website. Or does anybody have a script that will allow you to display posts with avatars on a separate page! I am guessing that vbulletin does not store the images on the server and its all done through this image.php file! Any help would be great! Thanks. |
#2
|
||||
|
||||
You may store images (avatars/attachments/etc) in the file system - it's an option in your admin cp.
As for the avatar, you can probably do a quick condition - if no avatar, then display a different image. Why don't you post that part of your code if you need help (use the php tags or else it is too hard to read). |
#3
|
|||
|
|||
Ohh okay i did not know you could store as images as an option! Did that and this is my code i used to display latest threads with avatars on an external page...
PHP Code:
|
#4
|
||||
|
||||
If possible, you should include vBulletin's global.php and use the available avatar fetching functions (fetch_avatar_url, fetch_avatar_from_userinfo).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|