![]() |
$totalposts in header template
hi,
a noob question. how can i display $totalposts in the header template? thx |
You could try this, using hook parse_templates:
PHP Code:
but to be honest I'm not sure if it will work on every page (or at all - I haven't tested it). |
hi, its dosent working. it shows 0.
i saw your post here: https://vborg.vbsupport.ru/showthrea...24totalthreads and here is to much other stuff and dont know if it makes querys: http://www.vbulletin.com/forum/forum...64#post3074564 is it possible for vb 3 but its important to not have querys? |
lol, that was a long time ago, and I just noticed that you asked about $totalposts and I gave you code that calculates total threads. If you were trying $totalposts in your template, then try this:
PHP Code:
|
ive tested with both. your code didnt work. also tested with original vb plug-in code
|
All times are GMT. The time now is 03:05 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:
|