Advertisement:

Author Topic: is that possible to load a file (txt, pdf, doc) on button "upload image"  (Read 2499 times)

OC-Sar

  • Newbie
  • *
  • Posts: 34
Hi, :)

I am creating a website, I would change to "upload picture"
I want donnnez the user the possibility of a downloaded file (txt, doc, pdf)
for their release is that ca possible?

thanks  in advance.  :)

teseo

  • Hero Member
  • *****
  • Posts: 6169
Hi,

To disable images uploading, Admin Dasboard / Listing / Settings => Uncheck "Attach images".

And to upload files, use this plugin:

http://market.osclass.org/plugins/digital-goods_16

Regards

OC-Sar

  • Newbie
  • *
  • Posts: 34
thank you for your help,  :)

I installed "digital goods" on theme osclass,
but I test,
and I verified the "uplods / digital goods" folder, the file has not been download. :(

teseo

  • Hero Member
  • *****
  • Posts: 6169

OC-Sar

  • Newbie
  • *
  • Posts: 34
for me "digitalgoods" The plugin has been installed correctly with the database but I leursque test
  Download any file,

teseo

  • Hero Member
  • *****
  • Posts: 6169
Set permissions to 777 for uploads/digitalgoods folder.

Create a file debug.log in /oc-content also with 777 permissions and include this line in your config.php (before the last ?>):

Code: [Select]
define('OSC_DEBUG_LOG', true);
Try to upload some allowed file (you can see the list in the plugin config in Admin Dashboard) and then check if debug.log shows some error...

Regards

OC-Sar

  • Newbie
  • *
  • Posts: 34
thank you for help
I applied what you said, but no error mark on debug.log.

Regards

teseo

  • Hero Member
  • *****
  • Posts: 6169
What version of Osclass and theme are you using? ???

OC-Sar

  • Newbie
  • *
  • Posts: 34
Osclass 3.1.2

theme modern