Simply mod that displays the actual number of subscribed users, this is easier than looking at how many have subscribed.
Open up catalog/admin/mailinglist_report.php
Find the following at the top:
if ($HTTP_POST_VARS['csv']) $csv_string=$HTTP_POST_VARS['csv'];
if (strlen($csv_string)>0){
header("Expires: Mon, 26 Nov 1962 00:00:00 GMT");
header("Last-Modified: " . gmdate('D,d M Y H:i:s') . ' GMT');
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-Type: Application/octet-stream");
header("Content-Disposition: attachment; filename=$savename");
echo $csv_string;
}
else echo "CSV string empty";
exit;
};
And add this straight after:
// Display number of people subscribed
$subscribers_query_raw = "SELECT * FROM `maillist`";
$subscribers_query = mysql_num_rows(tep_db_query($subscribers_query_raw ));
Find:
Replace with:
Done!
More...
Bookmarks