PDA

View Full Version : Default Avatar


Mijae
03-28-2004, 07:52 PM
I can't seem to find a default avatar hack for vB3 :-\

Is there one? I want all users who register to automatically get an avatar.

Datenpapst
03-29-2004, 10:47 AM
I can't seem to find a default avatar hack for vB3 :-\

Is there one? I want all users who register to automatically get an avatar.
What do you mean by default Avatar?

OGT
03-29-2004, 01:58 PM
I think he means that when a user registers, it assigns them an avatar by default, most sites that have it have an avatar with the text "no avatar selected" on it. It helps to encourage people to use avatars, and also makes the board more uniform.

Zachery
03-29-2004, 02:06 PM
Possibly by both hacking and template mods :)

Mijae
03-29-2004, 09:02 PM
I think he means that when a user registers, it assigns them an avatar by default, most sites that have it have an avatar with the text "no avatar selected" on it. It helps to encourage people to use avatars, and also makes the board more uniform.
Exactly, can't seem to find it :-\

Boofo
03-29-2004, 09:15 PM
You can do that by conditionals wherever the avatar shows up now. I had it done like that on my site, but there are some members that get offended when you start forcing things on them that they don't want, so I removed the conditionals for it. Of course, you will have to supply the default avatar as there isn't one, that I know of, included with vB2 or vb3.

Diva
03-29-2004, 10:01 PM
I'd love to see a hack like that. Do you have that hack lying around somewhere?

Boofo
03-29-2004, 10:02 PM
No, but it wouldn't take to much to put the code together. ;)

OGT
03-29-2004, 10:02 PM
There isn't a more uniform way to do it other than a bunch of conditionals? I think there are like 4-5 areas that could potentially show the avatar, maybe more, especially if you use other hacks. What would be the best way to do this higher up in the code so to say, so that you change it in one spot, and it rolls out to all of the different places?

Diva
03-29-2004, 11:49 PM
No, but it wouldn't take to much to put the code together. ;)

Will a $20 do? :p

Boofo
03-29-2004, 11:56 PM
You can just owe me, how's that? ;)

I'll put the code together and get it to you at the site. ;)

Pixelgrounds
12-19-2004, 11:35 PM
Has anyone managed todo this?

Zachery
12-19-2004, 11:38 PM
find

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>


change too


<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td><else />
<img src="link/to/default/avatar.ext" alt="This is $post[username]'s avatar" /></if>

Iceburg22
01-07-2005, 10:22 PM
will this work for postbit legacy as well?

b6gm6n
01-07-2005, 11:01 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=60083&highlight=default+avatar" target="_blank">https://vborg.vbsupport.ru/showt...default+avatar</a>