![]() |
A little php help please to get this working correctly
I'm working on making a hit counter for the forumhome and so far, have gotten this far with the code:
Plugin Hook location: forumhome_start PHP Code:
Code:
$db->hide_errors(); Code:
Visitors: %1$s Thanks in advance for the help :) |
I think you want to use construct_phrase:
construct_phrase($vbphrase['counter'], $counter) So something like: PHP Code:
|
Just tried that, an now no characters show. Just:
Code:
Visitors: |
Whoops, you need to pas $count, not $counter.
PHP Code:
|
All times are GMT. The time now is 09:47 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:
|