I know this thread is from back in 2005, but this mod is still working and has been a huge asset to my forum.
But I've grown and have added other subscriptions.
Here is my question...
How can I modify this code to only count the total active subscribers in a specific subscription?
Code:
$subscribers = $db->query_first("SELECT COUNT(*) AS totalactive FROM " . TABLE_PREFIX . "subscriptionlog WHERE status=1");
$subscribers['totalactive'] = vb_number_format($subscribers['totalactive']);
I'm assuming a I need a "subscriptionid=1" in there somewhere?