The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
it there a way i can have a defaul image, when a user does not have a avatar uploaded?
|
#2
|
|||
|
|||
just figured this out , in VB 2.0.3 find and change the below in admin/functions.php
if ($post[avatarid]!=0) { $avatarurl=$post[avatarpath]; } else { if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]"; } else { $avatarurl="enter path to default avatar here"; } } |
#4
|
||||
|
||||
doesnt 2.2.0 have this feature?
|
#5
|
||||
|
||||
no...
|
#6
|
|||
|
|||
Could someone help me? I tried to do what that guy said but apparently that didn't wokr.. Anything he didn't mention?
thx |
#7
|
||||
|
||||
By using phpMyAdmin you can use the following query to set all avatars to avatar id1 (my default avatar) and change the default avatar to id1, this is what I did on my board, but it does reset the avatars. Maybe alternatively you can just make the row default avatar id 1.
THIS CODE WILL CHANGE -ALL- AVATARS TO ID 1 Though you will be able to change avs afterwards it will set everyone to the default first. Quote:
|
#8
|
|||
|
|||
what about the way that that one guy said? I'd like to do it like that.. :P
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|