Forums / Cotonti / Development / Logic block idea

RaisenBran
#30606 2011-09-03 14:40
I had this idea yesterday, probably won't be considered but I'll give it a go.

Sometimes when I visit a website for the first time they have this onscreen pop up that tells me to sign up or something. What about a logic block for newGuests (guests visiting the website for the first time) and newUsers (users who signed into their accounts for the first time (this would be done with ips, as long as the user doesn't change their computer, proxy, etc they would be good)? The newGuests could be redirected with a meta tag to an "about us" page and the newUsers could be redirected to a "rules page" or "how to use the site" page. Of course these are just examples but sounds like a good idea to me. Not sure if this could be made as a plugin but would probably be better off constructed in Siena's system. Consider it? :)


The code could be this:
<!-- IF {PHP.usr.newUser} --> <meta http-equiv="Refresh" content="5;url=http://www.cotonti.com/rules.php" />  <!-- ENDIF -->