♥Gyakutsuki Posted February 2, 2015 Share Posted February 2, 2015 (edited) hello, I created this contribution to help all the no programmers to install easily a new module. you can use this module for osc 2.3 but It will be very interesting for 2.4 and next. To create a module is very easily. example for ht_hreflang.php modules/header_tags/ht_hreflang.phplanguages/modules/header_tags/ht_hreflang.php Compress in zip and that's all. the system has a security and you can't upload a file everywhere, just in modules and languages directory if your server does'nt accept to write the files in the directory, just change the right on the directory in 777 and not on the files must be in 644. I hope the community wiil accept this contribution and propose this installation process. Tested on bootstrap gold. Comment and return are welcome to improve the development link to upload the module http://addons.oscommerce.com/info/9207 Edited February 2, 2015 by Gyakutsuki multimixer and oscMarket 2 Quote Regards ----------------------------------------- Loïc Contact me by skype for business Contact me @gyakutsuki for an answer on the forum Link to comment Share on other sites More sharing options...
♥Gyakutsuki Posted February 2, 2015 Author Share Posted February 2, 2015 No other opinion ? Very easy to install for test, inside the contribution, I inserted an example to test. Quote Regards ----------------------------------------- Loïc Contact me by skype for business Contact me @gyakutsuki for an answer on the forum Link to comment Share on other sites More sharing options...
tgely Posted February 2, 2015 Share Posted February 2, 2015 (edited) Great I like it! Why dont you use admin box addition tools_upload.php in box directory? <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ foreach ( $cl_box_groups as &$group ) { if ( $group['heading'] == BOX_HEADING_TOOLS ) { $group['apps'][] = array( 'code' => 'modules_upload.php', 'title' => BOX_TOOLS_MODULES_UPLOAD, 'link' => tep_href_link('modules_upload.php') ); break; } } ?> And I prefer better the oscommecre jquery buttons then tep_image_button() function. At this moment the question is who authenticate the modules for the uploader?tep_CanonicalUrl()? Edited February 2, 2015 by Gergely Gyakutsuki 1 Quote osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
♥Gyakutsuki Posted February 3, 2015 Author Share Posted February 3, 2015 Tk Gergely for comments tep_CanonicalUrl () ==> include inside add on now (not tested butmust work) tep_image_button() change by tep_draw_button ==> done menu access module upload ==> done At this moment the question is who authenticate the modules for the uploader? I think the process must become a best pratice for all. That's the only way to have an homogene environment for the modules. The communication must be important like a post it to explain how to create a module. I created a new package including the comments. Quote Regards ----------------------------------------- Loïc Contact me by skype for business Contact me @gyakutsuki for an answer on the forum Link to comment Share on other sites More sharing options...
tgely Posted February 3, 2015 Share Posted February 3, 2015 One hazard seems. Addon area use zip files but its danger for users. zip files should contain a certificate that the package self is authenticated. Quote osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
♥Gyakutsuki Posted February 3, 2015 Author Share Posted February 3, 2015 If you use .phar, .xpi ... that 's the same problem ? it does'nt change with the actual process, just it's more simple. Also, lot of people download the zip and if there is a pb with a zip,allthe communauty will known quickly ? For example, with worldpressyou can download a zip since your own site, you don't know how to do the program and what it is inside ? To have a good system, a community manager must verify the every add on like prestashop do but it's not free. No is perfect. But if you have idea to do a best security, I am interesting. Quote Regards ----------------------------------------- Loïc Contact me by skype for business Contact me @gyakutsuki for an answer on the forum Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.