Jump to content

theozsnowman

Member
  • Posts

    88
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by theozsnowman

  1. sadly ive noticed the same this year 😞 they used tobe be very prompt with support so unsure whats happened... and sadly the modules i have from them have stopped working under php 8,.2 / whmcs 8.13.1 so again i must look for replacements :(
  2. and i assume the same upcoming delays on moving to php 8.3? like waiting for ioncube etc?
  3. I was looking for an established working module, not looking to develop one as the testing time and costs would not work with the scenario im looking at at this point. surely there is a working module already put there? I see there's a few OpenStack ones but the CloudStack is my prefered choice
  4. just wondering if anyone has had any experience with any cloudstack modules for whmcs? looking to deploy it and i found one in the marketplace which had bad developer reviews and wondered if there are any others out there? looking for a plugin that will handle deployments of VPS, VPC, Storage etc
  5. I tried this code and find it no longer works and spits an error from the hook BadMethodCallException: Call to undefined method Illuminate\Database\Query\Builder::lists() in /home/USER/public_html/vendor/illuminate/support/Traits/ForwardsCalls.php:50 Stack trace: #0 /home/USER/public_html/vendor/illuminate/database/Query/Builder.php(3163): Illuminate\Database\Query\Builder::throwBadMethodCallException() #1 /home/USER/public_html/includes/hooks/myServersStatus.php(14): Illuminate\Database\Query\Builder->__call() #2 [internal function]: server_status_hook() #3 /home/USER/public_html/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): call_user_func() #4 /home/USER/public_html/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run() #5 /home/USER/public_html/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic() #6 /home/USER/public_html/includes/clientareafunctions.php(0): run_hook() #7 /home/USER/public_html/serverstatus.php(0): outputClientArea() #8 {main anyone know a fix for this?
  6. Im trying to create a simple hook to send out an email when an Affiliate account is activated <?php use WHMCS\Database\Capsule; add_hook('AffiliateActivation', 1, function($vars) { $affiliateId = $vars['affiliateid']; // Retrieve the affiliate ID from the hook's parameters // Fetch the client ID associated with the affiliate $clientId = Capsule::table('tblaffiliates') ->where('id', $affiliateId) ->value('clientid'); // Directly getting the client ID // Check if a valid client ID was retrieved if ($clientId) { // Send email using the WHMCS email template $response = localAPI('SendEmail', [ 'messagename' => 'Welcome to the Affiliate Program', 'id' => $clientId ]); // Log the response for debugging logActivity("Send Email API Response: " . json_encode($response, JSON_PRETTY_PRINT)); } else { // Log an error if the client ID was not found logActivity("Error: Client ID not found for affiliate ID " . $affiliateId); } }); if i hard code the client ID to a client that im activating it for it works but otherwise for some reason this code coes back with the error message: Send Email API Response: {"result":"error","message":"A related ID is required"} this is in a log line directly after i get a line saying something like: Activated Affiliate Account - Affiliate ID: 9 - User ID: 30 what am i missing?
  7. great to hear but also funny that the systemhealthandupdates.phppage shows a warning about php 8.1 perhaps it needs to be re-worded a bit better as i saw the warning and thought oh i will switch to 8.2 and broke the site... so im guessing its just WHMCS hasnt been encoded for ion 13 yet?
  8. Is there any functionality with the tawk.to system to bring up client details etc like there is in the old livehelpmanager chat system? i feel it would be good to have for the clients to see authenticated clients hosting data etc when responding to chat enquiries etc to help speed up support and responses. i know the system has an API and hook functions etc but wondered if there was the ability to achieve this as the documentation on their website is very sparse and vague at best when discussing this
  9. Im wondering if anyone has an addon or hook or plugin to allow for Sitejet to be deployed on local plesk servers automatically on signup of an account, rather than the Agency based Sitejet setup (which doesnt host locally)
  10. we have started seeing the following error: An Error Occurred loading widget orders_bars: Attempt to modify property "chartFunctions" on null - User ID: XXXX this is happening on the Admin home page but we cant work out which widget is causing the error how can we narrow it down?
  11. sadly no as even as an admin if you login with your username and it fails it shows in the log as in my example but doesnt show which admin it is in the email...
  12. noticed that when an admin fails to login the email being sent out is not showing the Admin's username also not showing up in the log either... any reason or setting that would cause this? our other installs don't have this issue... just one.. and we know that the users are admins and are putting in their usernames when logging in...
  13. this might be a dumb question but can Market Connect products be bundled as included options to a hosting package rather than being listed as individual packages themselves? for example a hosting package may include 360 monitoring as an included option to the hosting package that's bundled with it but we don't want it listed up as a separate product in the clients product list but rather have it listed within the product as an addon is this doable? (I hope i explained it right)
  14. does this still work or is it still recommended? i ask because it seems to have been removed from the Marketplace.. and their own website links to the marketplace for the download...
  15. I have a weird one in my footer template file i include some images: as an example: <div class="widget"> <h5>We Accepted</h5> <img class="img-card-sm" src="{$WEB_ROOT}images/payments-logo/visa.png" alt=""> <img class="img-card-sm" src="{$WEB_ROOT}images/payments-logo/master-card.png" alt=""> <img class="img-card-sm" src="{$WEB_ROOT}images/payments-logo/direct-deposit.png" alt=""> <img class="img-card-sm" src="{$WEB_ROOT}images/payments-logo/paypal.png" alt=""> </div> works in some pages but not others for example on the /password/reset link they dont load any path for {$WEB_ROOT} {debug} says the value is set as: $WEB_ROOT Origin: "Smarty object" Value "" whereas id have thought it should have returned the root domain url for the install? am i missing something here or is it just not behaving?
  16. I know this is an older post but what did you do formwise to set this up? ive been trying to work out similar for my Twenty-One based install.
  17. Is there a way currently to edit boxes in the homepage of the Twenty-One template? id like to add logos for each of the service types but im unsure which template file generates these?
  18. does this module need updating for the latest release of WHMCS? I have no idea if the one that comes with WHMCS is the latest or the one from TPP? and TPP support are not helpful...
  19. you need to specify what templates this is being hidden on: for example to hide it on the domain register and domain transfer pages: $validtemplates = array("domainregister", "domaintransfer"); // Define the array with valid templates here
  20. i would think changing the container to container-fluid may handle this for you... or a custom css call
  21. I've had a few customers who are responding to tickets and their responses are coming thru with all line breaks removed, including our responses to them. They are using Windows 10, and Outlook, so we know its not something weird like and old version or Thunderbird doing it has anyone seen this sort of thing before or know of a way to fix?
  22. I am assuming no solution has come up for this? im starting to get the same message:
  23. ahh thanks John i was looking for it in System >> System Cleanup as id have thought it would be there with the rest of the log pruning options
  24. i noticed there isn't a function in whmcs admin to prune the module log is it safe to truncate this via phpmyadmin? or is it one that shouldnt be pruned?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated