Author |
Topic |
|
Presario
Starting Member
46 Posts |
Posted - 24 December 2005 : 15:08:25
|
Just a small problem. When someone submits their own avatar, the full url address where it has been stored appears as :
http://www......co.uk/megabbs/default.asp/avatars/tester/gdicon6.gif
However, I cannot understand why `default.asp` appears in there. This causes a problem when I go to my profile, scroll through the avatars but when I come to the one (above), then the images is not there as it should be in :
http://www......co.uk/megabbs/avatars/tester/gdicon6.gif
(notice the default.asp) is now missing..
Can anyone help and explain how I can get rid of the `default.asp` entry from being put into the url when posting new avatars as it is this which is causing difficulties..
< Moved to Help: MOD Implementation by Shaggy /> |
Edited by - Shaggy on 01 January 2006 12:27:19 |
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 December 2005 : 11:12:00
|
quote: the full url address where it has been stored appears as
Appears where? When you post a message? When you review avatars?
quote:
However, I cannot understand why `default.asp` appears in there. This causes a problem when I go to my profile, scroll through the avatars but when I come to the one (above), then the images is not there as it should be in :
My initial thought is the inc_avatar.asp file or pop_profile.asp.
I'll take a look into it. Did you grab the current one in my thread?
Also try to post a screenshot of where this is occuring if you can. |
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 December 2005 11:21:37 |
|
|
Presario
Starting Member
46 Posts |
Posted - 27 December 2005 : 12:52:59
|
Thanks for the quick reply. It seems that when a user has submitted their avatar, it is being placed in a folder called `tester`.. However, when they then go to `Add New Avatar` screen, the `default.asp` statement has been put in : ie:
www.....co.uk/megabbs/default.asp/avatars/tester/
Therefore, when a user tries to use this avatar, obviously its not there because the default.asp folder does not exist..
See the image for an idea..
Like I said, ideally I need the uploaded avatars to go into the following folder like so :
http://www.mmmmmmm.co.uk/megabbs/avatars/tester/....jpg (or gif etc)
If you look at the next image, the avatars ARE being uploaded to my server, but for some reason its just the default.asp bit thats throwing me??
|
Edited by - Presario on 27 December 2005 12:56:10 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 December 2005 : 13:09:54
|
I know why.
I use the variable strForumURL to grab the forum path. In your case it is http://www.mmmmmmm.co.uk/megabbs/default.asp. In your admin config, if you switch it to http://www.mmmmmmm.co.uk/megabbs/ it should work fine. Unless your server is configured so it doesn't pick up default.asp or index.asp. If so then using it that way poses a problem with my code.
I shall try to find an alternative method to grab the forum url.
Thanks for finding that, I'll make the nesscessary changes. Until then you can do the following until I make it dynamic.
avatar_data.asp
FIND: <input maxLength=""255"" name=""AvatarURL"" value='" & strForumURL & image & "' size=""40"" readonly>
REPLACE: <input maxLength=""255"" name=""AvatarURL"" value=""http://www.mmmmmmm.co.uk/megabbs/""" & image & """ size=""40"" readonly>
or you can go to Admin Options > Main Forum Configuration > Forum URL: > http://www.mmmmmmm.co.uk/megabbs/
Either or will 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
|
|
|
Presario
Starting Member
46 Posts |
Posted - 27 December 2005 : 15:36:15
|
Absolute STAR!!!!
I just changed the Forum URL like you said and it works a treat! God knows why I didnt look at that first so apologies for wasting your time...
But, a big thanks for giving us such an excellent script...... Big thumbs up..... |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 27 December 2005 : 19:37:41
|
Glad I could help.
And bah your not wasting my time! Your enchancing my troubleshooting skills. |
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 December 2005 19:38:27 |
|
|
Ignatius
Starting Member
2 Posts |
Posted - 09 January 2006 : 04:13:28
|
Since that one's resolved, hope you don't mind if I jump in here to avoid cluttering up the place with new topics....
I just implemented this on my new forum (not open yet). I have either 2 issues, or 1 issue and 1 question
1/
My "Avatar Settings" page is messed up. See image
It's probably something I screwed up in the editing, but where do I start looking
2/
My hosting provider does not allow scripting.filesystemobject. Does this mean the upload avatars bit won't work for me? (please advise) -All I really need is the ability for the user to point to an external URL. I have all the private and uploadable avatars switched off at present
When I enter a URL as a test user, however, it doesn't seem to point that user's avatar at the remote URL (The value gets lost). Is this something i've misunderstood or is it likely to be another cut/paste fubar by me?
FINALLY, as per the above, my start page is default.htm, which is a frameset document, running snitz in the main frame. I have to redirect the forum url to default.asp otherwise I get multiple nested framsets (not pretty). I can use the work-around in here to get it working, I just wanted to point out that Presario was not the only one to hit this issue.
Thanks in advance |
Edited by - Ignatius on 09 January 2006 04:15:58 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 10 January 2006 : 13:06:32
|
quote: Originally posted by Ignatius
Since that one's resolved, hope you don't mind if I jump in here to avoid cluttering up the place with new topics....
I just implemented this on my new forum (not open yet). I have either 2 issues, or 1 issue and 1 question
1/
My "Avatar Settings" page is messed up. See image
It's probably something I screwed up in the editing, but where do I start looking
2/
My hosting provider does not allow scripting.filesystemobject. Does this mean the upload avatars bit won't work for me? (please advise) -All I really need is the ability for the user to point to an external URL. I have all the private and uploadable avatars switched off at present
When I enter a URL as a test user, however, it doesn't seem to point that user's avatar at the remote URL (The value gets lost). Is this something i've misunderstood or is it likely to be another cut/paste fubar by me?
FINALLY, as per the above, my start page is default.htm, which is a frameset document, running snitz in the main frame. I have to redirect the forum url to default.asp otherwise I get multiple nested framsets (not pretty). I can use the work-around in here to get it working, I just wanted to point out that Presario was not the only one to hit this issue.
Thanks in advance
Sorry for the delay. I've been working on multiple things.
I have discovered there are numerous places where td and table tags are missing. About 3 of them. I'm releasing a fix for it by just updating the avatar_data.asp page soon. Until then to fix your problem, just edit the following:
Avatar_Data.asp Line 1150
Find:
Next
End If
rs.close
'=== Close Category Tables ===
StringBuilder.AddString " </table>" & vbNewLine & _
Replace it with:
Next
StringBuilder.AddString " </table>" & vbNewLine
End If
rs.close
'=== Close Category Tables ===
StringBuilder.AddString " </td>" & vbNewLine & _
Yes this uses filesystemobjects. If they are disabled then you cannot benefit from this mod. However, you are able to use the URL link to an external file. Just enter the full URL and hit go and you should be fine.
quote:
When I enter a URL as a test user, however, it doesn't seem to point that user's avatar at the remote URL (The value gets lost). Is this something i've misunderstood or is it likely to be another cut/paste fubar by me?
It all depends, where did you attempt to try this at? It is possible the link you are trying cannot be hotlinked.
EDIT: Okay....I just tried it on mine and its not working. I see all the functions. I'll get back to you. |
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 10 January 2006 13:22:24 |
|
|
Ignatius
Starting Member
2 Posts |
Posted - 12 January 2006 : 06:43:45
|
OK. Thanks
Not that I can do anything atm - my host is down for the 2nd time in a week :( |
|
|
|
Topic |
|