ChrisColeman Posted September 6, 2021 Share Posted September 6, 2021 (edited) Hi CubeCart People, hopefully simple question .. I'm changing the contact form on a site so user has to be logged-in to use it - this because a lobotomized BOT has gotten hold of the form and is sending just a few unsavory messages every day to site-admin. Well we don't see it as a big deal to force users to login before using the contact form, but how do I determine if a user is logged in (or not), or to put it another way if a login session is active ? For your info I will use hook: class.cubecart.contact to send different content when the user is not logged in. Thanks and Regards, ChrisColeman. Edited September 6, 2021 by ChrisColeman punctuation Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.