Jump to content

Put the expiration date of the vip user in the postbit

Featured Replies

  • Author
On 3/17/2022 at 11:38 AM, by_ix said:

@avangacom samne all:

{{if $subscription = \IPS\nexus\Subscription::loadActiveByMember( $member )}}
	<div class='cProfileSidebarBlock ipsSpacer_bottom'><a href='{url="app=nexus&module=subscriptions&controller=subscriptions" seoTemplate="nexus_subscriptions"}'>
			<div class='cProfileSubscription {{if $subscription->package->_image}}cProfileSubscription--with-image{{else}}cProfileSubscription--no-image{{endif}}' style='display:grid;align-items:center;padding:10px 0;'>
				{{if $subscription->package->_image}}
					<div class="cProfileSubscription_bg" style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $subscription->package->_image->url )"}" )'></div>
					<div class='cProfileSubscription_gradient'></div>
				{{endif}}
				<span class='cProfileSubscription_text'><i class="fa fa-certificate"></i> &nbsp;{lang="nexus_subs_subscriber" sprintf="$subscription->package->_title"}</span>
				<span class='cProfileSubscription_text' style='color:red;margin-top:-10px;'>Expaire vip: {datetime="$subscription->expire" dateonly="true"}</span>
			</div></a>
	</div>
{{endif}}

 

Hello

How do I add these to the IC5 version???

@by_ix

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.