The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
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> <td class="{vb:raw bgclass}"> <font size="3">»</font> <a href="{vb:raw vboptions.bburl}/member.php?{vb:raw session.sessionurl}u={vb:raw top_reputation.userid}" rel="nofollow">{vb:raw top_reputation.musername}</a> </td> <td class="{vb:raw bgclass}">[{vb:raw top_reputation.credits}]</td> </tr> Does that help you realize what I'm looking for? |
#12
|
|||
|
|||
You need to register the count variable first.
add Code:
$templater->register('count',$count); Code:
$templater = vB_Template::create('adv_portal_top_reputations_bit'); |
#13
|
|||
|
|||
Youre the man dartho, thanks
|
#14
|
||||
|
||||
If this is all VB4 what is it in the VB3 forum for?
|
#15
|
||||
|
||||
Because at first it was vB3, then he switched over to vB4. He should have started a new thread in the correct forum, but....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|