Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
dspaan wrote:But this is a RATIO campaign, i think this is a bug? I can't imagine the system was intended for users to bypass the campaign defined algorithm.
blackbird2306 wrote:Ok I help you with this. You need to put only 5 lines of code in vicidial.php:
Find the function "NeWManuaLDiaLCalLSubmiT(tempDiaLnow,NMDclick)" (it's about line 8505 on newest svn revision 3134) and place the red part between the normal black code:
if (MDPhonENumbeRform == 'XXXXXXXXXX')
{MDPhonENumbeRform = document.vicidial_form.MDPhonENumbeRHiddeN.value;}
if (MDPhonENumbeRform.length < 5)
{
alert_box("<?php echo _QXZ("YOU MUST ENTER A PHONE NUMBER TO USE MANUAL DIAL"); ?>");
return;
}
if (MDDiaLCodEform.length < 1)
{MDDiaLCodEform = document.vicidial_form.phone_code.value;}
hunter2009 wrote:blackbird2306 wrote:Ok I help you with this. You need to put only 5 lines of code in vicidial.php:
Find the function "NeWManuaLDiaLCalLSubmiT(tempDiaLnow,NMDclick)" (it's about line 8505 on newest svn revision 3134) and place the red part between the normal black code:
if (MDPhonENumbeRform == 'XXXXXXXXXX')
{MDPhonENumbeRform = document.vicidial_form.MDPhonENumbeRHiddeN.value;}
if (MDPhonENumbeRform.length < 5)
{
alert_box("<?php echo _QXZ("YOU MUST ENTER A PHONE NUMBER TO USE MANUAL DIAL"); ?>");
return;
}
if (MDDiaLCodEform.length < 1)
{MDDiaLCodEform = document.vicidial_form.phone_code.value;}
Is this Feature any one tried ???
Users browsing this forum: No registered users and 59 guests