• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Message for logged user

Micka

Chevereto Member
Hello.

For the guests, the message to open an account is displayed (function "if(!get_logged_user()) {").
When we are logged in, the message isn't displayed anymore.

So, I would like to display a message (like the message to open an account) but for logged user like "Hello Name", "You can edit your profil here" "Click here".

How can I do, what php function should I use ?

Thanks.
 
If i understand right you would like to add a message like this one:
tirelipipon.png
 
PHP:
if(get_logged_user()) {
  // Do your welcome message to user
  // Use get_logged_user()['name']
  // and get_logged_user()['url]
} else {
  // Do something else
}
 
Back
Top