Author |
Topic |
AnonJr
Moderator
United States
5768 Posts |
Posted - 09 March 2006 : 08:46:50
|
I've got to fix this problem for my work forum too... I'll let you know if I figure out anything. It'll probably just have to be a popup form with all the requisite info passed to it... just what I wanted to fight with during the first cup of coffee. =/< |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 09 March 2006 : 08:50:33
|
In my case I could solve it via Request.Querystring, but when the popup is reloaded that info is lost = MemberID = "" =( < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 11 March 2006 : 12:52:30
|
How does the page reload?
You can simply add some code to set the query on the reload URL.
mID = Request.Query("MemberID")
<a href=""pop_up.asp?MemberID=" & mID & """>
Or a Meta Tag
"<meta http-equiv=""Refresh"" content=""1; URL=pop_up.asp?MemberID=" & mID & """>
Just a thought, but I had this working easily.
Other Information: When doing an upload script, it will fail if you have a Request.Form anywhere preceeding that call. Very annoying to get around. I had to pass alot of information via Query to get information passes.< |
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 11 March 2006 12:54:07 |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 13 March 2006 : 03:31:06
|
I tried that already Zuel but I couldn't make it work. It passed the member_id but I couldn't use it anyways.. < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 13 March 2006 : 06:25:10
|
Now I have uploads working.. Then the delete-function stops working.. =( I'm gonna find myself a high building to jump from soon..
On line 65 in this code: http://www.gotlandrace.se/tabort/ezuploadorig.txt I get an error about "file not found" I think I have to use the "folder"-variable in that line, but how?
Also, if you look in the file I have hard-coded the number 20 (my MemberID) because I couldn't use the variable "MemberID". Why?
Hopefully awaiting some answers.. < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 13 March 2006 : 10:50:33
|
Do a few checks to get the file name it is looking for.
Response.Write (SKF_strSaveFile & "\" & Request.Form(SKF_Item).Item)
This should tell you which file it is looking for. After you get it, try to access that file by URL. Also comment out the objFSO.DeleteFile so you can still get to it.
I see you have folder commented out. Does that function not work?
Could you post a test link?
We will get this 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
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 14 March 2006 : 04:51:53
|
I don't really want to post a test link since I don't have the time to check if someone upload some strange stuff =) (even though the script should filter out bad files..). I can e-mail you a login (but I think you've got it since last time? =)) < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 14 March 2006 : 04:53:08
|
Also the memberid is still hardcoded =( < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 14 March 2006 : 04:57:29
|
quote: Originally posted by Zuel
Do a few checks to get the file name it is looking for.
Response.Write (SKF_strSaveFile & "\" & Request.Form(SKF_Item).Item)
This should tell you which file it is looking for. After you get it, try to access that file by URL. Also comment out the objFSO.DeleteFile so you can still get to it.
I see you have folder commented out. Does that function not work?
Could you post a test link?
We will get this to work!
I tried that response.write but it didn't show anything. The file wasn't deleted either. I have to stuff the "folder"-variable into this link I suppose:
objFSO.DeleteFile SKF_strSaveFile&"\"&Request.Form(SKF_Item).Item
< |
/Tribaliztic - www.gotlandrace.se -
|
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 14 March 2006 : 09:01:46
|
If it doesn't show you anything then the variable has no value which is the problem.
Also what is a "inc" file? You have it on top. Config.inc.
If that is your config include, wouldn't it be something like incConfig.asp? It could be right, I dunno.< |
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 14 March 2006 09:22:14 |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 14 March 2006 : 09:13:10
|
No, that's the config file for the "upload system". You've got mail btw =)< |
/Tribaliztic - www.gotlandrace.se -
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 03 April 2006 : 10:22:05
|
Still can't get this to work =( And I was so close this time hehe.. I mean, how hard can it be? Too hard apparently but... < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
|
Zuel
Average Member
USA
540 Posts |
Posted - 13 April 2006 : 09:16:46
|
Yours is on the verge of being complete. Send me an email of the current error and code text. I'll give it a run.
My mod has like 3k lines of code that hasn't nothing to do with you want, I think.< |
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
|
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 13 April 2006 : 10:15:51
|
Well, I could do that =) I just thought your mod was kindof what I need and it sure look better.. < |
/Tribaliztic - www.gotlandrace.se -
|
|
|
Topic |
|