The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Can someone explain how this part of my postbit template could output in one situation but not another?
Code:
<vb:if condition="$post['showuserranks'] OR $post['arcadeawards']"> <dt>Awards</dt> <dd>{vb:raw post.arcadeawardimg}{vb:raw awardimages}</dd> </vb:if> I searched in the plugins for "$post['showuserranks']" and found it a couple of times in the mod that's for the ranks. Is this logical? I don't know what I'm looking for exactly. --------------- Added [DATE]1390693606[/DATE] at [TIME]1390693606[/TIME] --------------- I'm trying not to post too much of someone's code but here is a chunk that I think could contain an important part of rendering: Code:
$post['showuserranks'] = false; if ($post['num_ranks'] = $db->num_rows($alluserranks)) { $ra_i = 0; while ($rank = $db->fetch_array($alluserranks)) { $ra_i++; if ($ra_i <= $vbulletin->options['ra_display_limit']) { //- VB3 -// eval('$post[userranks] .= "' . fetch_template('ranks_bit') . '";'); //- BEGIN VB4 -// $templater = vB_Template::create('ranks_bit'); $templater->register('rank', $rank); $post[userranks] .= $templater->render(); //- END VB4 -// |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|