Hello,
I've been digging through the forums for a few hours now, and with no luck. I saw a lot of similar topics, where the solutions worked for others, but they aren't working for me.
Basically, I've built my websites homepage and some other pages outside of the WHMCS installation folder, and I'd like to be able to display on my homepage whether a user is already logged on, and if so display a welcome message and have a link to the client area, and if not, a welcome message to the guest and a link to the login page.
I know there are a lot of forum posts about this, but they are outdated and none of the methods worked for me. I'm using WHMCS version 5.1.3.
I know it's a pain, and I feel slack for asking, but I've been stumped for hours upon hours, if someone could please show me some sample code that works with later versions, that'd be absolutely fantastic.
Thanks sincerely in advance.
~ Eddie.
I've been digging through the forums for a few hours now, and with no luck. I saw a lot of similar topics, where the solutions worked for others, but they aren't working for me.
Basically, I've built my websites homepage and some other pages outside of the WHMCS installation folder, and I'd like to be able to display on my homepage whether a user is already logged on, and if so display a welcome message and have a link to the client area, and if not, a welcome message to the guest and a link to the login page.
I know there are a lot of forum posts about this, but they are outdated and none of the methods worked for me. I'm using WHMCS version 5.1.3.
I know it's a pain, and I feel slack for asking, but I've been stumped for hours upon hours, if someone could please show me some sample code that works with later versions, that'd be absolutely fantastic.
Thanks sincerely in advance.
~ Eddie.