Lawrence Posted July 6, 2009 Share Posted July 6, 2009 I have been delayed on this one a bit, mainly coming to grips with automatic currency conversion and learning to use Smarty, but it is almost done It will be a plan comparison page that is similar to others, except that it is completely open and can be modified by anyone. A sample can be seen here: https://www.lcwsoft.com/whmcs/compare_plans_2.php?gid=1 Please feel free to post any suggestions or comments. I am hoping to release the first version tomorrow. EDIT: There are no Order links. This is one of the things remaining to be done. 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted July 6, 2009 Share Posted July 6, 2009 nice one, are package attributes (like "Bandwidth (MB)", "FTP Accounts") dynamic generated by row? does the code works outside of whmcs (in cms)? regards 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted July 6, 2009 Author Share Posted July 6, 2009 nice one, are package attributes (like "Bandwidth (MB)", "FTP Accounts") dynamic generated by row? does the code works outside of whmcs (in cms)? regards Hi, 1) They features are defined in an array inside the php file, which is passed to Smarty to allow dynamic generation. New ones could simply be added to the array, and would appear on your site immediately. 2) The code is designed to work inside WHMCS as it depends on the currency functions and database access. Regards. 0 Quote Link to comment Share on other sites More sharing options...
Impact-John Posted July 7, 2009 Share Posted July 7, 2009 here is my chart which was a redesign from sparkies i take no credit except for the look of the chart http://www.my.impact-connections.com/hosting.php 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted July 7, 2009 Share Posted July 7, 2009 it'd be worth including/comparing custom config options as well 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted July 7, 2009 Author Share Posted July 7, 2009 here is my chart which was a redesign from sparkies i take no credit except for the look of the charthttp://www.my.impact-connections.com/hosting.php Cool. Is that done using Sparky's mod? I see you are offering 5 days trials too? 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted July 7, 2009 Author Share Posted July 7, 2009 it'd be worth including/comparing custom config options as well I have that in mind, just haven't gotten around to implementing it. 0 Quote Link to comment Share on other sites More sharing options...
Impact-John Posted July 7, 2009 Share Posted July 7, 2009 Cool. Is that done using Sparky's mod? I see you are offering 5 days trials too? yes lars that is sparkies mod that i made the template file for to better change the look of it i have no issues with giving the template file up but it wont do anything without sparkies mod well it would be all manual input for your package details. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted July 8, 2009 Author Share Posted July 8, 2009 I am aiming to keep everything dynamically generated. I looked into the custom fields option, and it may be a bit tricky to do (with the way I am aiming for this addon to work). Custom fields are tied to a particular product instead of product types or groups. I will come back to it later and see if I can come up with a sensible way of doing it. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted July 8, 2009 Author Share Posted July 8, 2009 Here is a rough version. It contains a template that can be edited and the .php file. Everything must be inside the WHMCS folder. whmcs_comparison_smarty.zip 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted July 8, 2009 Share Posted July 8, 2009 nice first release. how do you manage the configoptions in backend? 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted July 8, 2009 Author Share Posted July 8, 2009 You don't (yet) 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted August 19, 2009 Share Posted August 19, 2009 something changed? regards 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted August 22, 2009 Author Share Posted August 22, 2009 something changed?regards What do you mean? 0 Quote Link to comment Share on other sites More sharing options...
dansgalaxy Posted September 25, 2009 Share Posted September 25, 2009 Any developments on this? 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted September 28, 2009 Author Share Posted September 28, 2009 Any developments on what exactly? 0 Quote Link to comment Share on other sites More sharing options...
dansgalaxy Posted October 7, 2009 Share Posted October 7, 2009 Well from the above it appears you were talking about a beta type version :-/ so wondering if theres a new version? 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted October 8, 2009 Author Share Posted October 8, 2009 Oh I will post the latest code shortly. I wouldn't label it a 1.0 release, but it has been used on my site for quite some time now and has no known bugs. 0 Quote Link to comment Share on other sites More sharing options...
robotronik Posted October 8, 2009 Share Posted October 8, 2009 To be honest, I am most usto sparkys mod and it is worth the purchase, he is very helpful too Check out a modified version of his mod here for inspiration - https://nc-designs.co.uk/packages.php 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted October 9, 2009 Share Posted October 9, 2009 You really have done a superb job on that robotnik. Very well done. It's a nice tidy site altogether. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted October 9, 2009 Author Share Posted October 9, 2009 To be honest, I am most usto sparkys mod and it is worth the purchase, he is very helpful too Check out a modified version of his mod here for inspiration - https://nc-designs.co.uk/packages.php Please don't hijack a thread. That being said, your implementation looks nice My mod can do the same thing. It is just designed to be more flexible than Sparky's and can be made to do many more formats by a competent coder. 0 Quote Link to comment Share on other sites More sharing options...
Stormgod Posted November 7, 2009 Share Posted November 7, 2009 Lawrence, do you have the most current version available for download? Also, would you know if this latest version will work in a joomla page? 0 Quote Link to comment Share on other sites More sharing options...
riv Posted November 11, 2009 Share Posted November 11, 2009 blank page ? 0 Quote Link to comment Share on other sites More sharing options...
epicconstruct Posted February 22, 2010 Share Posted February 22, 2010 I was trying to come up with a comparison setup of my own and looked through your file for some ideas. I'll post something back here when I get something concrete. I did want to mention one thing I noticed so far though. You have the following comment: // plan options.. see if there is a way to generate this automatically from the db It seems that the configoption mappings are set the in modules in the /modules/server folders and not in the DB anywhere. So it doesn't look like you'll be able to pull this programmatically since they're all encrypted. I'm saying this based on the example document that ships with their module SDK. http://wiki.whmcs.com/Creating_Modules Here is a rough version. It contains a template that can be edited and the .php file. Everything must be inside the WHMCS folder. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted February 24, 2010 Author Share Posted February 24, 2010 I was trying to come up with a comparison setup of my own and looked through your file for some ideas. I'll post something back here when I get something concrete. I did want to mention one thing I noticed so far though. You have the following comment: // plan options.. see if there is a way to generate this automatically from the db It seems that the configoption mappings are set the in modules in the /modules/server folders and not in the DB anywhere. So it doesn't look like you'll be able to pull this programmatically since they're all encrypted. I'm saying this based on the example document that ships with their module SDK. http://wiki.whmcs.com/Creating_Modules It is a good idea to ignore my comments in files sometimes, as I tend to leave them alone and never update them. That being said, I do think you are right. 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.