Here are my instructions (since I am not sure if VB has this feature already built in).
You will need to create 2 files.
-counter.php
-log.txt
1. Create the file counter.php and place the following code within it, then save to your forum directory:
PHP Code:
<?php
$filename = "log.txt";
$file = file($filename);
$file = array_unique($file);
$hits = count($file);
echo $hits;
$fd = fopen ($filename , "r");
$fstring = fread ($fd , filesize ($filename));
fclose($fd);
$fd = fopen ($filename , "w");
$fcounted = $fstring."\n".getenv("REMOTE_ADDR");
$fout= fwrite ($fd , $fcounted );
fclose($fd);
?>
2. Create a new log.txt file, and upload to your main forum directory. CHMOD this file to 0777.
3. Now that you have this information call it into the forums and display that single page.
Please let me know if this works for you.