dedipilot Posted April 7, 2008 Share Posted April 7, 2008 Hi, Im using WHMCS as a total solution for my site. One thing I need to the ability to collect the ClientID as a variable. Allowing me to provide bandwidth usage graphs and remote reboot to my clients. Any Ideas please ? 0 Quote Link to comment Share on other sites More sharing options...
lesmith Posted April 7, 2008 Share Posted April 7, 2008 You can see the variables you can use by putting in debug in the template ie. {debug} You can then do you php lookups based on the info. Hope this gets you started. Oh make sure you dont have a pop up blocker on or you will not see them. 0 Quote Link to comment Share on other sites More sharing options...
dedipilot Posted April 7, 2008 Author Share Posted April 7, 2008 Im going to sound really dumb now but could someone give me an example of got the set the userid from $clientdetails as $clientid Im not a fan of dealing with arrays! 0 Quote Link to comment Share on other sites More sharing options...
lesmith Posted April 7, 2008 Share Posted April 7, 2008 James Dont take this the wrong way but if you ae looking at creating graphs and remote rebooting for your clients then this simple array problem should not be a problem. But the variable you need is $clientsdetails.userid Regards 0 Quote Link to comment Share on other sites More sharing options...
dedipilot Posted April 8, 2008 Author Share Posted April 8, 2008 Hi, and thank. This was one of my slow days! Ive managed to finished everything now. 0 Quote 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.