View Full Version : Latest X Paid Subscribers on Forum Home
tamarian
10-21-2005, 10:00 PM
By request, this has been ported from the vB 3.0.x version:
https://vborg.vbsupport.ru/showthread.php?s=&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
Freezerator
10-22-2005, 10:15 PM
Screenshot? Looks like a nice addtion! :)
michaelbenson
10-22-2005, 10:26 PM
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.
steven s
10-22-2005, 10:56 PM
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!
steven s
10-22-2005, 11:06 PM
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.
tamarian
10-22-2005, 11:10 PM
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.
It's in the first post :)
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
hbalagh1
10-22-2005, 11:40 PM
thanks :)
steven s
10-23-2005, 12:35 AM
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
tamarian
10-23-2005, 12:43 AM
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
You can add the font colour tags to the template. It currently uses your CSS for smallfont and strong:
<span class="smallfont"><a href="member.php?$session[sessionurl]u=$contributer[userid]"><strong>$contributer[username]</strong></a></span>
You can simplify it by changing it:
<a href="member.php?$session[sessionurl]u=$contributer[userid]">$contributer[username]</a>
Not sure about the special U tags you have. Do you have any hacks or something different in your forum?
wacnstac
10-23-2005, 12:50 AM
Sweet. Many thanks.
tamarian
10-23-2005, 12:55 AM
Steven, try the new XML file.
steven s
10-23-2005, 12:58 AM
Not sure about the special U tags you have. Do you have any hacks or something different in your forum?That was to illustrate the added coding. Sorry for the confusion.
tamarian
10-23-2005, 01:00 AM
That was to illustrate the added coding. Sorry for the confusion.
No problem. Try the new XML file and let me know if it fixes your problem, it has been updated.
steven s
10-23-2005, 01:01 AM
Steven, try the new XML file.
It's working correctly now. Thanks.
You need to change version .5 to .6 now. :)
tamarian
10-23-2005, 01:10 AM
It's working correctly now. Thanks.
You need to change version .5 to .6 now. :)
Cool. Was just waiting for confirmation :)
wacnstac
10-23-2005, 01:55 AM
I can't believe how easy these plugins are to use, wow!
secret1980
10-23-2005, 04:17 AM
is it possible for manually displaying who have paid or will it check only for the paid subscriptions ?
tamarian
10-23-2005, 01:22 PM
is it possible for manually displaying who have paid or will it check only for the paid subscriptions ?
It's only for paid subscribers. You might want to check the PP donation hack.
tamarian
10-23-2005, 01:23 PM
Typo in the template.
Yes. XML file updated :)
paulmjno
11-25-2005, 11:14 PM
I changed an active users subscription expiry date, but the list is simply not showing. Any ideas?
tamarian
11-30-2005, 02:19 AM
I changed an active users subscription expiry date, but the list is simply not showing. Any ideas?
Did you make the edits to forum home template?
boatswife
12-01-2005, 11:05 AM
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!
Thank you, that was perfect!
Noonster
12-08-2005, 07:41 AM
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.
^^ I dont fully understand, how to do that... can someone help??
Cheers
Noonster
12-08-2005, 07:45 AM
Dont worry I have sorted it!!
Sal Collaziano
12-08-2005, 09:38 PM
I love it! Thank you! :)
groberthall
12-18-2005, 04:10 PM
Just what I needed, thanks.
I have added this to the bottom of my Navbar because I would like it to show up on every page..... but like some other strings the $thanks inly works on forumhome.
Does anyone know how to make it work on all pages ?
Julie
12-19-2005, 03:38 PM
Working like a charm :D Thanks for this!
tamarian
12-20-2005, 03:16 PM
Just wondering, this has been working OK as far as I could tell, but it seems to be adding a session id to the URL (member.php) on each link. This therefore logs out people who are not "keeping logged in" when they click the link.
Any ideas how to strip the session out of the URLs?
Edit the thanks_bit template and remove the $session[sessionurl]. It's there because of cut & paste :)
tamarian
12-20-2005, 09:23 PM
That's what's odd, that isn't in the thanks_bit template, that's just:
<a href="member.php?u=$contributer[userid]">$contributer[username]</a>
You need to refresh the list after you edits. Try editing a member's active subscription, bt adding an hour, to regenerate the list.
hugh_
12-21-2005, 06:49 AM
This plugin's only working in my default template, what am I doing wrong?
Thanks...
hugh
tamarian
12-21-2005, 11:14 PM
This plugin's only working in my default template, what am I doing wrong?
Have you made the FORUMHOME edits in the other styles?
tamarian
12-21-2005, 11:17 PM
You're not understanding, I have had new subscribers since I checked to make sure there was no $session[sessionurl] in the thanks_bit template (which there wasn't), and it's refreshed/updated including a session in the links on my forum home.
Forum home is www.mini2.com/forum/
thanks_bit looks as posted above (no session information).
C11 XFF is the most recent subscriber (just now, as I type this)....
So where is the session in the URL suddenly coming from (this was working fine until recently, no sessions in the URLs?!)...
Looks like your forum is moving, so I couldn't see it.
tamarian
12-21-2005, 11:32 PM
Still doing the same mind you, adding in the session details, from somewhere? Any idea where these could come from as it's not in thanks_bit.
Did you check it in the main or other styles?
tamarian
12-22-2005, 02:20 AM
Just the main, it's the main style I use and all others are childs (children even) of that one. They all have the same issue.
Try the new version. It just edits the template, but you never know.
eNforce
12-22-2005, 02:35 AM
Cool, works well thank you :)
bashy
12-24-2005, 11:13 PM
Installed thanks...
How do i get it to show the amount donated like your screenshot please?
Regards
Bashy
tamarian
12-24-2005, 11:49 PM
How do i get it to show the amount donated like your screenshot please?
It doesn't calculate the amount. The number you see in the screenshot is total weight loss. Would be great if it was the $$ amount :)
There's another hack for PayPal donations that shows the total amount donated via PayPal https://vborg.vbsupport.ru/showthread.php?s=&threadid=91567
cdoyle
12-28-2005, 09:17 PM
Will this work on 3.5 instead of 3.52?
edit: Yes it does work on 3.5
ericgtr
12-29-2005, 08:40 PM
Neato, installed. :)
cdoyle
12-30-2005, 12:12 AM
I've read this thread, but I'm not seeing where I need to go, to say if I want to change the color of the latest paid subscribers name?
Do I change something in the thanksbit or forumhome?
hugh_
12-30-2005, 05:01 AM
I've just fixed my problem, although it was obvious I've only just got round to thinking about it. Anyway the 'thanks' template was empty in some styles...
steven s
01-23-2006, 03:51 AM
I have multiple paid subscriptions. If a user has two current paid subscriptions there are listed twice. Any way to get around this?
mikeB
01-27-2006, 04:20 AM
ok at the very very top of my site: http://www.bakermedia.com/learn
the list of contributors is there
but it's not refreshing.. and I had new subs since I left it up there... any idea what I can do> is it not recognizing my subscribers user group id?
any help is appreciated!!
(I'm in 3.5.3)
GrandAmGuru
01-28-2006, 11:45 AM
For some reason (haven't made any other code changes to the forum in a long time), after I process the subscription, when the subscriptions task runs everynight, it's deleting the most recent subscriptions. anyone else having this problem?
tamarian
01-28-2006, 04:16 PM
For some reason (haven't made any other code changes to the forum in a long time), after I process the subscription, when the subscriptions task runs everynight, it's deleting the most recent subscriptions. anyone else having this problem?
I think this happens if the most recent is a renewal of an old subscription. Was that the case?
GrandAmGuru
01-29-2006, 03:13 PM
no, the two most recent subscriptions were both brand new.
MPDev
01-30-2006, 12:21 AM
What about special tags added for usergroups? (i.e. my contributors are given color tags based on the amount they donate and assigned to a Silver, Gold or Diamond usergroup with special color tags for their name).
Does this update templates when you use multiple styles across all styles?
---MAD---
02-05-2006, 01:32 PM
This doesnt seem to update with me.
Its still one someone that paid/renewed ages ago :S
---MAD---
02-05-2006, 01:45 PM
This doesnt seem to update with me.
Its still one someone that paid/renewed ages ago :S
oh wait, i think its because this is a 3.5.2 hack?
sunnycher
02-15-2006, 06:53 PM
I just installed it on 3.5.1 and it's working so far.
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!
Hi this I simply dont understand where and/or how do i use this as/in plugin.xml Would you please generate the plugin and upload it here?
AussieMagna
02-19-2006, 02:22 AM
Is there a way to use this script and change to it "Lastest Donating Memebers" ?
tamarian
02-27-2006, 01:38 PM
Is there a way to use this script and change to it "Lastest Donating Memebers" ?
The wording is of your choice, in the template.
heynurse
03-22-2006, 04:24 AM
Thanks for the hack!! I have my premium members names show up in green text throughout the board, but in this section, they are just the same default text for links throught the site.
Is there anyway to have them show in green in this hack as well?
I look through the thread, but didn't see this discussed yet. Thanks
---MAD---
03-22-2006, 06:23 PM
does this work on 3.5.4?
tamarian
03-22-2006, 08:32 PM
heynurse: edit the template to the font of your choice
MAD PLayEr1: Yes, it should work fine on 3.5.4
---MAD---
03-23-2006, 04:49 AM
for some reason it doesnt work too well on my forum. It wont change the number of people displayed unless i do it via the template.
Also it seems to put the wrong names on?
dsotmoon
03-31-2006, 03:01 AM
installed: but trying to figure out the colors, i changed it to this in thanks bit but it did nothing ? ? ?
<a href="member.php?u=$contributer[userid]"><b><font color="#006633">$contributer[username]</font></b></a>
tamarian
03-31-2006, 10:16 PM
installed: but trying to figure out the colors, i changed it to this in thanks bit but it did nothing ? ? ?
It should take effect on the next subscription update, or you can update manually.
nonet
06-23-2006, 10:59 PM
Has anybody got this to work with vBadvanced CMPS?
Chris 96 WS6
07-07-2006, 03:01 PM
It should take effect on the next subscription update, or you can update manually.
Yeah, I used the same code to change the color and it didn't change even after manually updating the subscriptions.
Is it because the names are hyperlinked and link colors override font colors?
steven s
08-07-2006, 12:51 AM
This doesn't appear to work with 3.6. :(
anyone who got this working on the new 3.6 ?
badboyz
08-07-2006, 02:17 PM
how do i add color to those members?
winpro19
08-07-2006, 07:36 PM
Works nicely on vb 3.6....
But yes, I would like to know as well how to change the font color/settings on this? I have tried to edit the thanks bit but it does not work - there is no change at all even after new paid members came (after the change was made).
Let me know. Thanks
its apeard to work with 3.6
Carmen27
09-24-2006, 05:08 PM
Question. I"ve installed this in 3.6.1 and looks good and works EXCEPT when I click on contributing memers it then says this
Fatal error: Call to a member function on a non-object in /home/hispani/public_html/forums/payments.php(348) : eval()'d code on line 5
How would I fix this? Everything else works great! Carmen
shaynehammy
10-17-2006, 07:09 AM
Can i change the code to display just the latest members in the last 30 days and not just the paid ones?
SVTCobraLTD
03-04-2011, 12:58 PM
Anyone know the coding to add this elsewhere on the site?
Davey-UK
07-09-2011, 11:34 AM
Could anyone code this over to 4.1, as all the tempating system and calls have now been changed. :D:up:
Sal Collaziano
02-01-2013, 05:02 PM
Who do I pay to get this ported to vb4.2?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.