-
Posts
88 -
Joined
-
Last visited
-
Days Won
1
theozsnowman last won the day on February 9 2024
theozsnowman had the most liked content!
About theozsnowman

Recent Profile Visitors
2051 profile views
theozsnowman's Achievements
Member (2/3)
2
Reputation
-
theozsnowman started following weird widget error , VEndor of Modules, templaes, addons cmsbased.net not support. , cloudstack module thoughts? and 6 others
-
and i assume the same upcoming delays on moving to php 8.3? like waiting for ioncube etc?
-
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
-
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
-
Server Status - Show only server belonging to client
theozsnowman replied to Atomic's topic in Using WHMCS
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? -
cheers.. so simple...
-
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?
-
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?
-
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
-
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?
-
Blank Username in Failed Login emails
theozsnowman replied to theozsnowman's topic in Admin & Configuration Questions
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... -
Blank Username in Failed Login emails
theozsnowman posted a topic in Admin & Configuration Questions
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... -
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)
-
Is CoinGate legit for bitcoin payments?
theozsnowman replied to Disraq's topic in Third Party Add-ons
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...
