Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Abdy

  1. Apparently this bug has already been reported in the CyberPanel GitHub repository as the problem occurs even in the official WHMCS module. https://github.com/usmannasir/cyberpanel/issues/47 I am surprised that they introduce non backward compatible changes to API in a minor update. Apparently they're not using semantic versioning.
  2. You can modify the module to trim the word "test" in the username, or generate a random username if the word "test" is detected in the domain. This way the module can create the account.
  3. This is not a limitation of Blesta, it is a limitation of cPanel itself. You cannot create an account in cPanel that starts with "test".
  4. I think the logo image could be encoded in Base64 and saved as a company setting in the database. Probably a very large image could affect performance, so before encoding, it should be resized and perhaps compressed. Although I don't know if it can affect performance in a real-life scenario.
  5. Everyone who requested a refund received it within 24 hours. I'm really sorry about what happened and promise to reward the people involved as an apology. Everyone who received a refund, will still receive the license (perk) they originally purchased when the module gets released for free. I don't want to make the same mistake again, so this time I'd rather not give a release date. I take responsibility for the mistake I made and I hope to be able to amend my mistake soon and make my best effort to never repeat it again. I don't want to use this as an excuse, I take full responsibility for the mistake I made, but I think I owe everyone an explanation. The development of the module started in the last week of November 2017, but because I had several projects and tasks to do for other clients, I had no more time available in my schedule to develop the module on my own. So I decided to hire a full-time PHP developer in the first week of December to take over the development of the module. However, for reasons unknown to me, the last week of December my developer quit, causing development to stop. I personally like to make code that not only works, but is also visually beautiful, trying my best to follow the development standards and follow good coding practices. However, I couldn't find another developer that met my criteria, because very few developers are familiar with Blesta. Because of this I started working on the module on my own during the weekends to prevent development from stopping completely, but it still ended up being delayed considerably. Having already finished some of the biggest projects I had, last week I resumed the development of the module again, at half time. Also, last week I got a new developer who will be able to help me in the development. During this time I decided to make some changes. The final release of the module will not be called cPanel Extended, as I try to avoid confusion with the ModulesGarden module. In addition, the module will not be released under the CyanDark brand, as I am working on a new site specifically dedicated to sell only Blesta related products. With a development team independent of the CyanDark's team to avoid problems. This is one of the most popular modules that I have, and I promise you that I will not let the module die, soon I will publish more news about the progress of development, but I prefer not to give an ETA at the moment, to avoid problems. Anyway, I give you my sincere apologies and I hope you can pardon me for my mistake.
  6. Very good integration, I really liked the idea. I think I'll do the same in my Blesta installation.
  7. I just tried in my Blesta installation and got the same (weird) result. I think the solution you're proposing is pretty good, I did some testing even using Punnycode domains and it seems to work perfectly.
  8. https://invisioncommunity.com/contact-us
  9. You can disable the cron job from your control panel or via SSH if you don't have a control panel of your old installation and put Blesta in maintenance mode.
  10. Thanks, I'm going to take that into consideration.
  11. The new version will include confirmation popovers on all irreversible action buttons, such as the "Delete" button. There is not yet available.
  12. In the statistics tab, the new version of cPanel Extended will include graphics of the site traffic (Bandwidth last and current month) and domain hits, updated in real time.
  13. This is one of the small changes (but useful) that will be included in the next version of cPanel Extended.
  14. I know, I know I'm working at full speed on the module, however some details are missing. But I will send tomorrow an email to the contributors with more information an access to the second beta, So they can see the current progress.
  15. Abdy


    I added the option to select the AutoDJ type and AutoDJ capabilities. https://github.com/blesta/module-centovacast/pull/2
  16. Yes, but will be accessible from /forum/index/1/ If you want to delete the index part of the url you will need to make a route like this Router::route("^forum/(.+)", "/my_plugin/forum/index/$1"); You can take as an example the main controller of a previous version of BlestaCMS. It works in a similar way.
  17. You can also print the $this->get variable to check the content with print_r($this->get); exit;
  18. Assuming you have a controller named "Forum" and a "page" function. http://awesomecompany.com/client/plugin/my_plugin/forum/page/1/ class Forum extends MyPluginController { public function index() { // Main view } public function page() { if (!empty($this->get[0]) && is_numeric($this->get[0])) { $page_id = $this->get[0]; } else { $page_id = 1; } // Load forum model Loader::loadModels($this, ['MyPlugin.ForumsFunctions']); // Get forum page $forum = $this->ForumsFunctions->getForum($page_id); } }
  19. I guess that $this->get can do the job. For example, for http://awesomecompany.com/client/plugin/my_plugin/page/12/ $page will be 12 if (!empty($this->get[0]) && is_numeric($this->get[0])) { $page = $this->get[0]; } else { $page = 1; } Then you can get the page from your model Loader::loadModels($this, ['MyPlugin.MyModel']); $page = $this->MyModel->getPage($page);
  20. I usually use print_r to see the content of a variable, is more human-friendly. public function validate(array $get, array $post) { $cgOrder = $this->coingateCallback($this->ifSet($post['id'])); $return_status = false; $status = null; // Debug print_r($cgOrder); exit;
  • Create New...