Author |
Topic |
TonyB7
Junior Member
USA
267 Posts |
Posted - 24 January 2006 : 21:02:23
|
Yes. You cannot install a mod add-on until you first install the mod to add it on to.< |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 25 January 2006 : 15:52:28
|
Yeah it is complete now. I need some testers.
Download: http://www.twistingshadows.com/Avatar_Addon.zip
New Features: [1]Added Titles to some of the settings to go in depth with explantions. [2]Added file size translations to both the Admin Page and Main page. E.g. Doesn't show 100000 anymore, it will show 97.66KB. [3]Reworded a few pieces on the Interface to make more sense. [4]Recoded most of the pages. Before there were two pages and now there are six. I spanned out the functions, classes and sub routines into their own pages for organization. [5]Added more functionality to Adding Extensions to check if the Extension was valid. [6]Added an option to change the Avatar path folder. See help readme for more information. To change do so on incAvatarFunctions.asp [7]Fixed readme.html to match new revisions. Bug Fixes: [1]Fixed alot of open <td>, <tr>, <table>, <font> tags that were missing from action. Should work in any template, each table closes as it should in all situations. [2]Fixed security that would allow users to delete any image if they knew the path. [3]Fixed security that would allow users to upload to a category if upload settings were disabled. [4]Fixed Admin Radio buttons that would appear blank in Firefox browsers. [5]Added code to inc_Profile.asp to prevent users from seeing "Change Avatar Link". Previously errors out since you must be logged in. [6]Fixed the upload class so Max File Size actually works. [7]Fixed the error message when File is too big to upload. Fixed incorrect usage of my StringBuilder Class. Now preforms better [9]Fixed the placement of form fields which cause an extra amount of unneccessary gaps.
Next Release Features: [1]Users will be able to see private avatars they upload. They will the option to use them again and delete their own. [2]Admins will have the ability to move avatars that are in one category to another. [3]Whatever changes seem a good fit that you guys suggest.
Test Forum: http://www.twistingshadows.com/dev/
Username: tester Password: tester
Yes! You have admin powers. Feel free to change the look and feel of the forum. Feel free to change the settings to test the security. Feel free to play with anything. Let me know what features you want that aren't listed and what features are garbage. Feel free to upload. Feel free to create test accounts to see the difference between users.
Or you may download it for your forum. Please note this isn't finish until it is on SnitzBitz. Have fun.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 25 January 2006 : 16:09:57
|
Hi Zuel,
In your test forum, on the Edit Avatar page, if I click on Private I get this error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/dev/incAvatarData.asp, line 305< |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
|
|
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 25 January 2006 : 16:11:09
|
Zeul, as a normal user I can't see the prived folder with the uploaded image. Only Blizzard and Misc folder.< |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 25 January 2006 : 19:48:41
|
quote: Originally posted by MarkJH
Hi Zuel,
In your test forum, on the Edit Avatar page, if I click on Private I get this error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/dev/incAvatarData.asp, line 305
You do! I'll look into it thanks.
quote:
Zuel, as a normal user I can't see the prived folder with the uploaded image. Only Blizzard and Misc folder.
quote:
Next Release Features: [1]Users will be able to see private avatars they upload. They will the option to use them again and delete their own.
I know, its coming in the next release. Once I finish that part I'll go ahead and push that out. I tried already but it was very ugly. I gotta take some time and think I wanna do it.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
Edited by - Zuel on 25 January 2006 19:49:30 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 25 January 2006 : 20:00:37
|
Found the error. I misspelled StringBuilder. Should have thrown a different error but what the heck, it's fixed and the zip file is updated. Just replace the incAvatarData.asp with the one you have and it will work.
If you already made alterations to it just fix the spelling error in StringBuilder. I had it spelt StringBulider. Line 305.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
Edited by - Zuel on 25 January 2006 23:31:47 |
|
|
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 26 January 2006 : 03:56:51
|
Nice work Zeul, look and works fine.< |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 26 January 2006 : 14:27:08
|
Hey Bassman,
I need some information from you. You wanted members to be able to view their personal avatars with the private link that Admins and Moderators can already see. Within that private link it should display a link to delete their personal avatars and functionality to select their avatar again without having to upload it right?
Keep in mind, everyone shares the same folder for personal avatars. To determine who owns what I use the database AVATARS from Richard's mod and I compare USERID and AVATARNAME with the current files in the directory. If anyone has a better idea I'm all for it.
I'm currently playing with it now. Got a semi working version but the format is all screwed up. By format I mean output. Once I get it working, I'll clean it up then make the necessary changes.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 26 January 2006 : 15:57:20
|
Nevermind Bassman, just check out the test forum. I implemented that feature that I worked on most of the day. Try it out.
Features: [1] All members can view the Private Folder. (Where Personal Avatars are kept) [2] Only shows avatars that the user uploaded so they can delete them or reassign them.
Let me know if you find any bugs. If you don't find any bugs tonight, then I'll upload the changes into the Zip.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
|
|
TonyB7
Junior Member
USA
267 Posts |
Posted - 26 January 2006 : 16:04:47
|
Seems to work fine. One minor thing: The text in incAvatarFunctions.asp (lines 7,12) still says " '=== Folder MUST be within the Forum Directory ==="
Having made the mistake myself, I'd add on 12 that 'Private' isn't a path, just a name, like you have in the readme.< |
|
|
TonyB7
Junior Member
USA
267 Posts |
Posted - 26 January 2006 : 16:19:40
|
*) When trying to upload a too-large (canvas size) file, the file is uploaded and assigned. Shouldn't it generate an error and refuse to upload, same as file size too large errors out?
*) Only my first two categories uploads work. No matter how many more I add, they all just open a blank window.
< |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 26 January 2006 : 16:46:48
|
quote: *) When trying to upload a too-large (canvas size) file, the file is uploaded and assigned. Shouldn't it generate an error and refuse to upload, same as file size too large errors out?
Which upload are you trying to do? Public or Personal? They both should fail, not error, if the file size is too big. They use the same class / methods. Only happens if the size exceeds the Max File Size.
quote: *) Only my first two categories uploads work. No matter how many more I add, they all just open a blank window.
So you created 2 categories and can upload to them fine. If you try to create anymore uploading doesn't work? I'll look into this.
EDIT: I see the problem. Working on the cause and fix now.
Thanks for the feedback.
EDIT 2: Found the problem and fixed it. Either download the zip again and replace the incAvatarData.asp with the new one or implement the fix:
Line 610 incAvatarData.asp Find: iCatCount = UBound(categoryResults)
Replace: iCatCount = UBound(categoryResults, 2)
Thanks again. And send me more info on the uploading so I can track that one down.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
Edited by - Zuel on 26 January 2006 16:57:17 |
|
|
TonyB7
Junior Member
USA
267 Posts |
Posted - 26 January 2006 : 19:41:00
|
quote:
Which upload are you trying to do? Public or Personal? They both should fail, not error, if the file size is too big.
Any of them. Yes, file size fails correctly, but *image* size doesn't. So a user uploads a 128X128 avatar, but since I have avatars set to 64X64, they get a cropped avatar. In the current version they can't delete it, so I wonder if excess image size couldn't be regulated?
I also noticed when playing as admin it looks like there's a missing 'delete' icon above the avatars.
RE: Uploading. The fix works. But I just noticed - the little window says the avatar was uploaded and assigned, but when the window closes there's no avatar and nothing in the 'current avatar' box unless I do a page refresh.< |
|
|
TonyB7
Junior Member
USA
267 Posts |
Posted - 26 January 2006 : 19:48:45
|
Related question: As I convert to this add-on, it sure would be easier to simply copy a bunch of eg 'animals' into my 'animals' directory via FTP. Am I messing up the db by doing this? Ditto if I use FTP to delete an avatar?< |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 26 January 2006 : 23:08:43
|
quote: Originally posted by TonyB7
quote:
Which upload are you trying to do? Public or Personal? They both should fail, not error, if the file size is too big.
Any of them. Yes, file size fails correctly, but *image* size doesn't. So a user uploads a 128X128 avatar, but since I have avatars set to 64X64, they get a cropped avatar. In the current version they can't delete it, so I wonder if excess image size couldn't be regulated?
I also noticed when playing as admin it looks like there's a missing 'delete' icon above the avatars.
Oh I see what your asking.
I haven't come across any code that checks image width and height. My mod basically allows any image the fixed size and under to display at the the correct size. Meaning if I restrictions set to 128 by 128 then any image 128 by 128 and under will display at their full potenial. Any image greater will be cut off. It was this or have each image stretch or shrink to 128 by 128.
The restrictions are set on the main page in bold. There are plenty of free editors out there to resize their own images before they upload. In a day or so you will be given the code in the zip file to allow your members to delete what they uploaded in the personal folder so no worries.
As far as I know that will not be changed.
quote:
RE: Uploading. The fix works. But I just noticed - the little window says the avatar was uploaded and assigned, but when the window closes there's no avatar and nothing in the 'current avatar' box unless I do a page refresh.
That is how it works. I can try to add some javascript to refresh the parent window but other then that you will have to refresh manually to get the new update. I'm not using AJAX or anything similar.
quote:
Related question: As I convert to this add-on, it sure would be easier to simply copy a bunch of eg 'animals' into my 'animals' directory via FTP. Am I messing up the db by doing this? Ditto if I use FTP to delete an avatar?
The database is only used when someone uploads an avatar and when someone deletes their personal avatar. Thats it. You may use FTP to delete or add any avatar in any other category. Don't upload to the private folder otherwise it won't show up for anyone.< |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
Edited by - Zuel on 26 January 2006 23:10:46 |
|
|
Topic |
|