Author |
Topic  |
|
albertvn
Starting Member
6 Posts |
Posted - 22 April 2007 : 21:12:00
|
Dear all,
I am using Snitz 3.4.6 I have installed the Avatar Mod for 3.4 Original Author: Richard Kinser, adapted by Hamlin.
I have a problem uploading the avatars. I get the following message:
"Failed - This file could not be uploaded. "
I also checked my avatar_upload.asp already and it seems to be correct: Public Sub WriteFile(strPath) Dim arrAllowedTypes : arrAllowedTypes = Array(".jpg",".jpeg",".gif",".png") Dim strExtension : strExtension = LCase(Mid(FileName,InStrRev(FileName,"."))) Dim intForCounter Dim objFSO : Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Dim blnAllow : blnAllow = False Dim objSaveME WasSuccess = False
Could you please let me know what is the problem and how I can fix it?
Thanks in advance for your kind help! Albertvn
|
Edited by - albertvn on 22 April 2007 21:25:27 |
|
albertvn
Starting Member
6 Posts |
Posted - 25 April 2007 : 06:50:24
|
None help me!!!
I have tried myself to fix the problem but I am not successful I think. I both used "Mass upload" in "Avatar setup" to upload avatars in a folder and uploaded the avatars directly on my server, so the avatars are displayed. I think the problem is the link to my avatars but I do not know where to fix it. Has anyone experienced this problem?
My link is: http://www.azvina.com/forum/
I need your help. Albert |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
Posted - 25 April 2007 : 08:47:09
|
Mass upload doesn't upload file, only add to db your mass avatar Yu have to upload by ftp your avatars in a new folder and chose when you run mass avatar that folder ad starting and the foder of your avtar as destination, then you have to move by ftp your avatar from new folder to avatar folder. Have you create a foder avatar in your forum dir? And has this foder write permission? And what file are you tryng to upload?
|
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
 |
|
Hermes
Junior Member
 
Croatia
113 Posts |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
albertvn
Starting Member
6 Posts |
Posted - 26 April 2007 : 00:18:38
|
quote: Originally posted by modifichicci
Mass upload doesn't upload file, only add to db your mass avatar Yu have to upload by ftp your avatars in a new folder and chose when you run mass avatar that folder ad starting and the foder of your avtar as destination, then you have to move by ftp your avatar from new folder to avatar folder. Have you create a foder avatar in your forum dir? And has this foder write permission? And what file are you tryng to upload?
I created a folder named "avatars" already. You can get access to that folder here: http://www.azvina.com/forum/avatars/
I tried to upload files with extension: "jpg",".jpeg",".gif",".png"
I noticed that: the link of the avatar which displayed in profile is for example: http://www.azvina.com/forum/study.gif While it should be: http://www.azvina.com/forum/avatars/study.gif Therefore, I think there is problem with link or string in this case but I am not sure about it. |
 |
|
albertvn
Starting Member
6 Posts |
Posted - 26 April 2007 : 00:21:29
|
quote: Originally posted by Hermes
He has avatars in his root forum directory, and they are shown in Avatar Selection. But when you select avatar it doesn’t show in post.
There is one more strange thing. In Firefox, links on his forum is blinking.
the avatar does not show in the post as its link is for example: http://www.azvina.com/forum/study.gif while the link of the avatar in "avatars" folder is: http://www.azvina.com/forum/avatars/study.gif
I do not know that my links are blinking as I am using IE |
 |
|
|
Topic  |
|