View Full Version : [Release -Gamma / RC1 / RC2]Default Avatar for users with no avatar :)
Zachery
12 Jan 2004, 02:43
all in the instructions :D
squawell
13 Jan 2004, 02:10
well done Faranth:D:D
How would you show a default avatar for those users who don't have one but still only show any avatars if the user doesn't have the show avatars box checked in their user options?
Zachery
14 Jan 2004, 17:18
i think i removed abit of code to get it working >.< ill take a look into making that option work, personally ive never used it :)
macshrine
14 Jan 2004, 17:32
all in the instructions :Dwhere are we meant to put the avatar.gif?
Zachery
14 Jan 2004, 17:37
avatar.gif is ment to be replaced by whatever you want you can leave it as avatar.gif as long as you have an image called avatar.gif in your root forum directoyr
macshrine
14 Jan 2004, 17:51
i forgot to ask, what template do we edit? it doesnt say
Zachery
14 Jan 2004, 17:52
postbit or postbit_legacy
macshrine
14 Jan 2004, 17:59
it worked, but there is a problem
http://www.macshrine.com/forums/showthread.php?p=2233#post2233
if you look at my site there, the avatarrs are on top. i am using rc2 vb3
Ryan McBain
15 Jan 2004, 09:08
I get this error when I try to add this to the postbit template
The following error occurred when attempting to evaluate this template:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/ryanmcba/public_html/forums/includes/adminfunctions_template.php(2998) : eval()'d code on line 187
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Zachery
15 Jan 2004, 17:34
what version are you running?
Ryan McBain
15 Jan 2004, 18:40
I am using Vb3 Rc2
Zachery
15 Jan 2004, 18:41
>.< weird.
i dont really have a ton of time trying to fix this. make sure you didnt overwrite any other conditions
>.< weird.
i dont really have a ton of time trying to fix this. make sure you didnt overwrite any other conditions
hmm, i just upgraded to rc3. will i have to wait for this to get upgraded too or should it still work?
Zachery
23 Jan 2004, 21:56
i see no reason for it not to work
Okiewan
25 Jan 2004, 07:40
>.< weird.
i dont really have a ton of time trying to fix this. make sure you didnt overwrite any other conditions
The code in RC3 is different.
Zachery
25 Jan 2004, 08:00
actually i dotn see why it wouldnt work , but ill check into it.
i am a coder, and im more than aware things change
btekcan
04 Feb 2004, 21:24
Work correctly on RC3
Great,thanks
Schorsch
14 Feb 2004, 22:54
it doesn't show the default avatar with RC4. it's just as before
Hmm.. All these hacks fail to do what they say. ;)
Sure, they display a placeholder Avatar on the page the code is installed, but what about something that assigns an avatar to user accounts by default.
I need something that starts all new user accounts with a specified default avatar.
Has anyone seen that anywhere?
edit:
Brad had one in 2002...
http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=1707
Guess I should investigate.
Seems like this should already be part of vbulletin.
Nice work.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.