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

Reply
 
Thread Tools
Yet Another Awards System Details »»
Yet Another Awards System
Version: 3.7.4, by Xanlamin Xanlamin is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 08-08-2008 Last Update: 11-22-2008 Installs: 511
DB Changes Uses Plugins Auto-Templates
Re-useable Code Code Changes Additional Files  
No support by the author.

A lot of you have been waiting for this forever to work 100% with 3.7 due to the new profile tabs...Well wait no longer, here is the new revises version of HacNho's YAAS (Yet Another Awards System).

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

In ModCP
+ Issue awards to members, based on username or userid, with Issue Reason
+ Remove awards from members

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)

CHANGES/MODIFICATION:
- Tables to add: 3 (award, award_user, award_cat)
- Files to add: 4 (/awards.php, /award_request.php, /admincp/award.php, /admincp/award_cat.php)


DIFFICULTY:

Easy
Time: about 5 minutes
Installer is included (1 product XML)

CREDIT:
Idea has been carried on by many people, here are some:
- Lesane for original Award hack for vB2, eventhough I've never use his hack
- AnimeWebby for Awards/ Medals/ Cards Hack [vB3], which I write new code based on his.
- Mac ycl6 for phpBB Medal System for phpBB forum
- Dr Erwin Loh for FORM TO THREAD/ FORUM/ PM/ EMAIL hack
- Cypher for helping with the tabs in 3.7
- liwo for re-writing plugins
- and all others for supports and ideas

And most of all to HacNho

This MOD is 100% Supported.

Authors of YaAS 3.7:
Xanlamin
CypherSTL

Current Release: v3.7.4

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 08-09-2008, 06:00 PM
gamerscms gamerscms is offline
 
Join Date: Aug 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to say a big thank you for updating this mod.

I have a idea to put forward if that is ok when you click the awards on the postbit would it be possible to take you to the awards tab and not just the profile?

again thanks
Reply With Quote
  #53  
Old 08-09-2008, 06:02 PM
gamerfu gamerfu is offline
 
Join Date: Apr 2008
Location: 台灣,&
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see Awards statistics like the Promotion options in AdminCP. Where you can see all the users who has that particular Award, with set pages say every 50 or 100 awards in AdminCP.

Because I would like to give and take away award for certain events. Say I have 12 Game tournaments in a game season. I would like to give a participation award for each event and the winners. Then at the end of the gaming season for those who participated, delete those participation awards and give them just a single award for participating in the gaming season.

I would like users wanting to come back to my site, then waiting 3 months for our gaming season to gain a participation award for the season.
Reply With Quote
  #54  
Old 08-09-2008, 06:24 PM
liwo liwo is offline
 
Join Date: Apr 2006
Location: Germany
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xanlamin View Post
PM me with your config.php code (WITH ALL YOUR PERSONAL INFO REMOVED), I do not need to know your db name and all that stuff so you can just remove it out. we can test it out on our test site and get things squared away for ya. We do not have a German board so we do not have access to the German config.php file, if anyone has one we can view it would be appreciated.
I do not think that there is a problem with config.php. I do have a german board and the database related stuff works fine.
But I would propose, that you just use the constant TABLE_PREFIX as all other vBulletin code and most mods do. Furthermore, your database queries could well go into one single query in awards_profile.php. I recoded awards_profile.php an hour ago to a) use phrases, b) use vBulletin API and options for time/date format and c) do only one query instead of 1 + $num * 2.

Once I figured out why the profile block doesn't show when clicking on the tab (even though the html is there alright), I could give you my version if you are interested.
Besides, that problem lies somewhere outside awards_profile.php, as I do not use it anymore, but it was the reason why I dug into the code and changed it.

Update. I found my problem, it didn't ly within this mod, it was a missing div in another one.

So, if you are interested in my version of the profile block, let me know.
Reply With Quote
  #55  
Old 08-09-2008, 07:37 PM
CodyMuir CodyMuir is offline
 
Join Date: Jun 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sad, to see how people are complaining about reusable code, where the author himself will not support this mod anymore. If people loved it soo much, and the main user Doesnt want to continue it, then let it be continued by someone else. You'll still have the original credit like he put in his desciption..

EVERYONE NOMINATE FOR MOTM its worth it.!
Reply With Quote
  #56  
Old 08-09-2008, 07:58 PM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error when I go to the admincp award settings link:
Fatal error: Cannot redeclare showgroupsordersort() (previously declared in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code:32) in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code on line 63
Reply With Quote
  #57  
Old 08-09-2008, 08:23 PM
Xanlamin's Avatar
Xanlamin Xanlamin is offline
 
Join Date: Mar 2008
Location: St. Charles, MO
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by liwo View Post
I do not think that there is a problem with config.php. I do have a german board and the database related stuff works fine.
But I would propose, that you just use the constant TABLE_PREFIX as all other vBulletin code and most mods do. Furthermore, your database queries could well go into one single query in awards_profile.php. I recoded awards_profile.php an hour ago to a) use phrases, b) use vBulletin API and options for time/date format and c) do only one query instead of 1 + $num * 2.

Once I figured out why the profile block doesn't show when clicking on the tab (even though the html is there alright), I could give you my version if you are interested.
Besides, that problem lies somewhere outside awards_profile.php, as I do not use it anymore, but it was the reason why I dug into the code and changed it.

Update. I found my problem, it didn't ly within this mod, it was a missing div in another one.

So, if you are interested in my version of the profile block, let me know.
That may come in handy, since this is still in beta stage any work that is able to be contributed to help make this mod better/faster/stronger is well welcomed.

Quote:
Originally Posted by gamerscms View Post
I would like to say a big thank you for updating this mod.

I have a idea to put forward if that is ok when you click the awards on the postbit would it be possible to take you to the awards tab and not just the profile?

again thanks
This is already addressed internal, it is one of the bugs that still remain and will be worked out.

Quote:
Originally Posted by Loller View Post
All award phrases ("My Awards" etc.) in awards_profile.php are static Will better to save them in vbulletin phrases, for making correct and full translation.
This will be done in the next release, just wanted to get a fully working release out so people could use it. A fully phrased is in the works.

Quote:
Originally Posted by Doug Nelson View Post
What does it look like on sites with the horizontal user post format (such as here on vb.org)?
Never tried it since I use postbit_leg. If anyone wants to send in a screen shot that does use the default postbit I will add it to the screen shots so people are able to tell prior to downloading.
Reply With Quote
  #58  
Old 08-09-2008, 08:25 PM
Xanlamin's Avatar
Xanlamin Xanlamin is offline
 
Join Date: Mar 2008
Location: St. Charles, MO
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mellow View Post
I'm getting this error when I go to the admincp award settings link:
Fatal error: Cannot redeclare showgroupsordersort() (previously declared in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code:32) in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code on line 63

Did you follow the install instructions to a "T"?

If your running the old version and upgraded to this one and did not follow the instructions fully you will get major errors.
Reply With Quote
  #59  
Old 08-09-2008, 08:30 PM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xanlamin View Post
Did you follow the install instructions to a "T"?

If your running the old version and upgraded to this one and did not follow the instructions fully you will get major errors.
I thought I did, I'll give it another shot. Thanks.
Reply With Quote
  #60  
Old 08-09-2008, 08:36 PM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just re-did everything and still getting an error. I don't know all the files from the previous version so I'm not sure what to delete there.
Reply With Quote
  #61  
Old 08-09-2008, 08:50 PM
ellaithy ellaithy is offline
 
Join Date: Jul 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did not upload file admincp/avatar.php

Will This causes a problem ??

thank you
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 12:02 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.05238 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
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
  • (7)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
  • (1)pagenav_pagelinkrel
  • (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