![]() |
Latest X Paid Subscribers on Forum Home
By request, this has been ported from the vB 3.0.x version:
https://vborg.vbsupport.ru/showthrea...threadid=65254 What this hack does: This hack will list and instantly refresh (when a new subscription is made) a list of the latest X paid subscribers to your forum. It's a nice way of recognizing members who help pay the the forum bills, and encourages others to join. There are no queries generated on page views. Only when a subscription is added, changed or deleted. Installation: 1. Import the product XML file (Plugin System --> Manage Products Add/Import Product) 2. Edit FORUMHOME tamplate, and place the variable $thanks anywhere you want to display the list. Notes: o To build the list for the first time, edit the active subscription of any member, just a minute to their expiry date, and save. o To change the default (5) names to something else, there's a setting for it in vBulletin Options -> Last XX Paid Subscribers in the admincp o To change the HTML for usernames, edit the thanks_bits template |
Screenshot? Looks like a nice addtion! :)
|
Can you perhaps create an installation file and upload that too?
Since i dont want to be referring here for each time i want to install. |
Plugin System --> Manage Products
Add/Import Product. There are different places to put $thanks. I did it this way. Edit FORUMHOME Find <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span> </if> </div> Add below <div class="smallfont">Thanks to our latest <a href="payments.php">contributing members</a>: $thanks</div> Thanks! |
Now I just need to know how I can make the names not bold and where would I change the number of listed if I would want to later.
|
Quote:
Quote:
|
thanks :)
|
I am running into some problems.
I still don't see where to change the font color and remove the bold coding. <font color="#228E8E"><b> The thanks_bit only had <strong> coding. I also have additional coding when a subscriber is is clicked on. /forum/%5C%22member.php?u=2058\%22 |
Quote:
HTML Code:
<span class="smallfont"><a href="member.php?$session[sessionurl]u=$contributer[userid]"><strong>$contributer[username]</strong></a></span> HTML Code:
<a href="member.php?$session[sessionurl]u=$contributer[userid]">$contributer[username]</a> |
Sweet. Many thanks.
|
All times are GMT. The time now is 01:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|