Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #62  
Old 03-23-2007, 05:48 PM
techenigma techenigma is offline
 
Join Date: Dec 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.
Reply With Quote
  #63  
Old 03-24-2007, 07:29 AM
mat.knott mat.knott is offline
 
Join Date: Feb 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any update on problem with vbadvanced?
Reply With Quote
  #64  
Old 03-24-2007, 04:54 PM
MikeHolohan's Avatar
MikeHolohan MikeHolohan is offline
 
Join Date: Mar 2007
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is excellent, installed thanks, Mike.
Reply With Quote
  #65  
Old 03-24-2007, 06:24 PM
RCWong RCWong is offline
 
Join Date: Dec 2006
Location: Miami, FL U.S.A.
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I upgraded from 2.1.2 to this 2.1.4 and now I get this error?

Quote:
Fatal error: Call to a member function parse() on a non-object in /home/****/domains/*****/public_html/showthread.php(1044) : eval()'d code on line 15
Reply With Quote
  #66  
Old 03-24-2007, 11:06 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by marsauae.com View Post
Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'مشرف عام',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '<font color=\"#800000\">',
`closetag` = '</font>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`pmdailyquota` = '',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '0',
`forumpermissions` = '1048575',...
WHERE usergroupid=5;

MySQL Error : Unknown column 'pmdailyquota' in 'field list'
Error Number : 1054
Date : Thursday, March 22nd 2007 @ 05:23:34 PM
Script : http://www.marsauae.com/bb/admincp/u....php?do=update
Referrer : http://www.marsauae.com/bb/admincp/u...&usergroupid=5
IP Address :
Username : marsauae
Classname : vB_Database
This error doesnt seem to relate to this hack

Quote:
Originally Posted by Nzarect View Post
Great mod but I'm having a problem with moderators not being able to view the awards in the modcp. It's there because I can see it, but when they try to access it, they get "you do not have permission to use this page".

I can't find where I can edit their permissions. Only 2 moderators will have permission to issue awards.
Upgrade to version 2.1.4


Quote:
Originally Posted by techenigma View Post
Excellent Mod... One error I spotted and also a feature request.

I get the following error when attempting to do a mass move in the award manager

Also I wanted to know if you could add a feature in the "Award System Settings" to enable or disable the "Awards SHowcase" in the user profile.


p.s - How can I paginate the images in both the postbit and when they appear in the small "awards showcase" in the user profile? I have about 10 awards showing up there but they just run in one line and I'd like to make it do 5 per line.
Do you have anything special when you try to mass-move? anyway, try with the new version.

should the awards being automatically wrap?


Quote:
Originally Posted by deb0 View Post
I have the plugin installed, but i only have the aDmin-options link. I don't have links to the awards.php or awards manager.

Please help.
You have to add the link. upload the files again might solve the problem


Quote:
Originally Posted by techenigma View Post
Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.
postbit and postbit_legacy.
Reply With Quote
  #67  
Old 03-24-2007, 11:07 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by toucan42 View Post
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 post.postid IN (0,11332,11334,11336,11337,11338) GROUP BY post.postid

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

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 'GROUP BY au.issue_id
ORDER BY au.issue_time DESC' at line 7
Error Number : 1064
Date : Wednesday, March 21st 2007 @ 11:04:22 PM
Script : http://www.talkwhatever.com/showthread.php?p=11338
Referrer : http://www.talkwhatever.com/index.php
IP Address : 72.92.141.48
Username : admintw42
Classname : vb_database

For me this occurs when I turn ON postbit - assuming it is the double GROUP BY but not sure how to fix that in the product.

please try the new version 2.1.4 . it should work.
Reply With Quote
  #68  
Old 03-24-2007, 11:30 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by toucan42 View Post
On member.php there is a problem also where it shows the small awards showcase:

Awards Showcase
The Ladybug Award: For excellent posts

Congratulations!" border="0" />

Issue with quotes in the "Reason" field?
well, I just remove the description in the link tag. it should be ok with 2.1.4

Quote:
Originally Posted by danhaga View Post
Great mod but I have one problem... The award description is limited in length and there isnt enough space for me to make a proper description for certain awards.

Is there a way to lengthen this?

ok, in 2.1.4, field type for award description and reason is changed to text, now you can put more stuff in there, but I am not guaranty about the template (if your long custom description would look nice on the pages.
Reply With Quote
  #69  
Old 03-25-2007, 08:31 AM
Bojangles Bojangles is offline
 
Join Date: Aug 2005
Location: Phoenix, AZ
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod Awesome work! /installed.
Reply With Quote
  #70  
Old 03-25-2007, 05:55 PM
odie3 odie3 is offline
 
Join Date: Mar 2007
Location: Kyle USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and so far so good!

Question: On user posts, rather that showing the newest/oldest awards - could it be possible to just show random awards, per user posts?

Thanks!

Now if I could just get custom ranks per user [not per group like VB works] I'll be set.
Reply With Quote
  #71  
Old 03-25-2007, 10:35 PM
techenigma techenigma is offline
 
Join Date: Dec 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by techenigma View Post
Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.
Quote:
Originally Posted by mtha
postbit and postbit_legacy.
No sorry, you mis-understood. I'm wondering which of your added templates needs to be edited to change it. Is it the award_showcase template?

Basically what I'm trying to do is change the way the awards are displayed in the post bit i.e remove the awards showcase box around them, have them display directly next to each other instead of spaced, and have them display automatically wrap 5 per line. Which template is it that controls the display? award_showcase?
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 04:38 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.10163 seconds
  • Memory Usage 2,328KB
  • 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
  • (11)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