Just another vote here to have this plugin resurrected.
I followed the tamba links above and edited my header file and get the following error(s): [sorry, it’s long]
Warning: main(../../header.php): failed to open stream: No such file or directory in /home/content/p/t/u/ptuttle/html/wp-content/plugins/wp-last-visit.php on line 62
Warning: main(../../header.php): failed to open stream: No such file or directory in /home/content/p/t/u/ptuttle/html/wp-content/plugins/wp-last-visit.php on line 62
Warning: main(): Failed opening '../../header.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/p/t/u/ptuttle/html/wp-content/plugins/wp-last-visit.php on line 62
Warning: Cannot modify header information - headers already sent by (output started at /home/content/p/t/u/ptuttle/html/wp-content/themes/newblog/header.php:5) in /home/content/p/t/u/ptuttle/html/wp-content/plugins/wp-last-visit.php on line 63
// var slvIndicator = 'New'; var slvIndicator = 'New'; function slvBanner() { var posts = slvGetCookie('wplastvisit_posts'); var comments = slvGetCookie('wplastvisit_comments'); if (posts == null || comments == null) { return false; } var banner = ''; if (posts == 1) { banner += posts + ' new post and '; } else { banner += posts + ' new posts and '; } if (comments == 1) { banner += comments + ' new comment since your last visit.'; } else { banner += comments + ' new comments since your last visit.'; } document.write(banner); } function slvShowNewIndicator(date) { if (parseInt(date) > parseInt(slvGetCookie('wplastvisit'))) { document.write(slvIndicator); } } function slvGetCookie(name) { /** * Read the JavaScript cookies tutorial at: * https://www.netspade.com/articles/javascript/cookies.xml */ var dc = document.cookie; var prefix = name + "="; var begin = dc.indexOf("; " + prefix); if (begin == -1) { begin = dc.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; } var end = document.cookie.indexOf(";", begin); if (end == -1) { end = dc.length; } return unescape(dc.substring(begin + prefix.length, end)); }