Since the topic is locked, I decided to create a new topic on this subject (even though it has ben obsolete).
I remember, in the past, reading some requests regarding the
total number of each boxes within the PMS MOD from the clickstream bar.
Well, the day has come (if it has not been published already ... if so, then point it to me.
).
// CompatibilityThese modifications also works for PM v2. Simply follow trez's instructions below on this topic.
// Step 1In your includes/page_header.php file,
find :
$pms_new = "<a href=\"".$site_sess->url(ROOT_PATH."pms.php")."\">".(($result['new']) ? "<blink>".$result['new']."</blink>" : 0)."</a>";
add
above :
$pms_inbox_count = str_replace("{inbox_count}", "", $pms_inbox);
$pms_outbox_count = str_replace("{outbox_count}", "", $pms_outbox);
$pms_sentbox_count = str_replace("{sentbox_count}", "", $pms_sentbox);
Then, find:
"pms_popup_header" => $pms_popup_header,
add right below :
"inbox_count" => $pms_inbox_count,
"outbox_count" => $pms_outbox_count,
"sentbox_count" => $pms_sentbox_count,
// Step 2In your templates/<your_template>/pms.html file,
find :
{lang_inbox} |
{lang_sentbox} |
{lang_outbox} |
replace with :
{lang_inbox} ({inbox_count}) |
{lang_sentbox} ({sentbox_count}) |
{lang_outbox} ({outbox_count}) |
Then, visit your PMS's root page and see if you do have
0 or higher.