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
Next Page
Author Previous Topic Topic Next Topic
Page: of 4

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 22 February 2006 :  08:51:45  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
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<

/Tribaliztic
- www.gotlandrace.se -

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 23 February 2006 :  06:53:12  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Noone?
Zuel I KNOW that you're itching to solve this.. ;)
<

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

ILLHILL
Junior Member

Netherlands
341 Posts

Posted - 23 February 2006 :  20:24:41  Show Profile  Reply with Quote
This would be hot.
It's definitely out of my league though, but I'm helping you up this in hopes
somebody comes along.

If I may suggest a size limit might come in handy especially with cameras nowadays going
way over 6 megapixels and with that images that go way over 2 mb per piece...not cool if
you have a couple hundred members all uploading their pics.

Greets, D<

CLPPR.com - All The News Only Seconds Away
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  03:24:17  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Well, then a auto resize would have to be used when before creating the thumbs or something. Also out of my league so I'll keep my fingers crossed that someone will have mercy =)
<

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

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 24 February 2006 :  04:09:41  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
I'd recommend using a component, which you'll need for resizing anyway.
What components do you have available on your server?<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  04:11:41  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
well... Don't know really, I'll have a look if I can find out how to list all components...
<

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

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 24 February 2006 :  04:14:59  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
This script might help. <

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  04:29:18  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
This could be done in php also if anyone would like to =) Since it's in a pop-up that should be no problem afaik...
<

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

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  04:49:57  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
quote:
Originally posted by OneWayMule

This script might help.



Thanks! =)

Is it supposed to take really long time to run the script?
It's been running since my last post and still nothing..
<

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

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 24 February 2006 :  05:26:07  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
Takes a few seconds usually... what server are you on?<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  05:37:55  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
win2k
seems like all asp-pages stopped working (I had to abort the script).
txt-files show allright though.
I'm just about to reboot the server and try again.
<

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

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  06:11:09  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Nope, it's just not working on my server.
I'm beginning to thing that my server don't like you, about half of your mods wont work on it =)
Try yourself here: http://grv2.gotlandrace.se/aspinfo.asp
<

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

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 24 February 2006 :  06:18:56  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
Looks like it...

Try removing the red lines from the following code in aspinfo.asp:
Call Display_Header()
Call Display_Server_Information()
Call Display_Application_Object()
Call Display_Request_Object()
Call Display_Response_Object()
Call Display_Server_Object()
Call Display_Session_Object()
Call Display_All_Components()
<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  06:22:57  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
removed!
<

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

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 24 February 2006 :  06:34:11  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
I even renamed the file to aspinfo2.asp to be sure the file wasn't cached.
What components would be of interest?
<

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

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 27 February 2006 :  04:50:52  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
http://www.google.com/search?q=asp+upload+component

Any luck getting the script to run on the "I hate OneWayMule"-server? <

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07