Brad
11-29-2003, 10:43 AM
Author: Brad.loo
Modification info:
When installed this will add a view counter to your boards index.php page. It is very simple, on page load it pulls the current count from a text file, displays it, and updates the counter. It is restricted to index.php at this time just incase it causes problems with the board, this will be removed after testing because it only updates on index.php right now.
This is not for live boards! please only use it on your test boards until the alpha notice is removed. This is un-tested, probbly will not work correctly at this point, if it breaks your board well. Live with it.
All instructions and needed text file are in zip.
If you _want_ to use this on all pages remove:
if (THIS_SCRIPT == 'index')
{
and the last:
}
that appers right above '// end modification'. This will allow it to update when any vB page is loaded, make sure you move $vcounter to a global template is you want the counter to display on all pages (dose not effect update).
Modification info:
When installed this will add a view counter to your boards index.php page. It is very simple, on page load it pulls the current count from a text file, displays it, and updates the counter. It is restricted to index.php at this time just incase it causes problems with the board, this will be removed after testing because it only updates on index.php right now.
This is not for live boards! please only use it on your test boards until the alpha notice is removed. This is un-tested, probbly will not work correctly at this point, if it breaks your board well. Live with it.
All instructions and needed text file are in zip.
If you _want_ to use this on all pages remove:
if (THIS_SCRIPT == 'index')
{
and the last:
}
that appers right above '// end modification'. This will allow it to update when any vB page is loaded, make sure you move $vcounter to a global template is you want the counter to display on all pages (dose not effect update).