amol.karande
Retired Forum Member-
Posts
31 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by amol.karande
-
Basically I want to perform some validation on accepting user data for that I want to go on different php page where I want perform database connection after validation I may need to send user to configureproduct.tpl to fill value again. But what is happening now is that it is executing that page but not performig ay task on that page and directly going to next page of whmcs so validation part is not executing that is what I want to perform.
-
I running javascript in that I have window.location='location' but it doesnt work.. Is their are setting for this or what could be the reason I tested code around that works but not that please reply
-
when we login as admin we can order the product using any client so I want to know that whether it passes through actionhooks.php as it passes when we place order as client or is their any settingd for that
-
Basicaly I want to validate users value in customfield he entered while product configuration but I am not getting how to access customfields values in js codes function which I will call on submit.If possible tell me the way by which I can access customfield value in js code As I was not able to do that I tried to do some task in actionhooks.php I did my sql part but on else part I need to redict to configuration page for that perticular product as like when we click on EditConfiguration link in viewcart.tpl I think first part is appropriate for my task so please tell me how to access customfiled value entered by user in that .tpl file only on submit
-
I dont know whether this will help you or not but I want to tell you that by adding code as {php} $customflds = $this->get_template_vars('customfields'); print_r($customflds); {/php} this will print whole arrar of custom fields the nI think to get specific value you need to use syntax as $customflds[1]['id'] where id is name of the field let's try
-
I want to get information from user when he is ordering product, at that time I would like to get password for my product, is it posible to make customfield as password type.
-
I ma using get_template_vars() function in my .php file which I have in .tpl using {fetch file ,but in this I am facing problem that I can get few varibles but not all e.g $companyname,$currency these are single values but in single values also field $pagetitle I am not able to get Also tell syntax to access array fields as $products is array so what should I use with get_template_vars()
-
I am trying to add some functionality for that I want to include() my .php to .tpl but am getting warnig as URL file-access is disabled in the server configuration failed to open stream: no suitable wrapper could be found so what should I do to anable this include() function in .tpl Thank you
-
Thank you sir I have done with issue with custom fields access and I am in last stage of my applications first part. thank you:)
-
thank you I am able to run actionhooks as per my requirment.but one more issue I have to clear I want to access custom fields as their is table for custom fields how I supposed to go in order to get custom fields of specific client. Can you guide me on that Thank you
-
Thank you sir I was makingmistake in where clause variable I got correct way to give it from your query as (WHERE `id` ='".$userid."'"). So now I am able to run query as my expectation. Thank you
-
$sql = 'SELECT `userid` FROM `tblorders` WHERE `id` = $vars["OrderID"] LIMIT 0, 30 '; $sql = 'SELECT * FROM `tblclients` WHERE `id` = `$userid` LIMIT 0, 30 '; I am trying to run these two queries in actionhooks.php but I am not able to run those.But same queries with hardcodes values for $ordervar`,`$userid` respectively runs perfectly .Also I have tested those variable with various combination of coates but not getting please give the the solution over it thank you
-
As you have deal with actionhooks please tell me that can I run any action such as connecting to other site because on order completion I want to run some api which is at different website as action hooks dont have any event related to it so ho could i achieve it please guide me thank you
-
Previosly we have decided for same but now we are using new version of whmcs so I am not getting how to deal with checkoutscript and even if we use cheackoutscript as it also dont have submit button or ant event so how to go to other page using that please guide Thank you
-
I am using actionhooks.php for the purpose of performing some action I want to perform task that when user clicks checkout then I want to perform task as it should connect to other website i.e I want to perform action="http://www.dummy.com" as actionhooks.php has no event so to achieve this what should I do I stuck on this point I about to achieve my project. so please give me some solution on this Thank you
-
Sorry sir I couldent got your suggestion. could you please add some more information about this Thank you
-
Hello sir I think you are guiding me on coorect way. I am trying to see database but at database I am getting same values for some case and some integer value for some user Can you please tell about this Thank you sir
-
Can you tell me how to check database?
-
We are getting same value of all custom fields when we look into customer profile. We not getting the values which we had submitted where could be the problem Please guid on this
-
We have added custom product fields, but when we select product we select fields then in client side we are not getting proper selected filelds.Why this is so? Please tell something about this. Thank you.
-
Can we have Custom Client Profile Fields for each product
amol.karande replied to amol.karande's topic in Developer Corner
Thank you sir You have given me the very helpful information.This will realy helpful for me sir I also want to know about Product/Services and Product Addons in Configuration menu.Please tell me to add product which should we use and what is the use of other option.It would be helpful if you kindly give some example.Also can you suggest me where dan I get documetation of WHMCS other than Manual.If possible provide me with that Thank you sir -
Thank you sir, sir my requirnment is that I would like to run my php script after the bill is paid How can I do this plaese guide me?Can I use cron job for this? Thank you sir
-
I would like to automate some of my script after billing is completed.So I think for this I am supposed to take help of cron job.Is it correct? If yes guide me how should I proced else suggest me the correct way Thank you
