PDA

View Full Version : How to populate these variables?


JPnyc
01-30-2007, 01:53 AM
This is the code from a template that vbAdvanced, third party front page software, creates. I need to be able to add this to forums that don't have VBA loaded.
I created a template with the code below, and a plugin which includes moderate.php hooked to parse_templates, but the variables hold a null value. Any clues? Thanks

<table style="position:absolute;top:1px;left:1px">
<tr>
<td class="$bgclass">

<div><phrase 1="$threads[count]" 2="$modcpdir/moderate.php?do=posts">$vbphrase[x_threads]</phrase></div>

<div><phrase 1="$posts[count]" 2="$modcpdir/moderate.php?do=posts#postlist">$vbphrase[x_posts]</phrase></div>


<div><phrase 1="$users[count]" 2="$admincpdir/user.php?do=moderate">$vbphrase[x_users]</phrase></div>
</td>
</tr>
</table>