Dismounted, thank you! I searched for more info and came across a very useful example that's also by you:
https://vborg.vbsupport.ru/showpost....39&postcount=4
--------------- Added [DATE]1233680678[/DATE] at [TIME]1233680678[/TIME] ---------------
For those of you that want a simple way to show something different to first time visitors, here's the plugin I'm using at Global Start:
Code:
if (!isset($_COOKIE[COOKIE_PREFIX . 'FirstVisit']))
{
// set variable for use in templates
$firstVisit = true;
// set cookie
vbsetcookie('FirstVisit', '0', permanent);
}
Now if $firstvisit is true, I can call different code in my templates.