Hi there,
Just bought this theme, loving the responsiveness and out-of-the-box ready themes.
I’m building a forum which I want to only be accessible to members, and so guests can’t see the forum at all until logged in.
I’ve tried to add a simple conditional based on logged in status into the html_header.html file:
/signin/ is a custom login forum I’m building.
{if logged_out}
{redirect="/signin/"}
{/if}
It seems like the {redirect} function returns as plain text in the header rather than redirecting a guest user.
Am I missing something? - Or is there a better way to handle guest users?
Thanks,
Harry
A quick solution is to set ALL the forums in Forum Management -> Permissions -> Can View Forum: ONLY for logged in users…
I’ve tried to add a simple conditional based on logged in status into the html_header.html file:
/signin/ is a custom login forum I’m building.
{if logged_out}
{redirect="/signin/"}
{/if}It seems like the {redirect} function returns as plain text in the header rather than redirecting a guest user.
Am I missing something? - Or is there a better way to handle guest users?
This instruction run only if the forum is running through regular templates… (Other Features)
Thanks for the quick reply, will look into regular templates for forums!
Download JJ Sploit is a well-known tool in the Roblox community, mainly used by players curious about scripting and exploring game mechanics. It’s often discussed in forums and Discord servers, where users share tips and experiences. While popular, it’s important to stay cautious and follow Roblox’s rules to avoid any risks.