Jump to content

backes

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by backes

  1. Hello Adrian, thanks for your hints. I hope I fixed the possible errors with writeaccess. The filename is now the name of the dg_download page. It was something, that bothered me too! The uninstall method is currently removed, so no dataloss will happen on uninstall.
  2. I did the template change. But I forgot to deinstall the php templates in the site/templates folder. So currently you have to update them manually or just delete them before you install the module. Because it checks if there are already these files. And if so, it wont copy them over. And you are right, I have to look into the naming of the downloaded files to make it a better UX for the enduser. Best regards.
  3. Hey Adrian, thanks for you responses... The hash / 404 problem occurred because I forgot to update the php templates in the modules folder. I just made my changes in the templates folder... also the regex for templates is now in the right place in dg_downloads. I don't want the access of the dg_download. Everything has to run against dg_downloads with the hash segment and the unique hash. The Apache check is built in now, I hope it works, because I have only a Apache 2.2 currently running on my machine. Thanks for this hint! And the $max->save should work now too. Again, thanks for this one! Now theres a new master version in the repository. The problem with uninstalling is definitely something to care about! I think in the first step, I will go with the approach of deleting just the htaccess files and the module files without something else. Thanks for your helping eyes! Martin
  4. Hey Guys, this is my first module and I hope, someone else has a use for it. It generates a .htaccess file at the assets/files/$id folder when a file is uploaded and generates a unique hash for each download. This is the content of the created htaccess with the changed filename. <Files "$yourfilename"> Order Allow,Deny Deny from all </Files> Some styling and changed etc. can be done in the installed dg_ template files. I changed the mechanics a bit, so i think that the dg_download.php could be deleted for the next release. You can access all Downloads you created through your unique file id. For example: http://example.com/downloads/hash/6ffbb022729a7e0f41cf74c28092731454c953655a884/ change the part behind the /hash/ to your unique file hash. If someone has some additions or somethings isn't working please reply. I'm looking forward to your feedback. I need it, because it's my first module! Best regard, Martin
  5. DownloadGuard for ProcessWire About DownloadGuard This simple module was developed to give clients or users a unique download link to access file downloads you offer them. Installation & Usage 1. Place the module files in /site/modules/DownloadGuard/ 2. In your admin, click Modules > Check for new modules 3. Click "install" for __DownloadGuard__ 4. In the module Settings you can edit the default count for max downloads and the time, the download should be active. 5. During the installation a Page „Downloads“ is created in your PageTree. You can create children under this Page to make Downloads. In the children page you get your unique hash and the ability to upload your file. Todo - Let the system create the download links, for easy copy and paste. BitBucket Repository: https://bitbucket.org/m_knorr/downloadguard/overview Direct Download: https://bitbucket.org/m_knorr/downloadguard/get/master.zip
  6. Thanks guys! Greetings to horst from aachen! It's build very straight forward. One lister template for the overview and a detail template where each personal information is stored as subpage. The filter is build with an taxonomy page where the categories are stored. These are added to each subpage through an ASM-Page field. It works fine without JS but the nice animation is build with Jquery and an Ajax call on click. If you need more information, just leave me a line.
  7. Hey! Some weeks ago I finished this site. Content is importet from Contao through the CSV Import Module. So it was easy to fill the Backend with informations, without copy & paste marathons. Thanks to processwire it was easy to crosslink from several positions in the templates! The ticketing is "under construction", but the general function is already under the hood thanks to apeisas shop module. DASDA Theater
  8. Thanks DaveP and thanks Soma! The MSN version is working fine! Thanks for that. I built the plain PHP version by myself, but the problem was, that it changed navigation points when it gets deeper in hierarchy. Maybe I had another error in my code but it didn't worked the way I wanted it to... Thanks for the fast response!
  9. Hello, I have a litte problem in the understanding how the module is working. When I just need a plain tree-menu this is the most easy way to accomplish the task. But I have two separate navigations that belong together. For example: First Navigation is a horizontal list with links of the 1st level. Second Navigation is a vertical list with links of the 2nd+ level. My problem is now, that I have no idea how I can build this with the module. How can I tell the second navigation to render just the 2nd level and more when the equivalent first item is active?! Best regards and thanks, Martin
×
×
  • Create New...