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
 Problem with uploading avatars, please help
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

albertvn
Starting Member

6 Posts

Posted - 22 April 2007 :  21:12:00  Show Profile  Send albertvn a Yahoo! Message
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  Show Profile  Send albertvn a Yahoo! Message
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
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 25 April 2007 :  08:47:09  Show Profile  Visit modifichicci's Homepage
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
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 25 April 2007 :  11:09:29  Show Profile

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.


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 25 April 2007 :  11:23:49  Show Profile  Visit modifichicci's Homepage
You cannot set forum as avatar dir as it must have write permission and you don't want anyone can access your forum dir!!!

Files of avatar mod are set to search avatar in a dir forum/avatar

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

albertvn
Starting Member

6 Posts

Posted - 26 April 2007 :  00:18:38  Show Profile  Send albertvn a Yahoo! Message
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.
Go to Top of Page

albertvn
Starting Member

6 Posts

Posted - 26 April 2007 :  00:21:29  Show Profile  Send albertvn a Yahoo! Message
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
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.51 seconds. Powered By: Snitz Forums 2000 Version 3.4.07