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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Mass Avatar Add does nothing.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

simonduz
Junior Member

161 Posts

Posted - 09 January 2003 :  22:22:58  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
I'm not sure if it's a permission setting or not.
When I go through the motions of doing a Mass Avatar Add it shows all goes well. Updates are made to the database correctly and the image paths show correctly but none of the images copy to the new folder. If I add them one at a time with a URL or upload new ones it works fine.
Any ideas?
Thanks.
BTW I am tying the new Crash portal release so most of the Avatar MOD settings were already accomplished.

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 10 January 2003 :  01:54:04  Show Profile
It has never copied the avatars to the new folder.

EDIT -
set filesObj = imagesFolder.Files

currentAvatarFolder = Server.MapPath(strFinalLocation)

For Each file in filesObj

	avatarImageName = file.name
	avatarDisplayName =  Split(file.name,".")
	
	response.write("Adding :" & avatarDisplayName(0) & " <BR>")
	
	file.Copy currentAvatarFolder,True
	
	'#### Inster into database

Adding the code in red to the admin_avatar_mass_add.asp should do it, I have not tested that code though.

Edited by - Hamlin on 10 January 2003 01:57:51
Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 10 January 2003 :  07:01:09  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
Ah that triggers it but there is permissions problem.
VBScript runtime error: permission denied
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07