How can I display my index home page, but make the user HAVE to sign up for an account in order to play views?
Printable View
How can I display my index home page, but make the user HAVE to sign up for an account in order to play views?
Someone else may know a better way, and I'm not 100% certain about this, so make sure to keep a back up of your original file(s).
Having said that, I think the easiest way is probably to use the smarty commands on your /templates/view_video.tpl
{if $smarty.session.USERNAME ne ""}
All original code goes here.
{else}
Copy all code from the Sign Up page here
{/if}
I think that will do the trick, but again, make sure to keep a copy of the original file in case you have to revert back.
yes it would be possible the above way but an easier way would be to set the "system settings --> guest limit" to 5
And what does the guess limit set to 5 do?
after 5 seconds of being on the site they must signup before they can view videos.
That works perfect. After signup, users are taken to the "/invite_signup.php" page -- Does anyone know how I can display that page, BUT remove to header? So that the invite_signup.php, is the only thing they see after signup?