Author Topic: VirtueUpload 1.0.0 - upload component for VM  (Read 228651 times)

eaxs

  • Beginner
  • *
  • Posts: 7
    • Hydra - Project Manager for Joomla!
VirtueUpload 1.0.0 - upload component for VM
« on: January 10, 2006, 22:00:14 pm »
Lots of things changed....
started as a small hack, it is now an independant component, which works hand in hand with VirtueMart!
VirtueUpload will give you and your customers the possiblity to upload certain files, corresponding to an order.
From the joomla-backend, you can manage, download and view the files very easily.

VirtueUpload 1.0.0 ( Release date: 01.03.2006 )

Sorry that it took a bit longer than expected...
So here´s the 1.0.0 Stable Release.

Some Features:

  • Language support: english, german, greek
  • Uploads are logged into a database table
  • Choose who can upload (Everyone, or a specific shopper group)
  • Restrict file-extensions
  • Set filesize-limit
  • Spam-protection: Bans a user after X uploads
  • Auto-rename: uploads can be automatically renamed
  • Users can leave a comment on the uploaded file
  • Show current upload-status to the user
  • Inform admin when a new file is uploaded
  • Upload allowed in Flypage, Account-maintenance and as pop-up.
  • Tiny template-system so you can easily modify the layout.

Installation and usage:

Install it just like every other component. Then make sure the config file is writable.
File-location: administrator/components/com_virtueupload/admin.virtueupload.cfg.php

Create a new component-link in your prefered joomla menu and/or use the little hack as described in the VirtueUpload Config. That's it!

Feel free to report any error or trouble with VirtueUpload.

  DOWNLOAD-LINK:
  http://www.eaxs.de/downloads/virtueupload1_0_0_stable.zip

Credits

Tested by
- Yorgos Pontsaris, pontsaris[-at-]freemail.gr
- 'deneb'
- 'websnooky'
- 'RAM85'

Translation
- Greek: Yorgos Pontsaris, pontsaris[-at-]freemail.gr



Version History

- RC1 [http://www.eaxs.de/]
- BETA [*removed*]

- ALPHA [*removed*]


ronwaste

  • Beginner
  • *
  • Posts: 23
Re: Customer can upload files
« Reply #1 on: January 11, 2006, 09:56:22 am »
Woderfull! Nice! Excellent! Thank You!

Works perfekt... unfortunately i am not able to program an extention. But the extention would very helpful.
While uploading the customer might think there is nothing happening anymore. can anybody programm a layer that pops up while a file is downloading with the message Upload in progress please wait ( and blinking dots.gif). Would be great!

And a second nice modification would be one which makes it possible to the customer to upload a secend filde as well.

last but not least, after the upload progress we need a admin notification so that the admin gets to know that there is a file uploaded for an specific order number...

in the future it would be nice if a fileupload was done, an automatically generated link would be addes to the orderlist in the backend.

and now i lean back and enjay my new features... sponsored by   eaxs

eaxs

  • Guest
Re: Customer can upload files
« Reply #2 on: January 11, 2006, 10:27:11 am »
Thanks for your feedback!
I will add your proposals tomorrow. Stay tuned  ;)

mosey

  • Jr. Member
  • **
  • Posts: 210
    • Zetahelp.net
Re: Customer can upload files
« Reply #3 on: January 12, 2006, 02:41:09 am »
*applauds* Great work! :) I'll certainly be tracking this modification! Would it be possible to actually consider making a full addon/module for VM that can be plugged-in as mentioned by ronwaste?  Then the admin has the option of allowing the user to upload/not upload files through the admin backend.

I think the upload size and file type is limited by the settings in Joomla or is there a restriction setting somewhere? :)

Thanks!
Back again! :) September 12th 2006

Don't worry about absolute urls! If you move your images around you can use this to update your database links!

Why not join the virtuemart IRC channel at #virtuemart on chat.freenode.net?

ronwaste

  • Beginner
  • *
  • Posts: 23
Re: Customer can upload files
« Reply #4 on: January 12, 2006, 09:49:15 am »
in my oppinion ... the php.ini from webserver have a file size restriction... sorry i am german...

eaxs

  • Guest
Re: Customer can upload files
« Reply #5 on: January 12, 2006, 10:11:48 am »
Yes there is an upload limit defined in php: ~8mb.

I´ll improve the hack a bit and post the changes here when its done  :)

ronwaste

  • Beginner
  • *
  • Posts: 23
Re: Customer can upload files
« Reply #6 on: January 12, 2006, 16:49:05 pm »
but fast

fox374

  • Beginner
  • *
  • Posts: 1
Re: Customer can upload files
« Reply #7 on: January 12, 2006, 18:00:53 pm »
I think this is what I need, but I am unsure how to implement it.  Where exactly is line 570?  In my cpanel editor, the lines are unnumbered, and copying the source code into dreamweaver shows inserting at 570 puts the hack inside function delete_record( $record_id, &$d ).  Is this correct?  I am just learning php, so I know my 'noobness' is probably annoying.  Any help I would greatly appreciate.  I want to be able to allow users to not only upload pictures to customize their purchase, but also text.  Thanks to all.  The site I am working on is www.declarationsinstone.com

ronwaste

  • Beginner
  • *
  • Posts: 23
Re: Customer can upload files
« Reply #8 on: January 12, 2006, 18:16:07 pm »
just send your php to ben(a)whitestem.de i do the changes 4 you

eaxs

  • Guest
Re: Customer can upload files
« Reply #9 on: January 12, 2006, 20:59:24 pm »
Code: [Select]
$tmp_cell = "<strong>".$VM_LANG->_PHPSHOP_ORDER_PRINT_PO_STATUS.":</strong> ".$order_status;
$tmp_cell .= "<br /><strong>".$VM_LANG->_PHPSHOP_ORDER_PRINT_PO_NUMBER.":</strong> " . sprintf("%08d", $db->f("order_id"));
$listObj->addCell( $tmp_cell );
-------------------HERE IS LINE 570--------------------------------

The new version is almost ready! Tomorrow you´ll have it!

New features:
- Make your settings in the virtuemart admin-area!
  - enable/disable upload
  - select shopper-group which can upload
  - insert your prefered upload-path
  - restrict file-types
  - restrict upload-size


ronwaste

  • Beginner
  • *
  • Posts: 23
Re: Customer can upload files
« Reply #10 on: January 12, 2006, 21:02:05 pm »
Nice Dude, is the enable disable function settable for every product or even all products?

eaxs

  • Guest
Re: Customer can upload files
« Reply #11 on: January 12, 2006, 22:08:07 pm »
Hmmm this would be very cool. I will see what i can do  ;D

ronwaste

  • Beginner
  • *
  • Posts: 23
Re: Customer can upload files
« Reply #12 on: January 13, 2006, 00:15:38 am »
ok but first please release the newer version :-) ill give you a bug repost ok? dreamteam like :-)

eaxs

  • Guest
Re: Customer can upload files
« Reply #13 on: January 13, 2006, 11:18:32 am »
BETA Version released!

New features:
- Make your settings in the virtuemart admin-area!
  - enable/disable upload
  - select shopper-group which can upload
  - insert your prefered upload-path
  - restrict file-extensions
  - restrict upload-size

Check the top of this topic


Plans for the next release:
- complete rework of the code in ps_order (the BETA code is a bit silly)
- notify admin when upload occures
- choose products and categories for which someone can upload
- Upload-Manager? (could be something like the media-manager in joomla)

ronwaste

  • Beginner
  • *
  • Posts: 23
Re: Customer can upload files
« Reply #14 on: January 13, 2006, 13:43:43 pm »
ok please add the function that a user can se wich data is uploaded...  also as text like... Shirtfront.jpg