Author |
Topic |
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 27 January 2006 : 09:14:06
|
private upload and re-use works like a charme Zuel
BTW is there a way to limet the private uploads? Max 5 or so per forum member.
edit: Wrong Zuel name < |
Edited by - Bassman on 27 January 2006 13:21:45 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 January 2006 : 10:25:08
|
Your killing me. It's Zuel!
As for the limit, I was thinking of it. I was also thinking of giving Admins the ability of viewing all private avatars and list the owner below the avatar. I might have to make another column in the DB to control the counts. I'll play with it a little.< |
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
|
|
|
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 30 January 2006 : 05:12:41
|
Select Case (Request.QueryString("mode")) Case "Register": '=== Do Nothing === Case Else
The red : part that needs to be edit in inc_Profile.asp, is that ok in there?< |
Edited by - Bassman on 30 January 2006 05:13:07 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 30 January 2006 : 10:04:14
|
By all means go for it, but for what reason?
That piece of code merely displays the link to change a users avatar only when he/she is not registering. You cannot register and choose an avatar at the same time.
However I should create a placeholder there that says something like, "After registering you may edit your profile to choose an avatar." or something similar.
I will also post the rest of the code today.< |
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
|
|
|
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 30 January 2006 : 13:26:29
|
Ah ok, so no problems with that.< |
|
|
TonyB7
Junior Member
USA
267 Posts |
Posted - 30 January 2006 : 23:29:24
|
Here's an odd one. Why can't we upload http://www.shannondale.org/pics/whitetiger.gif ? Keeps erroring out telling us to check the filesize. But it's only 6k and I have the limit set to 10k.
The user was able to upload the same file as a 3k .jpg.< |
|
|
TonyB7
Junior Member
USA
267 Posts |
Posted - 31 January 2006 : 00:09:41
|
Here's another I just verified: Change anything on your profile (I just changed my favorite link), hit 'submit', and it comes back 'no avatar selected'.
PS Don't forget the missing trash can icon. Seems to be looking for an icon in /images/, but I don't have an /images/ directory.< |
Edited by - TonyB7 on 31 January 2006 00:18:45 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 31 January 2006 : 15:15:53
|
I tried uploading several files and they all went through. I don't know where to start just quite yet. I'll continue testing.
Also I tried uploading that file and it worked.
Thanks for the update, I'll patch a fix for it. I'll let you know when it has been made.
quote:
PS Don't forget the missing trash can icon. Seems to be looking for an icon in /images/, but I don't have an /images/ directory.
I was about to argue this one. But your right, in two instances there are points where I used images/trashicon.gif for the image instead of getCurrentIcon(strIconTrashcan,"", "").
Great catch!
Update: I found the part that is erroring. I forgot to readd a hidden field that holds your avatar info so when you submit it gets a value instead of nothing.
Keep them coming = )< |
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 January 2006 15:39:19 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 31 January 2006 : 16:31:06
|
To Fix the Image Error:
Open incAvatarData.asp
Find Line 261: scriptDelete = "<a href=""frmAvatarMain.asp?file=" & fullPath & "&method=Delete""><img src=""images/icon_trashcan.gif"" border=""0""></a>"
Replace: scriptDelete = "<a href=""frmAvatarMain.asp?file=" & fullPath & "&method=Delete"">" & getCurrentIcon(strIconTrashcan,"Click to delete " & name & " avatar.","hspace=""0""") & "</a>"
Find Line 372: scriptDelete = "<a href=""frmAvatarMain.asp?file=" & fullPath & "&method=Delete""><img src=""images/icon_trashcan.gif"" border=""0""></a>"
Replace: scriptDelete = "<a href=""frmAvatarMain.asp?file=" & fullPath & "&method=Delete"">" & getCurrentIcon(strIconTrashcan,"Click to delete " & name & " avatar.","hspace=""0""") & "</a>" Profile Error:
Open inc_Avatar.asp inc_Profile.asp
Find Line 227: " </table>" & vbNewLine & _ end if
Make it look like: " </table>" & vbNewLine & _ " <input type=""hidden"" name=""AVATAR_URL"" value=""" & rs("M_AVATAR_URL") & """>" & vbNewLine end if
Zip file updated along with the readme.
Note - User moderation of the Personal Avatar Folder has been included. incAvatarFunctions.asp has been edited along with incAvatarData.asp has a new subroutine. Either use a file viewer to view the changes or just simply replace the files.< |
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 January 2006 22:21:13 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 31 January 2006 : 22:20:44
|
quote:
>Zip file updated along with the readme.
What am I missing? Following two of your links, I download a readme dated 12/29/05 and another dated 11/18/05. Neither of these mentions incAvatarFunctions/Data.asp nor has them included.?
Download the current files from this location: http://www.twistingshadows.com/avatar_addon.zip
You may have tried an eariler version which I have kept for future reference and personal copies.
quote:
Okay, I found a link in your message dated 1/25. The readme still says 1/20 but the file date is 1/31.
Just as well because I couldn't find the second reference to line 372 you mention in your last post. There's no 2nd scriptDelete in my incAvatarData.asp.
I guess I missed a few places to update the date. I see why you can't find the second one. I didn't post the new file of Personal avatars until that last post. So there was no way for you guys to have that new subroutine....doh.
quote:
Find Line 227: " </table>" & vbNewLine & _ ------------------------------- There's only 149 lines in my inc_Avatar, and no occurences of the above.
Shit, its inc_Profile.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
|
|
|
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 10 February 2006 : 13:57:40
|
Zuel,
Sins I got IE7 I found a little problem when pressing the 'upload a avatar' link. The page reloads and the popup screen disapears behind the fullscreen avatar main page. So I changed the way it works, maybe you can use it to:
In incAvatarFunctions.asp at line 107 look for:
scriptPrivateUpload = "<a href='" & url & "' onClick=""myWindow = window.open('frmAvatarMain.asp?Select=" & ssType & "&method=Private','mywin','left=20,top=20,width=550,height=225,toolbar=0,resizable=0');"">"
and change it to:
scriptPrivateUpload = "<a href=""JavaScript:openWindowUploadAvatar('frmAvatarMain.asp?Select=" & ssType & "&method=Private');"">"
In inc_header.asp look for (at line 255):
"function openWindow6(url) {" & vbNewLine & _ " popupWin = window.open(url,'new_page','width=500,height=450,scrollbars=yes')" & vbNewLine & _ "}" & vbNewLine & _
below that add this:
"function openWindowUploadAvatar(url) {" & vbNewLine & _ " popupWin = window.open(url,'new_page','width=550,height=260,scrollbars=yes')" & vbNewLine & _ "}" & vbNewLine & _< |
|
|
SinisterDragon
Starting Member
2 Posts |
Posted - 10 February 2006 : 18:48:42
|
I just downloaded and implemented this mod today but now i get this error:
quote: Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/forums/avatar_data.asp, line 1113
i had gotten one that had an error with the database before, but i fixed that...and now i get this...< |
|
|
SinisterDragon
Starting Member
2 Posts |
Posted - 10 February 2006 : 19:08:56
|
ignore that last post please...
i realized what i had done....lol
i ran the wrong setup file < |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 13 February 2006 : 00:04:15
|
Bassman,
I'll check it out this week. I was finally had a nice busy work week, nothing too boring. Yes yes, find the bugs.< |
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 - 11 March 2006 : 08:10:20
|
My members have found a new one. Apparently in an effort to choose 'no avatar', they are simply deleting their avatars. I noticed this in the 404 error logs.
And I still can't assign a member avatar. When I go into their profile and click to choose an avatar, it displays and assigns *my* avatar - not theirs.< |
|
|
Topic |
|