Jump to content

SwiftModders LLC

Member
  • Content Count

    319
  • Joined

  • Last visited

  • Days Won

    1

SwiftModders LLC last won the day on August 4

SwiftModders LLC had the most liked content!

Community Reputation

5 Neutral

2 Followers

About SwiftModders LLC

  • Rank
    Level 2 Member

Recent Profile Visitors

2447 profile views
  1. 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
  2. Haha, yes, it's a simple utility function that determines if the current version of WHMCS is higher than 8.0.0. 😉
  3. 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.
  4. @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.
  5. @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?
  6. 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).
  7. 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.
  8. 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?
  9. Has this been fixed? I have been experiencing this as well.
  10. 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!
  11. 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
  12. 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.
  13. 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?
  14. 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!
×
×
  • 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