-
Content Count
325 -
Joined
-
Last visited
-
Days Won
2
SwiftModders LLC last won the day on November 26 2020
SwiftModders LLC had the most liked content!
Community Reputation
7 NeutralAbout SwiftModders LLC

-
Rank
Level 2 Member
Recent Profile Visitors
-
SwiftModders LLC started following Updated Class Docs?
-
Hi Guys, Just curious if we'll be getting updated class docs for 8.1? Currently it only has 8.0 as the latest available. https://classdocs.whmcs.com/8.0/index.html
-
Allure WHMCS Theme by SwiftModders, LLC
SwiftModders LLC replied to SwiftModders LLC's topic in Third Party Add-ons
Version 1.1.0 is now available to download! This release is fully compatible with WHMCS 7.10+ Changelog: Support for WHMCS 8 Improved the navigation selector function and minimizer Updated FontAwesome to 5.14.0 Consolidated Dark Theme & RTL into single CSS file (Improves compilation time) Add custom favicon folder option to help with the upgrade process LIMITED TIME OFFER FOR THE FALL! Save 45% on any SwiftModders WHMCS Theme and Module! This offer does not require a promo code and is active immediately. This offer cannot be combined with any active promo code. Order the Allure WHMCS Theme | Learn More -
Changes in SESSION data for logged in users?
SwiftModders LLC replied to SwiftModders LLC's topic in Troubleshooting Issues
Haha, yes, it's a simple utility function that determines if the current version of WHMCS is higher than 8.0.0. 😉 -
Changes in SESSION data for logged in users?
SwiftModders LLC replied to SwiftModders LLC's topic in Troubleshooting Issues
Yes, I created a WHMCS 8 detector function to adjust the way module handles specific situations. I also checked the classes doc and the User class is accessible in WHMCS 7 as well. So, I can simply just check if 8 and handle logic for users. -
Changes in SESSION data for logged in users?
SwiftModders LLC replied to SwiftModders LLC's topic in Troubleshooting Issues
@WHMCS Peter Thanks, but this is only available in WHMCS 8, correct? This is not available in WHMCS 7.10.2 or earlier. I am trying to find a way to have a single addon that supports both WHMCS 7 and 8. Interacting with the session data is all I have available to me. -
Changes in SESSION data for logged in users?
SwiftModders LLC replied to SwiftModders LLC's topic in Troubleshooting Issues
@WHMCS Peter, Just a general question regarding user/client session data. Will the UID always match the ID set in the login_tk_auth session data if the logged user is the account owner? -
SwiftModders LLC changed their profile photo
-
Changes in SESSION data for logged in users?
SwiftModders LLC replied to SwiftModders LLC's topic in Troubleshooting Issues
I'm glad this will be documented. I already came up with a workaround (simply because I'm trying to have my module support both 7 and 8). -
Changes in SESSION data for logged in users?
SwiftModders LLC replied to SwiftModders LLC's topic in Troubleshooting Issues
Hi Dennis, I actually ended up trying something similar initially, but it didn't work all of the time. Mostly, when logging out. If I unset the uid and login_auth_tk session variables, it didn't actually work the way I wanted to. In my case, I was trying to read the current menu items available to a logged in or guest user. Instead, I simply leveraged the "Login As Client" and logout options. My workaround is not pretty either, but it was a more consistent check of a logged in user vs guest. Ah and yes, if it ends up in "please put in a feature request" territory, it'll never see the light of day. -
I was wondering if there has been a change in the way SESSION data is recorded for WHMCS users. I know that we now have "clients" vs "users" and I wanted to make sure my application supports both instances. I am trying to pull in the latest menu items for guest vs logged-in users (client or not). Before, it was as simple as passing the UID into the SESSION data, but now that's not working. Is there a different way to do this in WHMCS 8?
-
Has this been fixed? I have been experiencing this as well.
-
Hi Guys, I am working on updating one of my modules to allow file attachments. What is the recommended way to do this? Are we free to upload files how we see fit or should I try to leverage the file storage system WHMCS provides? I didn't see any documentation regarding file uploads for developers. I just wanted to make sure I was creating something that would be easy for my customers. Thanks in advance for your feedback and suggestions!
-
Allure WHMCS Theme by SwiftModders, LLC
SwiftModders LLC replied to SwiftModders LLC's topic in Third Party Add-ons
Version 1.0.7 is now available to download! This release is fully compatible with WHMCS 7.10+ Changelog: Support for Menu Manager (Beta) Support for Cookie Consent Popup Support for FontAwesome Pro Duotone Icons Added new option to auto-hide sidebar when viewing the cart Added proper alert link styles Improved the addon styles in the shopping cart Moved the contact us alert below the order summary Updated to FontAwesome 5.13.1 Added tooltips to header icon menu items Other minor design improvements Fixed a bug where the “Lights Out?” toggle shows when the “Dark Theme” is disabled LIMITED TIME OFFER FOR THE SPRING! Save 35% on any SwiftModders WHMCS Theme and Module! This offer does not require a promo code and is active immediately. This offer cannot be combined with any active promo code. Order the Allure WHMCS Theme | Learn More -
Properly Set Client Session
SwiftModders LLC replied to SwiftModders LLC's topic in Developer Corner
I feel like I am probably talking to myself, but just in case anyone else is curious about the 4th paramter, it's email: clientId contactId passwordHash clientEmail Those are the 4 parameters currently being used for the generateClientLoginHash method. Unfortunately, this didn't solve my problem with Menu::context('client'), but it could be helpful for other developers. Ultimately, the issue I am having is I cannot figure out a way to pass Menu:context('client') as non-NULL. I would imagine that setting the UID and UPW in a session within WHMCS would generate a client object, but it doesn't. I'm not sure if there is another way around this. -
Properly Set Client Session
SwiftModders LLC replied to SwiftModders LLC's topic in Developer Corner
Has anyone else noticed that the WHMCS\Authentication\Client::generateClientLoginHash() method now requires 4 parameters as opposed to 3? Does anyone have any clue as to what the 4 parameters are? -
Hey Guys, I am attempting to create a client session and in the past I've always used: $_SESSION['uid'] = 1; This typically works fine if I wanted to grab some information specifically for a client, but that does not seem to work within some navbars that use: Menu::context('client'); I was wondering if there is a way to set a client session so that the navbar hooks will believe a client is currently running this session. I guess, ultimately, I want to know is there a better way to set a client session besides just setting the UID. Thanks for any advice!