Author |
Topic |
Zuel
Average Member
USA
540 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
Zuel
Average Member
USA
540 Posts |
Posted - 19 October 2005 : 22:09:09
|
Yeah, this is my little pet project. I am happy with the progress I will continue to optimize 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
|
|
|
weeweeslap
Senior Member
USA
1077 Posts |
Posted - 20 October 2005 : 02:35:17
|
I tested an upload and uploaded a text file to see if you aded a check of sorts to make sure they upload only image files, like check the extensions of the file upload, if it meets that of selected extensions allowed, then upload, else, abort upload. It would be good to add such thing to prevent users from uploading virus to the server. also after upload at the bottom you see: Files uploaded: charles the first.txt (1268B) Enter a number = Checkbox values =
not sure what what the last two are for, can't type anything in so maybe not display the last two.< |
coaster crazy |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 20 October 2005 : 06:10:49
|
quote: Originally posted by weeweeslap
I tested an upload and uploaded a text file to see if you aded a check of sorts to make sure they upload only image files, like check the extensions of the file upload, if it meets that of selected extensions allowed, then upload, else, abort upload. It would be good to add such thing to prevent users from uploading virus to the server. also after upload at the bottom you see: Files uploaded: charles the first.txt (1268B) Enter a number = Checkbox values =
not sure what what the last two are for, can't type anything in so maybe not display the last two.
Yeah I have that coming soon. Until then I added a check for the users currently on the site. If file <> image then don't show it. If file <> image and a mod or admin passes by then it flags the file as not an image. I'll post a screenshot of what you uploaded.
http://www.twistingshadows.com/userimages/NotValidPreview.jpg
The reason I have this open is because what if I wanted to expand this to like attachments or screenshots or even a photo gallery. As of now I want to add some controls in there from the DB to give it a little more functionality. But I will put some security somehow < |
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 20 October 2005 06:13:14 |
|
|
vynsane
New Member
73 Posts |
Posted - 26 October 2005 : 22:23:08
|
i would like to be a tester for you... the guys on my forum are dying for something like this. let me know if you want to pack up the files for me...
btw, in FF 1.0.7 when i click on an avatar or the upload link, the pop-up pops under. it pops up and then falls behind the main window immediately. just fyi...< |
why do you not have something to drink... choose one making you better feeling...
my snitz's:
www.vynsane.com/forum - l:guest p:guest (limited access account...)
www.WallCrawlersWeb.com/forum - The Spidey Database |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 October 2005 : 11:06:39
|
Oh, okay.
Didn't have that happen since I have two monitors. Thanks for the tip.
Current Progress...
I am working on putting everything in Subroutines from the spaghetti code. I gotta learn how to create a Admin Config file and keep the variables stored in the DB.< |
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 |
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 October 2005 : 17:32:22
|
Yeah, I haven't set restrictions yet because the only people who can see this page will be trusted members.
Yes, I no the tester account can see it but I have it so only two usergroups can view the upload function. That will remove any guests / new members from uploading anything they shouldn't onto my site.
I plan to add a few checks before the upload begins: (1) File Extention (2) File Size (3) File Name Length
I am big on logic. I hate to see a program run through then tell you it is either too big or invalid. I feel that should be first. And it will to come. Sooner or later.
Update:
I just finished rewriting this into Functions and it looks alot cleaner.
Now I need to convert the previous Javascript to work with the cleaner code. Vbscript doesn't like my ticks and inline javascript code. I still need to do alot before I'll release this code out.
1. Fix the Javascript Code. 2. Create an Admin page to handle all the unique fields that should be able to be changed. 3. Set up a DB Table or add-on to the existing avatar one. 4. Rewrite that code that will handle the new variables. / Add the new variables to the Config file and what not.
< |
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 - 27 October 2005 : 19:26:30
|
Update: Big Update!!!!
I rewrote the whole code from Spagetthi to Functions. I used StringBuilders instead of contacinating strings to save memory and this page loads like 5 times faster. Used literals to handle the Javascript code.
Now this page pulls the table colors from the config file. New feature! This will automatically grab the look and feel of your forum.
Also this automcatially uses the file size settings from the avatar mod that this mod is dependant on.
I haven't uploaded the code to live yet. I will upload it to my test forums so you guys can preview it.
Preview: http://www.twistingshadows.com/development/forum/avatars.asp
Login: tester Pass: tester
vynsane, I also fixed the focus so it should pop correctly. Thanks for catching that.< |
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 27 October 2005 19:40:59 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 October 2005 : 19:38:30
|
I see the avatars....
You cannot upload. I didn't set any write permissions to the Developement Directory. I can, but probably will not.
I was just about to post that but you beat me to 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
|
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 October 2005 : 19:39:50
|
You sure you don't see it? I'm looking at the source code from the page it showing correctly.< |
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
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 27 October 2005 : 19:50:02
|
I can't see the avatars either.< |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 October 2005 : 19:51:22
|
What the?
Broswer? Can you send me a screenshot?
I check it on IE and FF and I saw them. Let me clear my cache.
LOL! I know what the problem is.
See what happens is I have levels imbedded in this and since my account is Mod + Admin I see one thing and didn't get to test what regular memebers see.
I forgot the line to show members.< |
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 27 October 2005 19:54:44 |
|
|
Topic |
|