The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Is it possible to display the join & expiration dates of a user's paid subscription in the main page header? The join/expiration date info is listed on the payments.php page but I can't figure out how to display it elsewhere. After searching for 2 hours, the only helpful (I think) info I've come across is this post. I'm not experienced enough to know what all of that means though.
Excerpt from the subscription_activebit template which displays the informaiton I want on the payments.php page: Code:
<li class="blockrow floatcontainer">
<dl class="stats">
<dt>{vb:rawphrase start_date}</dt>
<dd>{vb:raw joindate}</dd>
<dt>{vb:rawphrase expiry_date}</dt>
<dd>{vb:raw enddate}</dd>
</dl>
<p class="description">{vb:raw subscription.title}</p>
</li>
Code:
<ul>
<vb:if condition="is_member_of($bbuserinfo, 10,9)"> //only visible to users with active subscriptions
<li >
<dl>
<dt>{vb:raw subscription.title} expires:</dt>
<dd>{vb:raw enddate}</dd>
</dl>
</li>
</vb:if>
</ul>
Any help would be greatly appreciated.
|
|
#2
|
|||
|
|||
|
Can anyone help me figure this out? Is it even possible?
|
|
#3
|
|||
|
|||
|
What is the exact location in the header of where you want this to be displayed?
|
|
#4
|
|||
|
|||
|
Within the toplinks div in a drop down list as shown in the attached image. |
|
#5
|
|||
|
|||
|
Quote:
but not working.. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|