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/O Code)
 upload and renaming pics
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

AnonJr
Moderator

United States
5768 Posts

Posted - 09 March 2006 :  08:46:50  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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. =/<
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 09 March 2006 :  08:50:33  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
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 -
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 11 March 2006 :  12:52:30  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 13 March 2006 :  03:31:06  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
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 -
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 13 March 2006 :  06:25:10  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
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 -
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 13 March 2006 :  10:50:33  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 14 March 2006 :  04:51:53  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
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 -
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 14 March 2006 :  04:53:08  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Also the memberid is still hardcoded =(
<

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

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 14 March 2006 :  04:57:29  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
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 -
Go to Top of Page

Zuel
Average Member

USA
540 Posts

Posted - 14 March 2006 :  09:01:46  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 14 March 2006 :  09:13:10  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
No, that's the config file for the "upload system".
You've got mail btw =)<

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

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 03 April 2006 :  10:22:05  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
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 -
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 13 April 2006 :  02:57:40  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Zuel: Wouldn't it be kindof easy to mod your avatar mod (http://forum.snitz.com/forum/topic.asp?TOPIC_ID=60156) to do what I want?
Sounds like it anyways..<

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

Zuel
Average Member

USA
540 Posts

Posted - 13 April 2006 :  09:16:46  Show Profile  Visit Zuel's Homepage  Reply with Quote
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
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 13 April 2006 :  10:15:51  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Well, I could do that =)
I just thought your mod was kindof what I need and it sure look better..
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | 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