Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Idea: Directory List -> Avatar list?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tch
Starting Member

15 Posts

Posted - 02 July 2001 :  19:32:50  Show Profile
Well, after being kicked off my BSD box, i've been forced to switch platforms to win2k for a forum. I've seen a lot of great things in this board so far, but it looks like the avatar issue is still a bit shaky. I've installed avatar v2 and the process of adding avatars is a daunting process. Let me share how this is done in YaBB a popular perl board. The board config specifies an avatar directory where all avatar images are kept. A user can choose an avatar out of a listbox with a preview on the right hand side. This list is generated by doing a directory list of the avatar directory and storing that into an array! voila, done. I've seen one other avatar addition that requires rw access, but that's no good. Has the above idea been tried, or just overlooked? If not, i'll give it a go. Being a new vbscript user it may take me a day or so, but I have nothing better to do at work. Any comments on why this will/won't work?

tch
Starting Member

15 Posts

Posted - 02 July 2001 :  19:44:50  Show Profile
ah ha, after looking around and seing how this might be done. (Some good starting code for returning a file from a directory here:http://www.brainscanstudios.com/dev_projects/displaycode.asp?displaycode=displaypics/displaypics.aspI see you would have to use a filesystem object, which apparently some hosts do not like. Am I correct in my assumption?



Edited by - tch on 02 July 2001 19:46:21
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 July 2001 :  19:45:37  Show Profile
It's been done, but it requires that the FileSystemObject be available on your host. Some hosts disable it completely, or disable parts of it. That's why it wasn't included in the release of the Avatar MOD.

you can see it on this site: http://kinser.121host.net/oldbeta/

It doesn't have the Avatar Preview, but it does have the popup avatar list.

This is what I did first before I switched to the way it is now.
Go to Top of Page

tch
Starting Member

15 Posts

Posted - 02 July 2001 :  19:49:44  Show Profile
I wonder could the same goal be accomplished with some tricky database work? For example link a column in the database to a directory list, or is this not possible?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 July 2001 :  19:53:34  Show Profile
Have you looked at this? http://forum.snitz.com/forum/link.asp?TOPIC_ID=7498

Also, if you have access to the FileSystemObject on your site, I can add the code in use at the site I posted a link to above to the inc_avatar.asp file. That way you won't need to enter links to Avatars in the Database, but instead it will just list the Avatars you have in the specified directory.
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 July 2001 :  02:07:32  Show Profile  Visit dayve's Homepage
quote:

ah ha, after looking around and seing how this might be done. (Some good starting code for returning a file from a directory here:http://www.brainscanstudios.com/dev_projects/displaycode.asp?displaycode=displaypics/displaypics.aspI see you would have to use a filesystem object, which apparently some hosts do not like. Am I correct in my assumption?



Edited by - tch on 02 July 2001 19:46:21



I am using this method at my site for avatars to allow proportional avatars... check it out:

http://www.nineinchnailz.com/forum

Iron Heart of http://www.someplacesomewhere.com was the first person I saw use fso and he helped me. It works really well...

Dayve
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 04 July 2001 :  20:35:32  Show Profile  Visit dayve's Homepage
quote:

ah ha, after looking around and seing how this might be done. (Some good starting code for returning a file from a directory here:http://www.brainscanstudios.com/dev_projects/displaycode.asp?displaycode=displaypics/displaypics.aspI see you would have to use a filesystem object, which apparently some hosts do not like. Am I correct in my assumption?



Edited by - tch on 02 July 2001 19:46:21



hey this was a good link, got it running too though I had problems at first because their documentation at this site sucks...

Dayve
Go to Top of Page

tch
Starting Member

15 Posts

Posted - 05 July 2001 :  09:09:21  Show Profile
I bet you learned it a little more completely w/o docs though, huh? Can't argue with nice GNU asp though.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07