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

Reply
 
Thread Tools
Yet Another Awards System 2.1.4 Details »»
Yet Another Awards System 2.1.4
Version: 2.1.4, by mtha mtha is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.5 Rating:
Released: 03-18-2007 Last Update: 03-24-2007 Installs: 748
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Yet Another Award System 2.1.4 ? by HacNho
Copyright (C) 2005 by HacNho, All rights reserved.


Hack Version: 2.1.4.070324
Compatible vB version: 3.6.x
Support: https://vborg.vbsupport.ru/showthread.php?t=142487

for vBulletin 3.5.x:
https://vborg.vbsupport.ru/showthread.php?t=94836
For vBulletin 3.0.x, please check the other version:
https://vborg.vbsupport.ru/showthread.php?t=78934

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
- [1.2] Options to set number of awards displayed in postbit
- [1.2] Options to turn on/off showing award icon, images, award requests in awards list, awards icons in memberlist
- [2.1.3] Notify awarded user by PM/email
- [2.1.4] Option to turn on/off Award System in ModCP

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)
[1.2] Display limit awards in postbit, with total awards, and a link to awards showcase in member profiles.
[1.2] Award request, link to a form sending to email/PM/new thead or post (based on Dr Erwin Loh's Form hack)
[1.2] Display award on Memberlist page (by trulylowcarb)

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)
- Files to edit: 8 (/admincp/index.php, member.php, showthread.php, showpost.php, announcement.php, private.php, memberlist.php, /include/functions_online.php)
- Templates to edit: 5 (MEMBERINFO, postbit, postbit_legacy, memberlist, memberlist_resultsbit )

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
- and all others for supports and ideas

Show Your Support

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

Comments
  #92  
Old 04-07-2007, 02:28 PM
Danisty Danisty is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anybody help me with this? Perhaps post the entire text that should be in the YAAS - Showthread_postbit_create plugin?
Reply With Quote
  #93  
Old 04-07-2007, 02:37 PM
sinisterpain's Avatar
sinisterpain sinisterpain is offline
 
Join Date: Feb 2006
Location: New Hampshire
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Danisty View Post
Can anybody help me with this? Perhaps post the entire text that should be in the YAAS - Showthread_postbit_create plugin?
Code:
$post['userawards'] = '';
  $post['showuserawards'] = false;
  if ($vbulletin->options['aw_postbit'])
  {
      if (is_array($userawardscache[$post[userid]]))
      {
        $aw_i = 0;
        $post['num_awards'] = count($userawardscache[$post[userid]]);
        foreach($userawardscache[$post['userid']] AS $award_id => $award)
        {
          $aw_i++;
          if ($aw_i <= $vbulletin->options['aw_display_limit'])
          {
            eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
          }
        }
        $post['showuserawards'] = true;
      }
    }
Reply With Quote
  #94  
Old 04-08-2007, 08:41 PM
Elfo King Elfo King is offline
 
Join Date: Apr 2003
Location: Pisa-Italy
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi !
I have a problem with this:

IF on POSTBIT is enabled:

Quote:
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT a.*, au.*, post.userid, post.postid
FROM post AS post
INNER JOIN award_user AS au ON (au.userid=post.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
WHERE 1=1
AND post.postid IN (0,1684)

GROUP BY au.issue_id
ORDER BY au.issue_time DESC;

MySQL Error : Colonna sconosciuta 'a.award_id' in 'on clause'
Error Number : 1054
Date : Sunday, April 8th 2007 @ 10:45:07 PM
Script : http://forum.uebb.it/showthread.php?t=371
Referrer :
IP Address : 66.249.72.209
Username : Non registrato
Classname : vb_database
If MEMBERLIST is enabled:

Quote:
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT a.*, au.*
FROM user AS user
INNER JOIN award_user AS au ON (au.userid=user.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid=user.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid=user.userid)
LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid=reputationlevel.reputati onlevelid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)


WHERE 1=1
AND user.usergroupid IN (-1,37,38,72,71,9,6,70,52,79,74,51,16,19,64,82,29,69 ,30,56,77,42,28,68,7,15,14,73,84,12,65,80,81,59,60 ,5,26,49,83,50,2,31,78)
GROUP BY au.issue_id;

MySQL Error : Colonna sconosciuta 'a.award_id' in 'on clause'
Error Number : 1054
Date : Sunday, April 8th 2007 @ 11:38:03 PM
Script : http://forum.uebb.it/memberlist.php
Referrer :
IP Address : 62.123.244.184
Username : King™
Classname : vb_database
and...a big problem...if all disabled, in ALL MEMBER PROFILE:
Quote:
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT a.*, au.*
FROM award AS a
LEFT JOIN award_user AS au ON (a.award_id=au.award_id)
WHERE (au.userid = 1874)
ORDER BY au.issue_time DESC;

MySQL Error : Colonna sconosciuta 'a.award_id' in 'on clause'
Error Number : 1054
Date : Sunday, April 8th 2007 @ 10:43:57 PM
Script : http://www.uebb.it/forum/member.php?u=1874
Referrer :
IP Address : 74.6.68.235
Username : Non registrato
Classname : vb_database
Now i have disabled the product for full board function...
Pls...i need fast help to repair..
Reply With Quote
  #95  
Old 04-09-2007, 02:20 AM
Danisty Danisty is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinisterpain View Post
Code:
$post['userawards'] = '';
  $post['showuserawards'] = false;
  if ($vbulletin->options['aw_postbit'])
  {
      if (is_array($userawardscache[$post[userid]]))
      {
        $aw_i = 0;
        $post['num_awards'] = count($userawardscache[$post[userid]]);
        foreach($userawardscache[$post['userid']] AS $award_id => $award)
        {
          $aw_i++;
          if ($aw_i <= $vbulletin->options['aw_display_limit'])
          {
            eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
          }
        }
        $post['showuserawards'] = true;
      }
    }

I'm still getting the following error:

Quote:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(825) : eval()'d code on line 60
Reply With Quote
  #96  
Old 04-10-2007, 08:05 AM
polo708 polo708 is offline
 
Join Date: Jun 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alright, I feel stupid right now... to install this hack I download the zip file on teh first page and do what?... yes im serious, haha. This is my first hack install and im curious/nervous. Looks like a great program.

Im running: VBulletin 3.6.4
Reply With Quote
  #97  
Old 04-10-2007, 05:55 PM
MikeHolohan's Avatar
MikeHolohan MikeHolohan is offline
 
Join Date: Mar 2007
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone tell me if it is possible to give an award to a usergroup rather that a single user... for example I have bronze supporter, silver supporter and gold supporter usergroups.

I created awards for each of these usergroups and wanted to assign an award to each usergroup, any ideas?

Mike.
Reply With Quote
  #98  
Old 04-10-2007, 09:49 PM
Kirkus Kirkus is offline
 
Join Date: Feb 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by polo708 View Post
alright, I feel stupid right now... to install this hack I download the zip file on teh first page and do what?... yes im serious, haha. This is my first hack install and im curious/nervous. Looks like a great program.

Im running: VBulletin 3.6.4
First you need to "unzip" the file that you downloaded. Then, if you look inside the "Docs" folder you'll see installation instructions. Follow them step by step.
Reply With Quote
  #99  
Old 04-15-2007, 04:17 AM
home9000 home9000 is offline
 
Join Date: Aug 2005
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice product

I want to change Yes/No/Maybe options in poll to another words where I can found this words
Reply With Quote
  #100  
Old 04-20-2007, 08:19 AM
Danisty Danisty is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I can't get some kind of feedback here I'm just going to uninstall this.
Reply With Quote
  #101  
Old 04-21-2007, 05:40 AM
djchris djchris is offline
 
Join Date: Feb 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am I right to say that for this mod, I allow members to vote, and then I see the results of the voters and award the winner?

If so, may I know, how do I view the results of the votes? I can't seem to find the results, and who voted..
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 01:48 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.05362 seconds
  • Memory Usage 2,331KB
  • Queries Executed 25 (?)
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
  • (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
  • (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