Topic: Punbb and Reinvigorate stats tracking
I'm trying to get Reinvigorate's Name Tag function working.
Here's info about how Name Tags work:
Name Tags are an easy way to identify exactly who your visitors are.
It works by associating information your site manages (username, e-mail, account ID, etc..) with the session ID Reinvigorate uses to track visitors on your site/blog.
It's extremely simple to setup, even if your site uses its own proprietary user account system. 1-2 extra lines of code and we take care of the rest.
Name Tag Code
You will need to write server-side code to output a visitor identifier, something like the code below. This code must be placed above the function call to re_("...");
var re_name_tag = "Username/Identifier";
For example, the following pseudo PHP code shows how one might use re_name_tag. The code is based on two assumptions. First, the PHP variable $is_logged_in is set to true if a user is logged in. Second, the variable $username contains a users username.
var re_name_tag = "<?php
echo $is_logged_in ? $username : "";
After installing code like above, Reinvigorate will automatically detect the change and display name tags on any applicable report.
So I'm wondering what the punbb session variable for user is, and what the $is_logged_in variable is actually named?