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
  #232  
Old 09-15-2008, 06:37 PM
Saint_ago Saint_ago is offline
 
Join Date: Jan 2006
Location: S?o Paulo - Brasil
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scarface Claw View Post
A little bug, my awards disappear from post bit after I edit a post, but display again once I click away.
I'm having the same here!
Reply With Quote
  #233  
Old 09-16-2008, 12:11 AM
Tanpapasmurf Tanpapasmurf is offline
 
Join Date: May 2008
Location: Louisville, Ky
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I remember reading that there was a update in the works for the past weekend?

Any news on this?
Reply With Quote
  #234  
Old 09-17-2008, 02:01 PM
gorentals gorentals is offline
 
Join Date: May 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to get this to display under the visitor messages on the main profile instead of a tab? This would be for version 3.7.3

Thanks
Reply With Quote
  #235  
Old 09-17-2008, 03:24 PM
kurv kurv is offline
 
Join Date: Jan 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, asking again

Quick question.... is there a way to create a link that when you click on the award, it takes you to the thread they received the award for..? I guess it would have to have a URL link box for each award given that it links to.

Is that possible... and what would this modification cost me

Thank you!! and thanks for the hard work - installed and donated!!
Reply With Quote
  #236  
Old 09-17-2008, 03:54 PM
Xanlamin's Avatar
Xanlamin Xanlamin is offline
 
Join Date: Mar 2008
Location: St. Charles, MO
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks kurv;

Where would you like the link placed? cause right now when you click on an award it should take you to there profile (soon to the awards tab itself), we may be able to figure a way to have it choose able to which it would take you to.

to gorentals: this would be possible yes as an option.

As to an update...we where not able to work on this as much as we would have liked to this past week...I really hate emergancies, expect some major updates coming the weekend of the 27th.
Reply With Quote
  #237  
Old 09-17-2008, 04:52 PM
gorentals gorentals is offline
 
Join Date: May 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks Xanlamin....Love your mod btw.

Is this something I can do or in the coming update?

Thanks again
Reply With Quote
  #238  
Old 09-17-2008, 05:56 PM
Xanlamin's Avatar
Xanlamin Xanlamin is offline
 
Join Date: Mar 2008
Location: St. Charles, MO
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure, I am only familure with certain parts of the code, my brother Cypher knows more of the deeper code and how to do the options aspect.
Reply With Quote
  #239  
Old 09-17-2008, 07:07 PM
Tanpapasmurf Tanpapasmurf is offline
 
Join Date: May 2008
Location: Louisville, Ky
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your hard work.
Reply With Quote
  #240  
Old 09-18-2008, 12:58 AM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this working for some time now but suddenly members can't request an award. If you click on "request award", the page refreshes and nothing happens.

Then if I try to ISSUE an award from the admin panel, I get the following error.

Code:
Database error in vBulletin 3.7.3:

Invalid SQL:

			SELECT userid, username
			FROM user
			WHERE username = 'Sleeperhawk's Mechanic';

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Mechanic'' at line 3
Error Number  : 1064
Request Date  : Wednesday, September 17th 2008 @ 09:53:41 PM
Error Date    : Wednesday, September 17th 2008 @ 09:53:41 PM
Script        : http://www.mysite.org/forum/admincp/award.php?do=dogiveaward
Referrer      : http://www.mysite.org/forum/admincp/award.php?do=awardusers&award_id=1
IP Address    : 72.69.93.240
Username      : admin
Classname     : vB_Database
MySQL Version : 5.0.51a-community
Reply With Quote
  #241  
Old 09-18-2008, 01:07 AM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK folks....I looked into this a bit deeper. The problem with the database error seems to be only when there is an apostrophe in the username. This user is Sleeperhawk's Mechanic. I can give awards to members with the apostrophe or to this one if I use the userID instead of the name. I can live with that but is there a fix for it?

As for not being able to request an award. That may be just because I, as admin, am trying to do so. Maybe it won't allow me to. Never tried before but was trying to test it in researching the above problem and noticed that it doesn't work if I click on "request award".
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:29 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.05235 seconds
  • Memory Usage 2,313KB
  • 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
  • (1)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
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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