[ic] Re: [mvm] Serious limit in minivend 4 for malls, plus solution

Murray Gibbins Murray@scotweb.ltd.uk
Thu, 21 Sep 2000 14:21:09 +0000


Murray Gibbins wrote:

> 
> If no one does it soon when I get time I'll upgrade to 4.0.4a fix it with a
> directive and submit a patch,

ok found a way with 4.0.4

in Config.pm add a line 

"['ComAdjString',		  'integer',	         20]," at about line 234

then change the line in Data.pm from "if($its++ > 20) {" to

"if($its++ > $Global::ComAdjString) {"

around line 1098.

This give you a new minvend.cfg directive called ComAdjString default setting 20
takes intergers.

Cool.

Can't submit a patch as my Vend/* file have been customized too much.

-- 
  ____
  \__/    Murray Gibbins             murray@scotweb.ltd.uk
  /  \    Programmer
_ \__/ _  ================================================
\\ || //  Scotweb Limited,             info@scotweb.ltd.uk
 \\||//   13a Albert Terrace,    http://www.scotweb.ltd.uk
  \||/    Edinburgh EH10 5EA   Tel: +44 (0)  131 270 82 33
   ||     Scotland. Europe.    Fax: +44 (0) 7020  93 49 04