Whmcs Addon Modules

0 views
Skip to first unread message

Andreas Mbili

unread,
Aug 5, 2024, 12:34:32 AM8/5/24
to smalsayseartho
Iam looking at developing an addon and for the most part everything seems simple enough although I am trying to use an template file for part of the admin output and i'm struggling to achieve what I want.

which I took to mean that I can call a smarty template .tpl file although currently I am at a loss as to how I should be calling it, can anyone give me a quick couple of lines as to whether "templates" actually means smarty templates and how I should make the call.


Take a look at AdminAreaPage, this is an excellent way to assign smarty variables to the system. You can most likely assign the template page there too, though I haven't tried doing that, specifically


Thanks for trying to help although I guess my title is a little misleading as I am not trying to hook into the admin area, I am trying to work with an Addon modules blog_output($vars) and call a template rather than just echo ''; my presentation where I would prefer to keep just functionality.


To give full credit where credit is due I finally used an obscure enough search term to get a stackoverflow question from 2013 and the above is identical (functionally) to the answer given by Akahadaka.


I am trying to create an addon module only for the admins. Can you help me on how I can render templates from each controller action instead of simly echo the content? On the sample addon it says @see AddonModule\Admin\Controller::index() but I can't find the docs...


In the addon modules's _output function that is used for the admin, it only expects HTML / string as a return and thus why they build it up using a string variable in the index function. You could use the smarty engine, feed it a template file local to the addon's directory, assign the variables needed, and then use the fetch function instead of display to then get the HTML, which you then return and WHMCS spits it out. I may have another post that details this a bit more.


Hello,I was trying to install and activate an Addon module by Katamaze called "Billing Extension", but after putting all the files in the root, it seems like I can't activate it. When I click the Activate button for that module, an error occurs "Oops! Something went wrong". I really tried everything to fix it but I can't. Anyone knows how to fix it?


I personally would add the support options to checkout as configurable options to ensure no confusion- but the information is quite clearly available- how long have you been waiting for a ticket response?


To be honest, I just would have read that and not bothered myself - but he's a nice enough lad it would seem on here! I'm sure if you gave a very detailed description of the issues (provided it's not covered in his kb/articles) he would probably guide you


To borrow a phrase favoured by WHMCS, I have no plans to switch my life to purely focussing on bugs/defects and code optimization of a software owned and poorly maintained by another company. WHMCS staff don't care about fixing their software. Me neither. I did for 15 years but enough is enough.


Understand that Billing Extension is immensely complex and complexity leads to lot of questions, requests and customizations especially when you face the many problems and shortcomings of WHMCS. Focusing on a small group of companies that can speak my language is mutually profitable and manageable. I didn't plan it but it is what it is.


I tried for a decade to follow the steps of Modulesgarden where many devs are capable of handling hundreds of customers but this doesn't work with this module. Try finding developers who are experts in such a very specific position. One that masters WHMCS and understands advanced concepts of billing and electronic invoicing for multiple countries and legislations. I never found one. The amount of time I need to invest to get a developer fluent with such topics is unsustainable given customers' demands.


As a reference, on average I need to spend 2 hours on Skype/Zoom with the customer just for showing features and configure part of the settings. Following this, add a couple of hours for fine tuning and the inevitable advanced requests. Not counting when they ask me to teach them how to do stuff in WHMCS & BX. Lastly most of the times when they realize my knowledge of WHMCS and hosting in general, I am "condemned" to be their main and only contact person for all requests.


For this reason there's plenty of documentation available in two languages. To people expecting replies, I can only suggest to stop renewing the module if they can't live with my silence. I am truly sorry but life is one and I can't be victim of this platform. WHMCS is now my secondary job I do for a very limited number of customers. My main job is still coding but on a different market and for a company that deserves my time.


It's not good that kian feels this way but to be honest I totally understand! Best of luck in your future endeavours Kian, it's good you're still keeping them up to date etc though! I've spoken to a few people who just gave the SC versions and washed their hands of whmcs and left it at "Find someone to fix what you need"


Yada yada yada a lot of talk, but no fuc**** solutions no offence.



First of all - When I bought your module, there was absolutely no messages about "we dont offer support" - How I know? Because I bought it at the time you send automated replies with "upgrade your ticket for a fee"

Second - Your website, is NOT working properly in Safari. it is NOT possible to change the language, to English. How do I know? I fought several battles, trying to read and understand your website, when I created my support tickets. So basically whatever message you are trying to get ahead via your website. Put it where the sun dont shine, because its only visible in italien, and clearly I cannot read that..



Try and understand my problem then. I bought your plugin, I did not ask for simple support, or installation help. I actually used your plugin for like 8 months, before having any problems. And what was my problems??? Clearly bugs in your code. Missing information. Reports giving errors "whoops cannot open this page" Impossible to change company information a "special" function in your plugin. Client pages showing wrong information, transactions page not working properly And even, when I disabled your module, after all these problems. This ontop of all, broke my whole fucking site... So I have spent ALOT of money trying to fix all these problems I got after I paid you 150 euro. So try and see it from your customers point of view. I got a product that worked for some things. And others it broke my site really badly, and when I tried removing your plugin, * got x10 times worse





So yes, I definitely know that WHMCS is totally expensive to work with. Again, how I know ? Well I spent shitloads of money restoring my site after "billing extension" was installed. And I know that billing extension is a super complicated module, that fixed a lot of WHMCS's mistakes. But again, no it does not because its not working properly. So all your talk about, "read the manual" Bla bla bla, how many times do you think I have read your manual, trying to sort out my problems........ Yeah, who pays me this money for my wasted time????? Who pays me for the wasted time I spent trying to actually get some help from you, with what clearly is bugs, and not "operator faults" ..... Exactly




So this is really really simple. You sold me a product, that does not work properly. I tried several times, to reach you via your site, to no avail. I tried posting here in whmcs.community, to no avail the public posts are here still, did you in any way provide any updates or solutions for my last post? Nope..... Who is to blame for these public posts ? Definitely not me, of course I would never recommend anyone your module after all the problems I've had....



So again, it is really simple. Unless you get $$$$$$$$$ you aint fixing *, you aint helping *. You are not doing anything to help those that actually bought your module. You are doing exactly what WHMCS is doing, pointing towards the big money, and giving a * about those small people that keeps using your product (Which finally after long time and lots of money, I am not using your product anymore, even though if it actually had working properly I would have renewed my license, because I need some of the functions your module provides.)



So, say what you want to say. This is the truth about how my business was with your company. And as you might have guessed, im not super happy.....................


I feel the urge to reply on this matter because what you are saying is wrong on many levels. I'm fine with people leaving bad reviews and not renewing me but I refuse to be compared to what WHMCS is doing.


That being said, unlike WHMCS I'm not saying that the module is problem-free. The vast majority of these problems would be easy to solve if only I had time for the usual stuff: get FTP/backend credentials, connect, see the error, fix the problem. But I can't keep up with such a big number of providers and their requests. I don't even have time for presales questions that would easily bring me money just answering to a couple of questions.

3a8082e126
Reply all
Reply to author
Forward
0 new messages