It's just a phrase in there right now, not the phrase and variables.
It's in the "What's Happening" section of the FORUMHOME template. However, I have created a seperate template for my non-forum page to get that info.
If I switch the variable in the template back to the forum stats, it *does* work for that. But obviously this isn't a forums page. It's going to be a gallery page, thus wanting gallery stats, not forum stats
--------------- Added [DATE]1208643394[/DATE] at [TIME]1208643394[/TIME] ---------------
To get an idea of what I am doing over all, look here:
http://www.colonialfleets.com/gallery/
The vB is vB 3.0 with 4Images using the user and groups from the forums.
However, with vB 3.6.x, 4Images won't work with it anymore.
So what I am going to try to do is create my own gallery system based on the "goodies" 4Images offers, but mine will be a plug-in to vB.
To do that, all of the coding has to be written in vB type, which means a complete over-haul. I'm willing to do that, but may need a directional point once in a while.
I've searched all over on how to create a totals counter, and all I can find is visitor counters, which do me no good.
--------------- Added [DATE]1208648270[/DATE] at [TIME]1208648270[/TIME] ---------------
Fixed it! Whoo Hooo!
PHP Code:
$result = $db->query("SELECT * FROM " . TABLE_PREFIX . "my categories table here"); //Change the table name
$total_categories = mysql_num_rows($result);
$result = $db->query("SELECT * FROM " . TABLE_PREFIX . "my images table here"); //Change the table name
$total_images = mysql_num_rows($result);