The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
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/Avatar_AddonV3.zip
Update: Version 2 is out. Please see the previous link to download the current version.
Features:
Members can Upload their own Avatars. Admins can Delete avatars with a push of a button. Dynamic Extensions. Admins can specify extensions within the admin panel. Max file size check. Easily switch avatar by uploading or choosing your own from a category. 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. Personal Avatars allow members to use avatars for themselves.
Screenshots:
Avatar Admin Page:
http://www.twistingshadows.com/userimages/Avatar_Admin.jpg
Avatar Main Page:
http://www.twistingshadows.com/userimages/Avatars_Main.jpg
Test Account: http://www.twistingshadows.com/dev/avatars.asp
Uploading is disabled. I will update http://www.twistingshadows.com/forum/ tonight December 29th at 11:00 PM Eastern to the new version. Then you may upload.
Account: tester
Password: tester
Tested with Snitz Forum 3.4 and Access 2003. I have not tested with Any Other Version of Snitz. This thread is share the mod to test before I attempt to send it to Snitzbitz to so call publish it.
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<
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/Avatar_AddonV3.zip
Update: Version 2 is out. Please see the previous link to download the current version.
Features:
Members can Upload their own Avatars. Admins can Delete avatars with a push of a button. Dynamic Extensions. Admins can specify extensions within the admin panel. Max file size check. Easily switch avatar by uploading or choosing your own from a category. 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. Personal Avatars allow members to use avatars for themselves.
Screenshots:
Avatar Admin Page:
http://www.twistingshadows.com/userimages/Avatar_Admin.jpg
Avatar Main Page:
http://www.twistingshadows.com/userimages/Avatars_Main.jpg
Test Account: http://www.twistingshadows.com/dev/avatars.asp
Uploading is disabled. I will update http://www.twistingshadows.com/forum/ tonight December 29th at 11:00 PM Eastern to the new version. Then you may upload.
Account: tester
Password: tester
Tested with Snitz Forum 3.4 and Access 2003. I have not tested with Any Other Version of Snitz. This thread is share the mod to test before I attempt to send it to Snitzbitz to so call publish it.
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
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
آخرین ویرایش توسط
نوشته شده در
awesesome. i'll be implementing this on my testbed version of a 3.4.05 and report the results.
EDIT okay, so how can i get the avatars folder to have write permissions? i contacted my hosting to see if they would do it for me, but i wanted to know if there was an easy way to do it through ftp? when i right click and get properties through the XP built-in ftp, it says "this server does not support changing permissions" so i would assume i can't do it. but does that mean no one can?
other than that, everything seems to be working alright, but only after i REPLACED the
Dim StopWatch(19)
with
'Dim StopWatch(19)
-your readme says to place the commented out one AFTER the original. it should say "replace that with..." or just "comment that line out with the ' "
anyway, without the write permissions, is it normal for the "allow uploading" section of the admin panel to have both radio buttons selected? if i try to select the "yes" in that part, it selects the radio button next to "yes" but leaves the radio button selected next to "no" as well. when i click "save settings" it just goes back to "no". i don't have the same behavior with the create and delete folder options.<
EDIT okay, so how can i get the avatars folder to have write permissions? i contacted my hosting to see if they would do it for me, but i wanted to know if there was an easy way to do it through ftp? when i right click and get properties through the XP built-in ftp, it says "this server does not support changing permissions" so i would assume i can't do it. but does that mean no one can?
other than that, everything seems to be working alright, but only after i REPLACED the
Dim StopWatch(19)
with
'Dim StopWatch(19)
-your readme says to place the commented out one AFTER the original. it should say "replace that with..." or just "comment that line out with the ' "
anyway, without the write permissions, is it normal for the "allow uploading" section of the admin panel to have both radio buttons selected? if i try to select the "yes" in that part, it selects the radio button next to "yes" but leaves the radio button selected next to "no" as well. when i click "save settings" it just goes back to "no". i don't have the same behavior with the create and delete folder options.<
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
my snitz's:
www.vynsane.com/forum - l:guest p:guest (limited access account...)
www.WallCrawlersWeb.com/forum - The Spidey Database
آخرین ویرایش توسط
نوشته شده در
Yeah on Avatars.asp there are multiple includes for inc_header.asp, for some reason even though they both don't get called at anytime at the same time, they the variable still redefined.
Comment out the variable Dim Stopwatch on inc_header, I added it to the config file.
To change file permissions, I use my admin settings that most webmasters get when they get hosting. I doubt you can do it with FTP but I will go ahead and do some research for you. My best guess is to write an email to your hosting to get write permissions on that folder.
That sounds like a bug. I'll play with it and see what I can fix.
Zip updated with the correct instruction to replace rather then to add directly after.
I tested on two environments for the radio button. One with permissions and one without. They both worked fine. Post the code of the page when that happens. I wanna see the source when both get checked.
Try clearing cache as well.
As for FTP, you cannot modify permissions that way. All is controlled by drive directories. If anything, you can always create the folders yourself.
Go to the Admin Options create the new category, then add the category name you just created in the avatar folder.
And as a side note, did the original uploading feature work in Richard's avatar mod? This one uses the same thing.<
Comment out the variable Dim Stopwatch on inc_header, I added it to the config file.
To change file permissions, I use my admin settings that most webmasters get when they get hosting. I doubt you can do it with FTP but I will go ahead and do some research for you. My best guess is to write an email to your hosting to get write permissions on that folder.
anyway, without the write permissions, is it normal for the "allow uploading" section of the admin panel to have both radio buttons selected? if i try to select the "yes" in that part, it selects the radio button next to "yes" but leaves the radio button selected next to "no" as well. when i click "save settings" it just goes back to "no". i don't have the same behavior with the create and delete folder options.
That sounds like a bug. I'll play with it and see what I can fix.
Zip updated with the correct instruction to replace rather then to add directly after.
I tested on two environments for the radio button. One with permissions and one without. They both worked fine. Post the code of the page when that happens. I wanna see the source when both get checked.
Try clearing cache as well.
As for FTP, you cannot modify permissions that way. All is controlled by drive directories. If anything, you can always create the folders yourself.
Go to the Admin Options create the new category, then add the category name you just created in the avatar folder.
And as a side note, did the original uploading feature work in Richard's avatar mod? This one uses the same thing.<
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
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
آخرین ویرایش توسط
نوشته شده در
this is the error i get after clicking "save settings" and then clicking on the "avatars" link in the header
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'intAvatarAllowUpload'
/forumtest/avatar_data.asp, line 220
line 220 is where it asks
"if intAvatarAllowUPload = 1 then"
so if both radio buttons are selected, then i guess it thinks it's 0 and 1?
EDIT GAH! edits, then posts then edits again!!!
yes, the original upload from admin worked, and i can create folders with your addon, so i guess i have write permissions already available...
what page do you want the source from?<
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'intAvatarAllowUpload'
/forumtest/avatar_data.asp, line 220
line 220 is where it asks
"if intAvatarAllowUPload = 1 then"
so if both radio buttons are selected, then i guess it thinks it's 0 and 1?
EDIT GAH! edits, then posts then edits again!!!
yes, the original upload from admin worked, and i can create folders with your addon, so i guess i have write permissions already available...
what page do you want the source from?<
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
my snitz's:
www.vynsane.com/forum - l:guest p:guest (limited access account...)
www.WallCrawlersWeb.com/forum - The Spidey Database
آخرین ویرایش توسط
نوشته شده در
i'm just going to double-post as opposed to double-edit...
you tested this with IE only, eh? it's letting me do it in IE, but not in FireFox, and i think it's because you don't have <form ></form > tags around the radio buttons. IE is far more forgiving than FF - to a fault...
here's an image of goofy stuff happening with the radios in FF...
<
you tested this with IE only, eh? it's letting me do it in IE, but not in FireFox, and i think it's because you don't have <form ></form > tags around the radio buttons. IE is far more forgiving than FF - to a fault...
here's an image of goofy stuff happening with the radios in FF...
<
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
my snitz's:
www.vynsane.com/forum - l:guest p:guest (limited access account...)
www.WallCrawlersWeb.com/forum - The Spidey Database
آخرین ویرایش توسط
نوشته شده در
error on Topic.asp...
Expected end of statement
/forumtest/topic.asp, line 596
Response.Write " <table width=" & intAvatarWidth &" height=" & intAvatarHeight & " cellspacing=""0"" cellpadding=""0"" border=""0"" style="" background-image: url('" & Member_Avatar & "');background-repeat: no-repeat; background-position: center;"" ID="Table1">" & vbNewLine & _
expects the end at the second quote after
background-position: center;"" ID="Table1">" & vbNewLine & _
------------------------------^<
Expected end of statement
/forumtest/topic.asp, line 596
Response.Write " <table width=" & intAvatarWidth &" height=" & intAvatarHeight & " cellspacing=""0"" cellpadding=""0"" border=""0"" style="" background-image: url('" & Member_Avatar & "');background-repeat: no-repeat; background-position: center;"" ID="Table1">" & vbNewLine & _
expects the end at the second quote after
background-position: center;"" ID="Table1">" & vbNewLine & _
------------------------------^<
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
my snitz's:
www.vynsane.com/forum - l:guest p:guest (limited access account...)
www.WallCrawlersWeb.com/forum - The Spidey Database
آخرین ویرایش توسط
نوشته شده در
this is the error i get after clicking "save settings" and then clicking on the "avatars" link in the header
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'intAvatarAllowUpload'
/forumtest/avatar_data.asp, line 220
line 220 is where it asks
"if intAvatarAllowUPload = 1 then"
so if both radio buttons are selected, then i guess it thinks it's 0 and 1?
EDIT GAH! edits, then posts then edits again!!!
This error would come from the value of intAvatarUpload to be neither 1 or 0. Once I get that error fixed in the Admin Config that should go away.
I just downloaded the root of all evil, Firefox. I'll test around in it.
Firefox is fine. Came up perfectly.
EDIT: Firefox is wierd. Sometimes the admin page updates and sometimes it doesn't. As far as the HTML, it seems right. What is Firefox doing that IE doesn't?
My HTML usually is compatible with Firefox, IE and Netscape 6.0+ without me referencing any guides.
EDIT #2: Try this. Use IE and set the "Automatically create
a new folder with
a new category?" to yes. Then open up firefox and go to the page. It should go on Yes. Then if you refresh again, it show go blank. It seems there is a counter I don't see yet with Firefox adding or increasing the value of the value on each refresh. I'll try to track it down.
Updated the Zip with a modified topic.asp. Changed the quotes to mimic the rest of the page.<
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
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
آخرین ویرایش توسط
نوشته شده در
i see the form tags now... i don't know what i was looking at...
topic.asp now working.
EDIT:
topic.asp now working.
EDIT:
Originally posted by ZuelOriginally posted by vynsane
EDIT: Firefox is wierd. Sometimes the admin page updates and sometimes it doesn't. As far as the HTML, it seems right. What is Firefox doing that IE doesn't?
My HTML usually is compatible with Firefox, IE and Netscape 6.0+ without me referencing any guides.
EDIT #2: Try this. Use IE and set the "Automatically create
a new folder with
a new category?" to no. Then open up firefox and go to the page. It should go on Yes. Then if you refresh again, it show go blank. It seems there is a counter I don't see yet with Firefox adding or increasing the value of the value on each refresh. I'll try to track it down.
did like you say, changed it in IE, and nope, the settings stayed the same with at least 8-10 refreshes in FF. even if i changed all radios to the opposite in FF, if i refreshed it went back to the settings i had from IE (still in FF...)
it has to be something with the first two buttons - it seems the first two bounce one check back and forth between them, always being stolen by the first button - i've seen instances of checks for both "yes" and "no" next to "allow uploading" and i've seen instances of checks for neither "yes" nor "no" next to "create folder" but not the other way around.
and FF isn't the root of all evil! it just makes you work harder for your results!<
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
آخرین ویرایش توسط
نوشته شده در
Currently a bug I cannot seem to fix. Here's the scenario:
When someone saves the value of this field to yes, Automatically create a new folder with a new category, then when they refresh the page, it moves off of yes to something blank. Dunno how or why but it only happens in Firefox.
The value "no" works fine. Nothing happens when you save the value to no. With testing the DB, even if you save settings when the value isn't not selected it still shows up in the DB as yes. I'll try to replicate the Type Mismatch error.<
When someone saves the value of this field to yes, Automatically create a new folder with a new category, then when they refresh the page, it moves off of yes to something blank. Dunno how or why but it only happens in Firefox.
The value "no" works fine. Nothing happens when you save the value to no. With testing the DB, even if you save settings when the value isn't not selected it still shows up in the DB as yes. I'll try to replicate the Type Mismatch error.<
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
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
نوشته شده در
i actually had it happen where both "auto create" and "auto delete" were blank. the HTML looks good, though, so i'd venture a guess that it's somewhere in the scripting of the form action, and i'm afraid i can't help you there... not yet, anyway.
another thing that's weird... when i upload via "avatars.asp" the URL in the pop-up claims to be at http://www.twistingshadows.com/forum/ yadda yadda, and on my admin_review_avatar.asp page, it shows me two versions of each file i uploaded - one in the correct folder on my server, and a second "ghost" one that's just a redex with the full path to your website as shown above.<
another thing that's weird... when i upload via "avatars.asp" the URL in the pop-up claims to be at http://www.twistingshadows.com/forum/ yadda yadda, and on my admin_review_avatar.asp page, it shows me two versions of each file i uploaded - one in the correct folder on my server, and a second "ghost" one that's just a redex with the full path to your website as shown above.<
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
my snitz's:
www.vynsane.com/forum - l:guest p:guest (limited access account...)
www.WallCrawlersWeb.com/forum - The Spidey Database
نوشته شده در
another thing that's weird... when i upload via "avatars.asp" the URL in the pop-up claims to be at http://www.twistingshadows.com/forum/ yadda yadda, and on my admin_review_avatar.asp page, it shows me two versions of each file i uploaded - one in the correct folder on my server, and a second "ghost" one that's just a redex with the full path to your website as shown above.
lol, I'll see what I did wrong.
EDIT: Ah I found it.
<td bgcolor=""" & strPopUpTableColor & """><input maxLength=""255"" name=""AvatarURL"" value='http://www.twistingshadows.com/forum/" & image & "' size=""40"" readonly></td>" & vbNewLine & _
I'll change that to the forum URL.
Zip File updated. I also added a change for Admin_Review_Avatar.asp.<
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
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
آخرین ویرایش توسط
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...