#1421 - Being able to show a subscribers expiry date on a comcode page

Identifier #1421
Issue type Feature request or suggestion
Title Being able to show a subscribers expiry date on a comcode page
Status Closed (no changes needed)
Handling member Chris Graham
Addon General / Uncategorised
Description Hi Chris,

This may be a new feature, or it might already be there and I just need a couple of nudges in the right direction !!

Do you remember coding up the custom manual subscriptions stuff ?

Well, you can see the expiry date of the members subscription in their side stats profile block from a week before expiry. You can also see the same information in the eCommerce area if &all=1 is added to the query.

I would like to add the expiry date date to a comcode page based on the user that is logged on.

Looking in the BLOCK_SIDE_PERSONAL_STATS.tpl I can see that the information is written out in {DETAILS}:

{+START,IF_NON_EMPTY,{DETAILS}}
<ul class="compact_list">
{DETAILS}
</ul>
{+END}

So I expected to find a sources_custom side_personal_stats.php but there is not one.

So what populates the {DETAILS} section ?
And could I reuse some of it on a comcode page ?

Cheers
Ade
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated