Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Yesterday at 01:29 PM
Wayne B Posted February 27, 2016 Share Posted February 27, 2016 Hi I have a script I want to embed within the themes global template for guest visitors only. The script needs to go inside the <head></head> tags. Is there any way I can make it so that this script is only run if the visitor is not logged into the forum, so a guest? Thanks Link to comment Share on other sites More sharing options...
Daniel F Posted February 27, 2016 Share Posted February 27, 2016 {{if !\IPS\Member::loggedIn()->member_id}} your content {{endif}} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.