Fork me on GitHub

Modifying NukeOwl to Upload URLs  Bottom

  • I'd like to figure out a way for the user to be able to add URLs to NukeOwl folders using the same method the module uses to upload files. Basically, I have one folder that I would both files and URLs to be listed in.

    So far, I've managed to find the NukeOwl_forms_files_upload function in pnforms.php and copy the function, calling the new one NukeOwl_forms_URL_upload. I done the same thing in pnformsapi.php. For both functions Ive made what I believe are the adjustments to remove the instances of "files" and replace them with URL. I've created a new table in the database, similar to the "owl_files" table, but calling it "owl_urls" and I believe I've correctly adjusted the upload function to talk to the correct table.

    But my problem now is that when the user tries to upload a URL, they get an error saying "File Transfer Failed/ Make sure that the size of the file doesn't exceed the upload limit set by your server."

    This can't actually be the problem, as I have no problem upload large files.

    Anyone have any experience with NukeOwl and maybe have some ideas for me? I don't want to use the Web Links module, as I would like both the uploaded files and URLs to appear together.

    Thanks in advance for any assistance offered.
  • 0 users

This list is based on users active over the last 60 minutes.