The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
List latest X paid subscribers on Forum Home Details »» | |||||||||||||||||||||||||||
List latest X paid subscribers on Forum Home
Developer Last Online: Nov 2023
There's also a vB 3.5 version here: https://vborg.vbsupport.ru/showthrea...threadid=99049
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. Demo: http://forum.lowcarber.org PHP edits: 1. 2 edits in index.php 2. 1 edit in includes/functions.php 3. 2 edits in includes/functions_subscriptions.php Template edits: 1. 1 new template: thanks 2. 1 edit in FORUMHOME Installation: 1. In index.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
At the end of the file, just before the end/footer stuff, Code:
/*======================================================================*\ || #################################################################### || # Downloaded: Thu Apr 15th 2004 || # CVS: $RCSfile: functions.php,v $ - $Revision: 1.967 $ || #################################################################### \*======================================================================*/ ?> PHP Code:
Note2 The template for usernames is in the code. To change the style and colour, edit this line from the code you added to functions.php: PHP Code:
3. In includes/functions_subscriptions.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Leave the new template empty 5. Edit the FORUMHOME template Add $thanks where you want the list of members to appear. For example, I use this in the stats area of FORUMHOME: Code:
<div>Thanks latest <a href="subscriptions.php">contributing members</a>: $thanks</div> To auto fill it right now: Simply go to your admin control panel, click on subscriptions, view list, edit any existing subscription, for example, add 1 day to the subscription of a member, and save. You can re-edit to subtract the 1 day if you want. Show Your Support
|
Comments |
#42
|
|||
|
|||
Quote:
its still not right anyone have any luck with this on 3.0.7? |
#43
|
|||
|
|||
heres a simpler solution that works for me every time
its only one user but im sure it can be expanded https://vborg.vbsupport.ru/showthrea...284#post628284 |
#44
|
|||
|
|||
Quote:
|
#45
|
|||
|
|||
yeah i know, my forum is small so it's cool
any chance of looking into why this doesnt work for some i notice you are running 3.0.1 on ur site maybe something has changed since then? |
#46
|
|||
|
|||
Quote:
If you're willing to test this, I think it may work Use this code in functions.php PHP Code:
|
#47
|
|||
|
|||
awesome
Tested on 3.0.7 and the new code works perfect! Just to make it more clear, you dont need to create the template thanksbit anymore. Delete it by clicking revert if you have it already made. If you use this updated code, skip that step in the current instructions and only create the blank template name thanks. Correct me if I'm wrong. Thanks a million! |
#48
|
|||
|
|||
Quote:
Quote:
|
#49
|
|||
|
|||
The new code works fine for me now - thanks!!!
|
#50
|
|||
|
|||
I want it on my front page as well.
Also when trying to change the colour - i cant get mine to be any different by editing the colour code in functions.php Please help |
#51
|
|||
|
|||
Is there a way to separately show the newest paid subscribers for each level?
For example: Thanks to the supporting members, here are the newest supporters! Level A: member1, member2, member3 Level B: member1, member2, member3 Level C: member1, member2, member3 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|