Hey NTLDR.
vBindex has been very good for us thanks. I have one thing I can't work out and was hoping you could explain what I may do to overcome it.
I added this code...
PHP Code:
//vbgarage
$result_latest = $DB_site->query("
SELECT * FROM " . TABLE_PREFIX . "vbgarage_images ORDER BY vbgarageid DESC LIMIT 5
");
while ($latest = $DB_site->fetch_Array($result_latest))
{
eval('$latestbits .= "' . fetch_template('vbgarage_latestbits') . '";');
}
Which parses this template...
HTML Code:
<td class="alt2" colspan="1" align="center"><a href="$vboptions[bburl]/vbgarage.php?do=view&id=$latest[userid]"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&width=100&id=$latest[vbgarageid]" border=0 /></a></td>
The code in the template calls the vbgarage php file to display the thumbs.
The code works with one anomoly, when it runs the vbgarage.php it updates the users location to the garage and not the index. I've tried the code in a few places with no luck. This isn't a show stopper, but with your experience I was hoping you may be able to make a suggestion.
Thanks and Regards