The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Try changing to:
PHP Code:
|
#12
|
||||
|
||||
Still the same result using this code:
PHP Code:
Thanks Quote:
|
#13
|
|||
|
|||
replace:
PHP Code:
PHP Code:
|
#14
|
||||
|
||||
Now I get an SQL error:
Invalid SQL: SELECT COUNT(*) AS users FROM " . TABLE_PREFIX . "user; |
#15
|
|||
|
|||
Please post your current script and the full error message.
|
#16
|
||||
|
||||
Ok, the script:
PHP Code:
PHP Code:
|
#17
|
|||
|
|||
PHP Code:
PHP Code:
|
#18
|
||||
|
||||
Ok, I got the include to work on the page, but which include is best to use for this?
include() require() include_once() require_once() I?m using require currently. But the post count is between 10-13 more than on the forum (seems to change once in a while), anyway to fix this? Is it possible to modify the script, so it uses the same as index.php to count the posts? PHP Code:
|
#19
|
|||
|
|||
require_once is mostly the correct way.
|
#20
|
||||
|
||||
Thanks
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|