Author |
Topic |
Aznknight
Senior Member
USA
1373 Posts |
Posted - 26 March 2001 : 15:17:48
|
This mod will display all the available avatars provided by forum on one page. The users can see the avatars available and pick the one they want in their profile.
download: pop_avatarlegend
You will need to link to it somewhere. This is where I linked it. In inc_avatar.asp, find this:
</select> </td>
and replace it with
</select><br> <a href="pop_avatarlegend.asp" target="_blank">Avatar Legend</a> </td>
You can use the code, but please do not use avatars from iamviet. This is provided just for demo purposes and you should use your own avatars. Lots are available on the net, you just have to look for them.
- Alan www.iamviet.com
Edited by - aznknight on 26 March 2001 15:20:09
Edited by - aznknight on 08 May 2001 01:39:15 |
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 26 March 2001 : 15:22:09
|
another note.
Richard provided this originally. I just took it and made some layout changes for my site and released it here.
- Alan www.iamviet.com |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 26 March 2001 : 15:27:59
|
Links not working
can you email it to me?
Thanks, Rick
Test Site www.eastpasco.com Running on HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser. |
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 26 March 2001 : 15:31:30
|
rick, my bad I forgot to do "Add to server", so it was just sitting there. the link to the zip should work now.
- Alan www.iamviet.com |
|
|
babygate
Starting Member
32 Posts |
Posted - 27 March 2001 : 05:11:46
|
Hi Alan,
1 question-why do you have this condition in your code at line 71?
strSql = strSql & " WHERE " & strTablePrefix & "AVATAR.A_MEMBER_ID = 0 "
Is it just for your testing? cuz there are no member with the 0 ID, so no avatar will show up on the pop_avatarlegend.asp with it.
BabyGate http://forum.g4systems.net/babygate/ |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 27 March 2001 : 05:21:06
|
All Avatars that you add that aren't assigned to a Member will have a 0 in that field. That line is telling it to show all Avatars that aren't assigned to someone. |
|
|
babygate
Starting Member
32 Posts |
Posted - 27 March 2001 : 05:48:56
|
quote:
All Avatars that you add that aren't assigned to a Member will have a 0 in that field. That line is telling it to show all Avatars that aren't assigned to someone.
Oh..got it..thx Richard.
BabyGate http://forum.g4systems.net/babygate/ |
|
|
obewanz
Starting Member
USA
8 Posts |
Posted - 24 April 2001 : 08:34:16
|
quote:
This mod will display all the available avatars provided by forum on one page. The users can see the avatars available and pick the one they want in their profile.
download: pop_avatarlegend
You will need to link to it somewhere. This is where I linked it. In inc_avatar.asp, find this:
</select> </td>
and replace it with
</select><br> <a href="pop_avatarlegend.asp" target="_blank">Avatar Legend</a> </td>
demo: http://www.iamviet.com/forum/pop_avatarlegend.asp
You can use the code, but please do not use avatars from iamviet. This is provided just for demo purposes and you should use your own avatars. Lots are available on the net, you just have to look for them.
- Alan www.iamviet.com
Edited by - aznknight on 26 March 2001 15:20:09
First of all, this is actually a very useful Mod for the forum users who don't really understand what an Avatar is. (Good Job to the Author!) At least it gives them an idea of what they can choose.
Anyway, I made a few little tweeks to this Mod so I thought that I would include them here. The first one makes the link to the legend look like the rest of the link code in the profile page.
The link to pop_avatarlegend.asp was implemented as follows:
====================================== Find in inc_avatar.asp: -------------------------------------- </select> </td> -------------------------------------- Replace With: --------------------------------------
</select> <br><center><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><a href="pop_avatarlegend.asp" target="_blank">Avatar Legend</a></font></center></td> ======================================
And you might also want to make the following changes for the avatars to be displayed in the same size as what the user will see inside the forum.
====================================== Find in pop_avatarlegend.asp: (98 apx) --------------------------------------
<td bgcolor="<% =strForumCellColor %>" align="center"><img src="<% =rs("A_URL") %>" border=<% =rsav("A_BORDER") %> hspace=0 alt="<% =rs("A_NAME") %>"><br> -------------------------------------- Replace With: -------------------------------------- <td bgcolor="<% =strForumCellColor %>" align="center"><img src="<% =rs("A_URL") %>" height=<% =rsav("A_HSIZE") %> width=<% =rsav("A_WSIZE") %> border=<% =rsav("A_BORDER") %> hspace=0 alt="<% =rs("A_NAME") %>"><br> ======================================
Regards, Obewanz |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
Posted - 07 May 2001 : 05:11:59
|
grrrr... not working. I get this error:
Microsoft JET Database Engine error '80040e10' No value given for one or more required parameters. forums/pop_avatarlegend.asp, line 64
anyone got a clue?
|
|
|
bugfix
Starting Member
Singapore
47 Posts |
Posted - 07 May 2001 : 21:00:47
|
quote:
This mod will display all the available avatars provided by forum on one page. The users can see the avatars available and pick the one they want in their profile.
download: pop_avatarlegend
You will need to link to it somewhere. This is where I linked it. In inc_avatar.asp, find this:
</select> </td>
and replace it with
</select><br> <a href="pop_avatarlegend.asp" target="_blank">Avatar Legend</a> </td>
demo: http://www.iamviet.com/forum/pop_avatarlegend.asp
You can use the code, but please do not use avatars from iamviet. This is provided just for demo purposes and you should use your own avatars. Lots are available on the net, you just have to look for them.
- Alan www.iamviet.com
Edited by - aznknight on 26 March 2001 15:20:09
Aznknight, can the icon be freely used ? is it free ? they're so CUTE !!!
A bug is always a bug, that's why bugfix is here ;) |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 29 May 2001 : 00:14:50
|
what about the lines of code for the RECENT ADDED AVATAR's?? TIA
Dayve |
|
|
Oudie
New Member
Taiwan
70 Posts |
Posted - 17 June 2001 : 01:42:18
|
This is great function, could let member input they want image url. I mean make member input their image, admin setup it then member choose.
¤d¨½¬î¤ô¤@Àþ¶¡, ¤Ñ¦a¿W§Ú¼Ö¯«¥P; ²ö°Ý¬õ¹Ð·Ð´o¨Æ, ³p»»¨«¹M¤Ñ¥~¤Ñ... |
|
|
Mike B
Starting Member
6 Posts |
Posted - 22 June 2001 : 18:17:27
|
Can anyone recommend a good site for downloading avatars? I don't want to just pick off of existing forums eetc.
|
|
|
maggiau
New Member
96 Posts |
Posted - 27 June 2001 : 06:14:15
|
a way to click on the image and automatically select it and add it in the member area as the avatar image ????
|
|
|
snitzpower
Starting Member
3 Posts |
Posted - 01 July 2001 : 08:04:36
|
Hi Alan, Your pop_avatar_legend.asp on iamviet.com works great, including have multiple pages.. etc. Please post it here if this's not trouble you Kind regards
Edited by - snitzpower on 01 July 2001 08:05:50 |
|
|
samyot
Junior Member
Canada
242 Posts |
Posted - 09 July 2001 : 13:18:38
|
quote:
a way to click on the image and automatically select it and add it in the member area as the avatar image ????
That would be a good feature ! Anybody working on this ?
Sylvain Amyot http://syltek.dingojunction.com/forum
Edited by - samyot on 20 July 2001 07:45:54 |
|
|
Topic |
|