![]() |
Inserting a counter...
I'm trying to insert a counter somewhere within my board, but cant figure out the best place to do it.
Basically, its a single line that calls a count.php file... PHP Code:
PHP Code:
|
Count.txt needs to be in a writable folder most likely.
|
Its writeable, but thats not the issue.
The issue is where/what file to put the code in. count.php is seperate, but where to put the include() for it. |
Assuming you want the counter to fire on hits to forum_home put it in the index.php. I'd put it just before the very last eval at the bottom of the file myself.
|
My index just becomes a blank page.
|
Now that I look at the code, I see a few issues that seem to be show stoppers. The switch statement uses $type, but $type is not set.
The output would need to be intergrated into a template to display. |
How exactly do I do that?
|
All times are GMT. The time now is 08:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|