| Author |
Topic Search Topic Options
|
adm-skj
Newbie
Joined: 16 February 2004
Location: Netherlands
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Topic: avatar selection in 7.7a Posted: 16 February 2004 at 6:12am |
Hi,
When I execute add new member in the admin menu the selectionbox for an avatar image is not visible. Instead I get an error
Runtimefout Microsoft VBScript (0x800A01F4) Variabele is niet gedefinieerd: 'strImageTypes' /asp/forum/admin/functions/functions_filters.asp, line 205
what is wrong??
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2004 at 6:25am |
|
Could be a corrupted file, try reuploading the register.asp file and all the files in the functions folder again.
|
|
|
 |
adm-skj
Newbie
Joined: 16 February 2004
Location: Netherlands
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2004 at 8:17am |
Hi, thank you for replying,
I have reuploaded the files several times. When I take a look at the code in "add_member.asp" the complete sellect-box code is missing, even in the file I dowloaded this morning. That is why I dont get de sellection box when running the add_member.asp. Maybe thats were the trouble starts.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2004 at 1:21pm |
|
Have you modified the file?
If so this is where the problem lies as there is no option to add an avatar when adding a new member from the admin area.
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2004 at 1:31pm |
|
I found the problem, remove line 240 of the file add_member.asp
|
|
|
 |
adm-skj
Newbie
Joined: 16 February 2004
Location: Netherlands
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2004 at 2:14pm |
Hi,
I am sorry to dissagree with your solution. By disabeling the image-check you do not solve the problem but make invissible. In your former versions you could add avatars in the add member item from the admin menu by means of a sellection-box or an inputbox. The sellectionbox code is missing in 7.7a. Your help text wich accompanies the item says :
" This is the small icon shown next to your posts. Either select one from the list or type the path in to your own Avatar (must be 64 x 64 pixels)" .
I did not modify your code in anny way. The file is as it is in your distribution zip-file. If i am wrong please inform me how to add avatars in version 7.7a
Thank you for your quick reply.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2004 at 2:34pm |
|
There is no selection drop down menu in the admin menu to add a new member.
The reason for this is that it wouldn't work as the path to the avatar
would be incorrect due to the admin section being a self sufficient
area running in it's own folder, so has been removed on purpose.
The fix I gave will sortout the problem as the image check is only to
check the extension is a valid image format to prevent hackers from
uploading exe files etc. As only the admin can enter this section then
this is not needed so you can cut out the image extension check as the
admin shouldn't be stupid enough to try and hack their own forum.
I shall update the text next to the avatar item to remove the part about the selection box.
|
|
|
 |
adm-skj
Newbie
Joined: 16 February 2004
Location: Netherlands
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 17 February 2004 at 3:26am |
Hi,
Thanks for your answer, your philosophy is clear to me. This leaves one question to be answered. Where can I add a avatar? In the file "register.asp" it is not possible. I would advise that similar to registering to your forum, make an option in this file.
|
 |