Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 12-10-2001, 01:37 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After having a need for such a hack, and seeing only requests, and no code for one, I decided to put one together.

What is it?

vbAwards is a system that allows administrators to configure a robust award system which is fully integrated within VB v2.2.0+. You can have as many award "levels" as you like (i.e. merit badges, ribbons, medals, trophies, etc.). The awards engine consists of several components:
  • The first, is the admin panel, where you can define new awards, edit/delete them, assign awards to users automatically, and even run test "scans" to see who is eligible for awards (great if you are still developing the criteria and want to see if you have it right). The award images themselves are completely configurable, BTW.
  • The second, is the assignment robot. Run via cron, it allows you to automate the assignment of awards, based on your predefined rules/criteria.
  • The third is the integration within VB itself - complete with award "shadow boxes", showing which awards a person has one, an overview page, which shows all the awards a person can earn, the Top 50 award winners, etc.

Now, the most important thing about this, is that most of the functionality is contained in a separate PHP module, meaning that the actual integration into VB is minimal at best. Add a couple of lines here and there, add a few templates, and you are all set.

The criteria for awards exist in the form of "embedded PHP" code. Basically, what this means is that you can really do anything you want. Some of the example plugins that I have allow you to automatically grant awards based on:
  • # of posts in one or more specific forums
  • # of threads started in one or more specific forums
  • # of posts in threads that they didn't start (in 1 or more forums)
  • # of referrals (new users they've brought in)

The above list is just a sample - you can get pretty crazy with the criteria. For example, we have one award that is only available if they've earned 10 or more "merit badges" (our lowest level of awards - they are forum specific), have been a member for at least 2 years, have at least 5,000 total posts, have referred at least 10 new people, and those new people must have at least 100 posts in order to count.

It can also work with external data sources (other mySQL database, mSQL databases, etc.). For example, on our site, I have it so that it works with our article publishing system and even our community image library - so people who contribute to those tools are eligible for awards as well.

To get a good idea of what the engine is capable of, or just to see it in action, visit my site at http://www.wetcanvas.com. Just head to the forums and look around.

A few screenshots will follow in subsequent posts in this thread.

This hack isn't currently available to the public, although it might be if there is enough interest. Be warned, I will likely charge a few bucks for it if and when I do offer it - its been a helluva lot of work, and I have bills to pay.

Cheers.
Scott
Reply With Quote
  #2  
Old 12-10-2001, 01:37 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This screen shows a member's shadowbox, which is embedded in their profile page.
Attached Images
File Type: gif a2.gif (18.4 KB, 0 views)
Reply With Quote
  #3  
Old 12-10-2001, 01:38 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one shows part of the page that lists all the awards they can win:
Attached Images
File Type: gif a3.gif (22.6 KB, 0 views)
Reply With Quote
  #4  
Old 12-10-2001, 01:38 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one shows more awards on that same page.
Attached Images
File Type: gif a4.gif (9.7 KB, 0 views)
Reply With Quote
  #5  
Old 12-10-2001, 01:39 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one shows the page which tells you all the members who have received a certain award.
Attached Images
File Type: gif a5.gif (8.4 KB, 0 views)
Reply With Quote
  #6  
Old 12-10-2001, 01:40 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one shows the small link on the index page of any forum, allowing you to see all the winners of awards associated with that forum.
Attached Images
File Type: gif a6.gif (4.0 KB, 0 views)
Reply With Quote
  #7  
Old 12-10-2001, 01:40 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you click that link that is mentioned 2 posts up (on the forum index pages), you get something like this:
Attached Images
File Type: gif a8.gif (11.8 KB, 0 views)
Reply With Quote
  #8  
Old 12-10-2001, 01:41 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one shows you how the postbits look for a person with awards (beneath their avatar).
Attached Images
File Type: gif a9.gif (5.6 KB, 0 views)
Reply With Quote
  #9  
Old 12-10-2001, 01:41 AM
incursio incursio is offline
 
Join Date: Nov 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Viewing last night's award winners ... it is automated.
Attached Images
File Type: gif a1.gif (33.5 KB, 0 views)
Reply With Quote
  #10  
Old 12-10-2001, 07:10 AM
Bitmap Bitmap is offline
 
Join Date: Oct 2001
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow! looks great.
Reply With Quote
Reply

Thread Tools
Display Modes

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:23 PM.


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.05649 seconds
  • Memory Usage 2,291KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (10)postbit
  • (8)postbit_attachment
  • (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_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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete