Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Zuel's Avatar Addon
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 4

Zuel
Average Member

USA
540 Posts

Posted - 19 October 2005 :  16:23:39  Show Profile  Visit Zuel's Homepage  Reply with Quote
heheheh I'm soo excited. After a few weeks of programming this thing I finally got my little add-on to work.

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=52
This mod is not independent and it needs Avatar MOD VERSION 1.3 by Hamlin.

I'll post the code if I get some people who actually want to use it.

Doesn't modify any current Snitz files except the inc_header.asp to link to the page.

Screenshot #1 - http://www.twistingshadows.com/userimages/GeneralPreview.jpg

First screen people go to. Shows a default category and automatically generates the HTML to show the avatars.

Screenshot #2 - http://www.twistingshadows.com/userimages/UploadingPreview.jpg

Users can upload up to 4 images simentanously to a category.

Screenshot #3 - http://www.twistingshadows.com/userimages/DeletedPreview.jpg

Only Admins and moderators can see the Delete button to instantly delete any image or file that doesn't meet the requirments.

Screenshot #4 - http://www.twistingshadows.com/userimages/HoverPreview.jpg

Alt tag to tell people what stuff does.

Screenshot #5 - http://www.twistingshadows.com/userimages/CategoryPreview.jpg

Just more avatars under a different category.

Screenshot #6 - http://www.twistingshadows.com/userimages/ChoosingPreview.jpg

Users select the image they want and it adds the values to the DB so they can select their avatar within their profile. The form fields in the pop up are readonly so nothing can be messed around with.

This is just a preview of what I am working on. I won't release it yet because it is mainly spaghetti code. I want to put everything within Private Subs instead of inline code.

Trial:

http://www.twistingshadows.com/forum/avatars.asp

Account: tester
Password: tester



Things are buggy and can be tweaked and they will. I was just excited I got everything to work. <

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 19 October 2005 16:28:39

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 19 October 2005 :  18:26:33  Show Profile  Visit MarkJH's Homepage  Reply with Quote
I've been looking for something like this for a while. Looking forward to seeing it's progress!<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 19 October 2005 :  22:09:09  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 20 October 2005 :  02:35:17  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message  Reply with Quote
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
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 20 October 2005 :  06:10:49  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

vynsane
New Member

73 Posts

Posted - 26 October 2005 :  22:23:08  Show Profile  Visit vynsane's Homepage  Reply with Quote
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
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 27 October 2005 :  11:06:39  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 27 October 2005 :  12:02:18  Show Profile  Visit MarkJH's Homepage  Reply with Quote
Is it possible to set a maximum file size and if the file uploaded is greater than this, the software automatically rejects it?<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 27 October 2005 :  17:32:22  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 27 October 2005 :  19:26:30  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 October 2005 :  19:35:52  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
It's not working. No avatars show and an error occurs when an upload is attempted.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 27 October 2005 :  19:38:30  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 27 October 2005 :  19:39:50  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 October 2005 :  19:49:48  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
Yeah, I'm sure. Nothing shows, just a sort of table, light blue borders, no contents. According to the text it should be showing 33 Blizzard avatars.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 27 October 2005 :  19:50:02  Show Profile  Send StephenD a Yahoo! Message  Reply with Quote
I can't see the avatars either.<
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 27 October 2005 :  19:51:22  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07