Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBaCMPS Module - Top 10 Thanked Users Details »»
vBaCMPS Module - Top 10 Thanked Users
Version: 1.00, by tehcake tehcake is offline
Developer Last Online: Jul 2005 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 05-15-2005 Last Update: Never Installs: 6
 
No support by the author.

This addon will allow you to show the Top 10 Thanked members on your forum on the front page.

REQUIRED:
vBaCMPS
Post Thank You Hack

INSTALL:
Create a style template called "adv_portal_topstats"
Put the following code in the template.
Code:
<table cellpadding="4" cellspacing="$stylevar[cellspacing]" border="0" class="tborder" width="100%">
              <tr> 
                      <td class="tcat"><span class="smallfont"><b>$vboptions[blockbullet] 
                        Top 
                        10 Thanked </a></b></span></td>
              </tr>
              <tr class="alt1"> 
                      <td width="100%"><span class="smallfont">$top_stats[top_thanks] 
                        </span></td>
              </tr>
            </table>
<br />
Create a template and call it "top_thanks"
Put the following code in the template.
Code:
<span class="smallfont"><center><b><a href="/forum/member.php?u=$top_thank[userid]">$top_thank[username]</a></b> ($top_thank[post_thanks_thanked_times])</center></span>
Put the attached PHP file in your /modules/ folder.

Add the module via vBaCMPS admincp.
For templates used, put adv_portal_topstats.



Anyone know how to create a CRON job to add a user to a usergroup once they get X ammount of thanks?

Show Your Support

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

Comments
  #2  
Old 05-16-2005, 08:29 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't need a cron job for that. You can do it with vb "promotion" in admincp.
I am also pulling the userid from your hack so I link it to profile
Reply With Quote
  #3  
Old 05-16-2005, 08:34 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can also link the count to post_thanks.php?do=findthanks&u=xx
Reply With Quote
  #4  
Old 05-16-2005, 03:05 PM
DR?@M W?@V?R DR?@M W?@V?R is offline
 
Join Date: Aug 2002
Location: uk
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanked for what? I dont understand.
Reply With Quote
  #5  
Old 05-16-2005, 06:40 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to be a 10 ten of users who got thanked. You need "Post Thank You Hack" written by me. (Link is in my sig.)

tehcake, nice work.
Reply With Quote
  #6  
Old 05-17-2005, 02:09 AM
vakvak vakvak is offline
 
Join Date: Mar 2005
Location: T?rkiye
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where this top stats.php upload?
Reply With Quote
  #7  
Old 05-17-2005, 03:25 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here:
Quote:
Put the attached PHP file in your /modules/ folder.
Reply With Quote
  #8  
Old 01-04-2008, 11:24 AM
softvnzla's Avatar
softvnzla softvnzla is offline
 
Join Date: Jan 2008
Location: Venezuela
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

?? download module? is error?
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 11:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04096 seconds
  • Memory Usage 2,268KB
  • 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_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete