Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
gavpedz Posted August 22, 2019 Posted August 22, 2019 If i wanted to display a message to a member when they are logged in how would i call their username. So the message would read Hey USERNAME, What code would i need to get the UERNAME to display the name of the logged in users?
gavpedz Posted August 22, 2019 Author Posted August 22, 2019 2 minutes ago, bfarber said: Hey {member="name"}, Lorem ipsum dolar.. Great thank you and how would i display this to only members that are logged in?
bfarber Posted August 22, 2019 Posted August 22, 2019 {{if \IPS\Member::loggedIn()->member_id}} Hey {member="name"}, ... {{endif}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.