Webmastersite.net
Register Log In

Avatars
Default Image

Comments on Avatars

sportrow
Member

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa

Total Topics: 20
Total Comments: 43
Posted Jan 05, 2008 - 4:28 PM:

Yo-

I am interested in having a default avatar showing for users when they register. Any thoughts on how to best add that? Thanks Cory
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 07, 2008 - 9:25 AM:

<IF {MEMBERSHOWAVATAR}>
<img src="{MEMBERAVATARURL}" alt="avatar" />
<ELSE>
<img src="default avatar url" alt="avatar" />
</IF>
sportrow
Member

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa

Total Topics: 20
Total Comments: 43
Posted Jan 07, 2008 - 10:03 AM:

Perfect- Thanks
sportrow
Member

Usergroup: Customer
Joined: Feb 14, 2005
Location: Iowa

Total Topics: 20
Total Comments: 43
Posted Jan 10, 2008 - 10:29 PM:

<IF {MEMBERSHOWAVATAR}>
<img src="{MEMBERAVATARURL}" alt="avatar" />
<OTHERWISE>
<img src="default avatar url" alt="avatar" />
</IF>

Hey Paul-

I could only get this to work- any worries for not having

<IF {MEMBERAVATARURLBOOL}> </IF>

Thanks
Cory
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 11, 2008 - 12:08 PM:

I see {MEMBERSHOWAVATAR} actually checks that the file exists, so no need for the other check, will edit my previous post to use your simpler version.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.