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
  #2  
Old 10-22-2005, 10:15 PM
Freezerator Freezerator is offline
 
Join Date: Nov 2001
Location: Den Haag
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot? Looks like a nice addtion!
Reply With Quote
  #3  
Old 10-22-2005, 10:26 PM
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Location: United Kingdom
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-22-2005, 10:56 PM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #5  
Old 10-22-2005, 11:06 PM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-22-2005, 11:10 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1996 328ti
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

Quote:
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
Reply With Quote
  #7  
Old 10-22-2005, 11:40 PM
hbalagh1's Avatar
hbalagh1 hbalagh1 is offline
 
Join Date: Jun 2005
Location: San Diego
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #8  
Old 10-23-2005, 12:35 AM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by 1996 328ti
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:

HTML Code:
<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:
HTML Code:
<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?
Reply With Quote
  #10  
Old 10-23-2005, 12:50 AM
wacnstac wacnstac is offline
 
Join Date: Nov 2001
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet. Many thanks.
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:41 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.05043 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_html
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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