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 |
#32
|
|||
|
|||
oops, forget to check back
No, I use edit plus I just upgraded to 3.0.3 and reapplied the hack, and still get the 3 errors when editing subcriptions. |
#33
|
|||
|
|||
I am also getting
Warning: Invalid argument supplied for foreach() in /home/satellit/public_html/includes/functions.php on line 2854 Warning: Invalid argument supplied for foreach() in /home/satellit/public_html/includes/functions.php on line 2854 Any ideas? |
#34
|
|||
|
|||
Has anyone been able to get this to work with vbadvanced CMPS?
|
#35
|
||||
|
||||
can someone please explain where exaclty "just before the footer stuff" is?
|
#36
|
||||
|
||||
well Im getting no errors and Im also getting no subscribers to appear heh
|
#37
|
|||
|
|||
Quote:
Code:
/*======================================================================*\ || #################################################################### || # Downloaded: Thu Apr 15th 2004 || # CVS: $RCSfile: functions.php,v $ - $Revision: 1.967 $ || #################################################################### \*======================================================================*/ ?> |
#38
|
|||
|
|||
Quote:
|
#39
|
|||
|
|||
Quote:
Quote:
if thankyou(); is in functions_subscriptions.php u get a blank screen when after editing a subscribtion though it does actually write the change to the database so it seems to me that the thankyou function is hanging somehow and ive double and triple checked everything |
#40
|
|||
|
|||
ok its working now!
what happened was since its set to 5, it takes 5 subscriptions for it to kick in at least thats what i think made it kick on |
#41
|
|||
|
|||
nice hack, could you change it so it shows the lastest new registered users?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|