Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
Yet Another Awards System Details »»
Yet Another Awards System
Version: 4.0.9, by squidsk squidsk is offline
Developer Last Online: Aug 2021 Show Printable Version Email this Page

Category: Major Additions - Version: 4.0.2 Rating:
Released: 01-09-2010 Last Update: 12-15-2014 Installs: 982
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

*** CREATE A BACKUP OF YOUR FORUM AND DATABASE BEFORE INSTALLING ***


DESCRIPTION:
This is a Medals/Awards system. Admin can give members awards, and award icons will be displayed in member's profile, posts, as well as in a award list.

FEATURES:
In AdminCP
- Can Create/Edit/Delete/Reorder categories/sub-categories in ACP (with category name and description)
- Can Create/Edit/Delete awards in ACP (with Award Name, Description, Icon URL, Image URL)
- Can Move one (or all) award(s) from one category to another
- Can set some awards un-classified (not displayed for public)
- Can re-order awards in awards showcase
- Issue awards to members, based on username or userid, with Issue Reason
- Remove awards from members
+ Writes granting/removing awards to the log

In ModCP
- Issue awards to members, based on username or userid, with Issue Reason
- Remove awards from members
+ Writes granting/removing award to the log

Front page
- Display awards list in with: Award Name, Description, Icon, Image, and Members who get each award.
- Display awards showcase in profile, with Award information, Issue time and reason
- Display award icons in postbit (showthread, showpost, announcement, private)

New Features/Additions since 3.8
- Points System
- Separate Award Request/Recommendation Forms
- CSS Customizable

Current Release Version 4.0.9
  • Added - Handling of user merges
  • Added - Handling of user deletes
  • Added - Manage awards on per user basis
  • Added - Extra info to the logs for mass removal and editing of issued awards
  • Added - Ability to collapse categories on awards.php
  • Added - Checksum file for checking for suspect file versions
  • Added - Various missing phrases
  • Fixed - Memberlist not showing awards when option is active
  • Fixed - Navtab not being selected (vb version < 4.2)
  • Fixed - Category title not being displayed on awards.php
  • Fixed - Logging not working in modcp
  • Fixed - A few other minor bugs

Download Now

File Type: zip YaAS-Automation-R4.zip (6.1 KB, 735 views)
File Type: zip YaAS-4.0.9.zip (1.34 MB, 984 views)

Screenshots

File Type: png YaAS4-AwardListings.png (164.2 KB, 0 views)
File Type: png YaAS4-ProfileTab.png (162.9 KB, 0 views)
File Type: png YaAS4-Post.png (176.0 KB, 0 views)
File Type: png YAAS4-AdminCP.png (381.0 KB, 0 views)
File Type: png YaAS4-AdminCP-EditAward.png (255.4 KB, 0 views)
File Type: jpg YaAS4-AdminCP-EditCSS.jpg (126.2 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #1352  
Old 01-09-2013, 02:51 PM
Monstercat Monstercat is offline
 
Join Date: Dec 2012
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Squidsk,

How does the automation work? I have some setup but it seems like there is a delay?

Regards
Reply With Quote
  #1353  
Old 01-09-2013, 03:16 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Monstercat View Post
Hey Squidsk,

How does the automation work? I have some setup but it seems like there is a delay?

Regards
Its a cron job which is set to run once every hour, so after a user meets the requirement it might take up to an hour for the award to be granted.
Reply With Quote
  #1354  
Old 01-09-2013, 03:23 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
When I went to give an award to someone a while ago, it said no matches were found for that query. I went with their user ID instead, and nothing related to the medals was showing except for the Admin CP stuff, but it worked.

However, now the listing is out of order. Cloud should be below TK:

[IMG]http://i101.photobucket.com/albums/m62/AmauryGarcia/Medals_zps3504da00-1_zpsff05c758.jpg[/IMG]

EDIT: Actually, looking at the screenshot, I am now just noticing that Gottlichkeit is out of order as well.

EDIT II: I'm noticing it elsewhere as well.

[IMG]http://i101.photobucket.com/albums/m62/AmauryGarcia/Medals2_zps89621236-1_zps1f3de794.jpg[/IMG]
Its how it was coded since the query to get the users who currently have the award is not ordered, any perceived ordering of results from a query without an ORDER BY is purely arbitrary.
Reply With Quote
  #1355  
Old 01-09-2013, 03:56 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
Its how it was coded since the query to get the users who currently have the award is not ordered, any perceived ordering of results from a query without an ORDER BY is purely arbitrary.
By arbitrary, do you mean that most of them being in date and time order is a coincidence? How about the no matches error, though, and the partially blank page when using the ID?

Anyway, is it possible to make this go by date and time order?
Reply With Quote
  #1356  
Old 01-09-2013, 04:13 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
By arbitrary, do you mean that most of them being in date and time order is a coincidence? How about the no matches error, though, and the partially blank page when using the ID?

Anyway, is it possible to make this go by date and time order?
Yes. As for the no matches its likely the user just has some characters that aren't being displayed on screen in their username.

If you wanted it by date order you'd need to add ORDER BY <datefield> to the query.
Reply With Quote
  #1357  
Old 01-09-2013, 04:56 PM
Monstercat Monstercat is offline
 
Join Date: Dec 2012
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
Its a cron job which is set to run once every hour, so after a user meets the requirement it might take up to an hour for the award to be granted.
Mhrm not seeing our current being sent out to the usergroups. Is there any way I can make this instant? It's very important to the launch of the project.

Thanks!
Reply With Quote
  #1358  
Old 01-09-2013, 05:30 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Monstercat View Post
Mhrm not seeing our current being sent out to the usergroups. Is there any way I can make this instant? It's very important to the launch of the project.

Thanks!
In your scheduled tasks change the details of the awards task as needed. The more often you run a cron job the greater the resources used by the forum.
Reply With Quote
  #1359  
Old 01-10-2013, 04:16 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So why is it handing out awards every hour for post count.?
Isn't it going to check if they have the award.?

People will have hundreds of the same award by the end of the week. lol
Reply With Quote
  #1360  
Old 01-10-2013, 04:24 AM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
Yes. As for the no matches its likely the user just has some characters that aren't being displayed on screen in their username.

If you wanted it by date order you'd need to add ORDER BY <datefield> to the query.
Is that something simple or does it require server work?

Our owner is the server expert, so that's why I'm asking. I just know how to take backups, LOL!
Reply With Quote
  #1361  
Old 01-10-2013, 04:41 AM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamelobby View Post
So why is it handing out awards every hour for post count.?
Isn't it going to check if they have the award.?

People will have hundreds of the same award by the end of the week. lol
It shouldn't be, it checks every hour for those who meet the criteria (i.e. have the requisite number of posts) but do not have the award and then grants it.

Quote:
Originally Posted by Amaury25 View Post
Is that something simple or does it require server work?

Our owner is the server expert, so that's why I'm asking. I just know how to take backups, LOL!
It requires changing one of the file uploaded to the server, it shouldn't actually be too complicated if someone knows what they're doing.
Reply With Quote
Reply

Thread Tools

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 05:21 AM.


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.19026 seconds
  • Memory Usage 2,370KB
  • Queries Executed 27 (?)
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
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (19)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete