<div dir="ltr"><div><div><div><div><div><div><div>Hi Alex<br><br></div>I tried the ModuleBuilder from Technokraft. It works. And it is not necessary to replace vtlib/thirdparty/dZip.php, because the recent version because it users zip library from modules/ModuleBuilder/utils.<br><br></div>Few issues I had to fix is <br><br></div>in modules/ModuleBuilder/actions/BuildModule.php  under function create_tablesq2()<br></div>Changed primary key 'default' value to NOT NULL<br>$primarykey    = '`recordid` int(25) <b>NOT</b> NULL, ';<br><br></div>and applied strtolower() in<br>/modules/ModuleBuilder/Module_Template/ModuleFile/ModuleFile.php  under function createUserFieldTable()<br>    $sql    =    "CREATE TABLE IF NOT EXISTS `vtiger_".<b>strtolower</b>($module)."_user_field` ( ...<br><br><br></div>Cheers<br></div>Sutharsan Jeganathan<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 23, 2018 at 12:15 AM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello list,<br></div>I downloaded a module that lets me build other modules. Here's the link:<br><a href="http://www.technokrafts.com/technokrafts-shop/vtiger-crm-addons/vtiger-module-builder/?attribute_select-vtiger-version=7.0.1" target="_blank">http://www.technokrafts.com/<wbr>technokrafts-shop/vtiger-crm-<wbr>addons/vtiger-module-builder/?<wbr>attribute_select-vtiger-<wbr>version=7.0.1</a><br><br></div>The website states that customers have reported failure to import the resulting modules, and I ran into exactly that problem. The stated fix is this:<br><br>"Kindly note this issue is due to a bug in vTiger’s 6.5.0, 7.0.0 and 7.0.1 code. This file: /vtiger/vtlib/thirdparty/dZip.<wbr>inc.php in vTiger is buggy. Please change/replace this same file by the same file from vTiger 6.4 and it will work properly."<br><br></div>Obviously, it makes me nervous to just go replacing files with ones from old versions. Is this okay to do in this case? Will an upcoming patch address whatever bugs are causing this problem? Or should I simply not use this module, and try to find another one? This is the only free one I've discovered so far, so I hope I can get it to work. Thanks for any help.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><br>-- <br><div class="m_-5064222435665472604gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>