Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest X Paid Subscribers on Forum Home Details »»
Latest X Paid Subscribers on Forum Home
Version: 0.8, by tamarian tamarian is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 10-21-2005 Last Update: 12-21-2005 Installs: 63
Uses Plugins Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-30-2005, 02:19 AM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paulmjno
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?
Reply With Quote
  #23  
Old 12-01-2005, 11:05 AM
boatswife boatswife is offline
 
Join Date: Sep 2004
Location: Kingsland, GA
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1996 328ti
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!
Reply With Quote
  #24  
Old 12-08-2005, 07:41 AM
Noonster Noonster is offline
 
Join Date: Jun 2005
Location: East Yorkshire, UK
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 12-08-2005, 07:45 AM
Noonster Noonster is offline
 
Join Date: Jun 2005
Location: East Yorkshire, UK
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont worry I have sorted it!!
Reply With Quote
  #26  
Old 12-08-2005, 09:38 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love it! Thank you!
Reply With Quote
  #27  
Old 12-18-2005, 04:10 PM
groberthall groberthall is offline
 
Join Date: Jan 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #28  
Old 12-19-2005, 03:38 PM
Julie's Avatar
Julie Julie is offline
 
Join Date: Mar 2005
Location: Oslo, Norway
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working like a charm Thanks for this!
Reply With Quote
  #29  
Old 12-20-2005, 03:16 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mini2
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
Reply With Quote
  #30  
Old 12-20-2005, 09:23 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mini2
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.
Reply With Quote
  #31  
Old 12-21-2005, 06:49 AM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This plugin's only working in my default template, what am I doing wrong?

Thanks...

hugh
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04819 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete