Quote:
Originally Posted by risestar
global_start is obsolete in the latest VB4 versions. Use global_bootstrap_init_start instead
|
Ok if I set $xpRedOutput to = "test"; then it outputs test, and I know for sure there is data in field8, so why isn't this code snippet resulting in anything being output? All links for images and whanot are correct.
PHP Code:
$xp_num_reds = $post[field8];
for($i=1; $i<=$xp_num_reds; $i++) {
$xpRedOutput .= "<img src = 'http://www.va-studios.com/images/xpbarred.png'>";
}
vB_Template::preRegister('postbit_legacy',array('xpRedOutput' => $xpRedOutput));
<vb:if condition="$post['field8'] == '1'"> in the postbit legacy works fine, but $post['field8'] doesn't work in the plugin.