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/Code)
 Zuel's Avatar Add On - Yeah Really! Done. [;)]
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 11

Zuel
Average Member

USA
540 Posts

Posted - 27 July 2006 :  22:00:26  Show Profile  Visit Zuel's Homepage  Reply with Quote
I am personally sorry for the delay and I hope this mod will still help those who have been waiting.

Zuel's Avatar Addon MOD for Snitz 3.4

This mod is Dependent on Richard Kinser's Avatar Mod.

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=52
http://www.snitzbitz.com/mods/download.asp?mid=52&fid=140

Download: http://www.twistingshadows.com/newforum/Zuelsavatarmod.rar

Update: Beta Version 3 is out. Please see the previous thread for updates and status as in what was request and going on. All reported errors should be fixed.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=60156

Features:

Forum Members can upload their own avatars.
Forum Members can upload their own Personal avatars. (Personal avatars are not seen by other members. )
Categories allow avatar organization.
Admins and Moderators can moderator avatars by deleting them.
Dynamic Extensions. Admins can specify extensions within the admin panel.
Max file size check to the byte.
Easy interface to select an avatar. Simply click the one you want.
You can specify URLS to images outside of the website.
Integrated with Richard Kinser's Avatar Mod.
Automatically takes the look and feel of your Snitz Board.
Added Tooltips to some of the settings to go in depth with explantions.
Added file size translations to both the Admin Page and Main page. E.g. Doesn't show 100000 anymore, it will show 97.66KB.
Admins can reset a user avatar. (TonyB )
Added limit to the number of personal avatars.
Added uploading history. Admins can view the history of who uploaded which avatar.
Admins can view personal avatar owners.

Version History:

Reworded a few pieces on the Interface to make more sense.
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.
Added more functionality to Adding Extensions to check if the Extension was valid.
Added an option to change the Avatar path folder. See help readme for more information. To change do so on incAvatarFunctions.asp
Fixed readme.html to match new revisions.
All members can view the Private Folder. (Where Personal Avatars are kept)
Only shows avatars that the user uploaded so they can delete them or reassign them.

Test Account:
http://www.twistingshadows.com/newforum/

tester/tester

This application has been tested with Microsoft Access 2003.

I encourage you to test with other environments to post your results.

If you get any errors please post them below so I can fix them. Please keep in mind this is my first and I am still learning. The code is fully documented and is clean through my eyes. I am here happy to answer any questions you may have.

Cheers!

Daniel M. Dority
a.k.a. Zuel on Snitz Forums<

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 - 28 July 2006 :  02:15:23  Show Profile  Visit MarkJH's Homepage  Reply with Quote


I'm looking forward to implementing this MOD for my users. Thanks Zuel for all your hard work. <

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 - 28 July 2006 :  08:57:31  Show Profile  Visit Zuel's Homepage  Reply with Quote
Thanks alot MarkJH, already got a few positive feedbacks from some folks. Raises my spirits.

A few things that will get updated today:

Personal Folders are visible to everyone, shouldn't be though.
When trying to upload an avatar that exceeds the limit, you get an error:
Request object error 'ASP 0104 : 80004005'

Operation not Allowed

clsAvatar.asp, line 100

Users who do not have Friendly http Errors turned off will see a page cannot be displayed. Just a heads up and FYI. I'll add better error trapping in that area.

<

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

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 28 July 2006 :  09:22:39  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
I'd like alittle addon =)
In the page where you select the avatars, I'd like to have the username of the user that uploaded the avatar under/beside the avatar. Maybe an on/off switch in the admin panel for the functionality.
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

et10yl
Starting Member

17 Posts

Posted - 28 July 2006 :  14:41:27  Show Profile  Reply with Quote
Yeah! Awesome Zuel... I've been waiting for this. I will try to implement over the next couple of weeks and report back here. Cheers!! :)<
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 28 July 2006 :  15:26:17  Show Profile  Visit MarkJH's Homepage  Reply with Quote
quote:
Thanks alot MarkJH
You're more than welcome. Looking forward to implementing this once the Personal Folders situation is fixed. <

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 - 28 July 2006 :  15:43:08  Show Profile  Visit Zuel's Homepage  Reply with Quote
I haven't looked at it yet but I know how to fix it. Just apply a function I already created and check if the owner does in fact own that file.<

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 - 30 July 2006 :  19:22:22  Show Profile  Visit MarkJH's Homepage  Reply with Quote
Noticed a couple of bugs for you, Zuel!

If on the 'upload to xxx category' page you enter a URL instead of a local file, the Submit and Clear buttons disappear.

If you type in a URL without the 'http://' in the Enter Avatar URL box, it accepts the URL but your current avatar becomes blank.<

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 - 30 July 2006 :  23:28:43  Show Profile  Visit Zuel's Homepage  Reply with Quote
Oh thats dirty.

Just two extras checks I need to add. Didn't even think someone would put http on a local file. Wonders what the code is doing at that moment.

As for part two, bummer. I added a check incase someone pressed enter without adding more than http://. Another good catch.

As for the delay, I hate working at home. Too many distractions.<

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

dayve
Forum Moderator

USA
5820 Posts

Posted - 30 July 2006 :  23:49:30  Show Profile  Visit dayve's Homepage  Reply with Quote
I uploaded a .PNG type image which shows in the individual categories, but not when I click View All.<

Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 31 July 2006 :  13:01:37  Show Profile  Visit Zuel's Homepage  Reply with Quote
View All shows all Personal Avatars with their respective owners.

It does not include images within the categories.<

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 - 31 July 2006 :  13:28:17  Show Profile  Visit Zuel's Homepage  Reply with Quote
Download Link Updated. Download from first post.

Bummer.

I already fixed the Personal Avatars I just forgot to pack the updated code over. Doh!

Bugs Fixed:
Fixed the old and outdated introduction on the readme.
Fixed the personal avatars to show only the owner.
Fixed the link on the main page when someone attempts to use an outside source without the http://.

Mark,

I haven't not fixed the file upload date yet. I'm still looking into 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 31 July 2006 13:28:45
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 31 July 2006 :  13:34:28  Show Profile  Visit dayve's Homepage  Reply with Quote
quote:
Originally posted by Zuel

View All shows all Personal Avatars with their respective owners.

It does not include images within the categories.


ah, that makes sense.

Question. It appeared as if the image was cropped when I uploaded an image that was out of the max size. Am I crazy or is it actually doing that?<

Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 31 July 2006 :  16:00:37  Show Profile  Visit Zuel's Homepage  Reply with Quote
You are correct. Images that aren't within the specified width and height get cropped into the max position allowed without stretching or skewing the image.

How it works?

Instead of using an <img> tag, I used a table background element. The image is center on the table with no repeat so it looks like an image. Within the table I use the noavatar.gif which is just a clear image to set the demensions of the table. That way all avatars within the specifications show up correctly and the ones over just appear cropped. This way everyone wins.

Or at least I hope. Is this something you wanted to happen?


<table width=" AvatarWidth " height= " AvatarHeight " cellspacing="0" cellpadding="0" border="0" 
style=" background-image: url('AvatarImage');background-repeat: no-repeat; background-position: center;">
  <tr>
    <td><img src="noavatar.gif" width=" AvatarWidth " height=" AvatarHeight " border="0"></td>
  </tr>
</table>


If you were choosing the image for an avatar, I wrapped an <a href> tag around the noavatar.gif.

I couldn't create a dll for everyone to use so I created an inline style. Works pretty well though. Should work in all browsers.<

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 31 July 2006 16:08:18
Go to Top of Page

lander
Starting Member

7 Posts

Posted - 02 August 2006 :  05:03:11  Show Profile  Reply with Quote
Hmmm, wel when i install the mod (after avatar-34-13~1) i get the following error:

Error Type:
Sun ONE ASP VBScript compilation (0x800A03F2)
Expected identifier
incAvatarData.asp, line 35, column 9


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727)

Page:
GET /temp/frmAvatarMain.asp

Time:
Wednesday, August 02, 2006, 11:09:43 AM

Any idea's?<
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 02 August 2006 :  11:22:56  Show Profile  Visit Zuel's Homepage  Reply with Quote
Do you have the URL to that page?

Like 34-36 is comments.

Also I found several bugs last night that I will patch and upload to the RAR. The path includes two fixes to the functions and two to the avatar data.

I remember Upload a personal avatar / Limit Exceeded was not within the forum font tags. Might appear bigger. Can't remember the rest. Beyond compare will tell me though.<

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
Page: of 11 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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07