Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 upload and renaming pics

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
tribaliztic Posted - 22 February 2006 : 08:51:45
This is what I want:

- user click a link in the user profile
- user can upload 5 pics (via pop-up-window?)
- thumbs are created
- the pics are displayed automatically in profile

I can probably solve the display by renaming the pics to 1.jpg, 2.jpg and so on and have static links in the profile. But how do I upload the pics and rename them?
I was thinking that maybe I could use the code for the file sharing mod, but how do I make it rename the pics? And the thumbnailing won't be done without any components I suppose?
This is the code for uploading to the file sharing mod:
http://www.gotlandrace.se/tabort/pop_upload_new.txt<
15   L A T E S T    R E P L I E S    (Newest First)
tribaliztic Posted - 15 June 2006 : 02:57:50
What's the problem, do you get an error?
<
brian33433 Posted - 14 June 2006 : 16:29:00
well i can't get it to work, but i'm not real good with code, but if ya ever make it a mod would love to have it<
tribaliztic Posted - 14 June 2006 : 04:51:04
Oh, and sorry for the text in swedish =)
I think you can figure out what's the meaning of things, if not just ask..
<
tribaliztic Posted - 14 June 2006 : 04:47:59
Offcourse =)
The base code is from http://www.htmljunction.net/ezcodes.asp but I don't know how much is left from it.
My forum is also heavily modified so I don't know if it will work for you but here's the code I use now:
http://www.gotlandrace.se/tabort/uploadmod.txt
I use this link to call the popup from my modified profile page:
"javascript:openWindow6('ezuploadpopup.asp?memid=" & ppMember_ID & "')"

Let me know if it's working on a clean copy and I might sum up some instructions...
<
brian33433 Posted - 07 June 2006 : 23:10:51
hey tribal

so now that you have it working can you share it with us?<
tribaliztic Posted - 09 May 2006 : 10:47:33
I solved this! =)
I had to add the Folder-variable on a lot of places that I had missed =)
Now I can upload/delete/list files in folder uploadfolder/%memberid%/

Cool!
<
tribaliztic Posted - 09 May 2006 : 09:48:51
Okay, update:

It's possible to upload pics to the correct folder
It's possible to list files in the correct folder
It's possible to delete files in the correct folder

The upload worked but when I fixed the listing after delete (a reload made the list show content from the wrong folder) the upload stopped working.
Well, the upload is working but to the wrong folder and a reload after the upload show this error:

Current Folder:
Current Directory: /ezupload2/
Alt Current Directory: ezupload2\
Server.MapPath() fel 'ASP 0174 : 80004005'

Ogiltigt tecken i Path

/ezuploadorig.asp, line 44

Ett ogiltigt '/' eller '\' hittades i parametern Path för metoden MapPath.

Seems like the variable on line 10 isn't set in this file:
http://www.gotlandrace.se/tabort/uploaderror.txt

I guess the line isn't read after the reload? How to fix this?
<
tribaliztic Posted - 19 April 2006 : 06:20:59
Did you get them OK this time then? =) Didn't know hotmail blocked asp-files...
<
Zuel Posted - 18 April 2006 : 11:19:40
You can't send me asp files through hotmail. You'll need to zip them.<
tribaliztic Posted - 18 April 2006 : 10:19:27
Mail sent! =)
<
tribaliztic 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..
<
Zuel 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.<
tribaliztic Posted - 13 April 2006 : 02:57:40
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 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 Posted - 14 March 2006 : 09:13:10
No, that's the config file for the "upload system".
You've got mail btw =)<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07