![]() |
Yep I a m aware the second script is for 4.0
And the problem is it isnt doing anything lol. If I add $count to the template it doesnt return a number, it just returns '$count' I tried {vb:raw count} and {vb:raw top_reputation.count} as well. Of course neither worked. I know this should be simple but I am not a coder unfortunately. Here is the template: Code:
<tr> Does that help you realize what I'm looking for? |
You need to register the count variable first.
add Code:
$templater->register('count',$count); Code:
$templater = vB_Template::create('adv_portal_top_reputations_bit'); |
Youre the man dartho, thanks
|
If this is all VB4 what is it in the VB3 forum for?
|
Quote:
|
All times are GMT. The time now is 11:24 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:
|