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

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

Category: Add-On Releases - Version: 3.8.4 Rating:
Released: 11-13-2008 Last Update: 01-15-2010 Installs: 822
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

vBulletin 4 version can be found here: https://vborg.vbsupport.ru/showthrea...highlight=YAAS

DESCRIPTION:
This is a Medals/Awards system. Admin/Mods 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)
+ Issue awards to members, based on username or userid, with Issue Reason
+ Recommend awards for members based on username, with Recommend Reason
+ Remove awards from members
+ Issue Point Values to awards (Recommended that you are running mySQL 5.0 or higher, will not work correctly with lower versions of mySQL)
+ Award automation

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 within a TAB, with Award information, Issue time and reason
- Display award icons in postbit or under sig.

CHANGES/MODIFICATION:

3.8.4:

* Fixed - Issuing Awards to users with ' in usernames.
* Fixed - "Award System Settings" SettingGroup name.
* Fixed - Phrases for Award Request/Recommendation Settings.
* Fixed - All templates should be properly cached.
* Fixed - Inactive awards no longer display in postbit.

* Improved - Version Information in AdminCP.
* Improved - Award Name is added to Post/PM Title Recommendations/Requests.
* Improved - Postbit Display Location descriptions.
* Improved - Cleaner awards layout display.
* Improved - Award Submissions Post/PM layout.


3.8.3 Patch 1:

* Fixed - SQL Group By Syntax when Points are enabled



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

Upload files and import xml.

When upgrading: re-upload ALL files and re-import XML

This MOD is 100% Supported.

Authors of YaAS 3.8:
Xanlamin
CypherSTL

Current Release: v3.8.4 Newest Release

Download Now

File Type: zip YaAS-3.8.4.zip (477.6 KB, 3588 views)

Screenshots

File Type: jpg YaAS-AdminCP-Award_System_Settings.jpg (146.7 KB, 0 views)
File Type: jpg YaAS-AdminCP-Award_Manager.jpg (92.3 KB, 0 views)
File Type: jpg YaAS-Forum-Post_Display.jpg (89.1 KB, 0 views)
File Type: jpg YaAS-Forum-Profile_Display.jpg (105.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Erica1977, Panzer Max, Razta, xorex

Comments
  #172  
Old 05-04-2009, 06:09 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you good sir
Reply With Quote
  #173  
Old 05-07-2009, 05:24 PM
PirateTinman PirateTinman is offline
 
Join Date: May 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to get this mod to be displayed to the left of the Join Date and Post, in the user information field?
----------------------------------------------------------------------- like right above threre ^
I would make the page look allot slimer instead of having it under all the information.
I am sure it is possible, but I have no idea on how to move it to that location, I guess I would need to replace some code, if anyone knows how to do this I would be very greatfull.

Thanks!
Reply With Quote
  #174  
Old 05-07-2009, 05:37 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just move the code in your postbit template to the location where you want the award to appear.
Reply With Quote
  #175  
Old 05-07-2009, 06:00 PM
PirateTinman PirateTinman is offline
 
Join Date: May 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the response, but I did not get allot closer, would you mind tell me what file I need to edit, one of the YAAS postbits or one of the one for my forum style, havent done allot of modifying, and what code am I supposed to move?
Reply With Quote
  #176  
Old 05-10-2009, 08:56 AM
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fine mod, but i get one Warning if i giving avard to some user.

Code:
Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/adminpanel/award.php on line 581
Award is given, PM sended, everything looks fine, but that messages... i don't know what is wrong.

Thanks

Holy
Reply With Quote
  #177  
Old 05-10-2009, 12:11 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PirateTinman View Post
Thanks for the response, but I did not get allot closer, would you mind tell me what file I need to edit, one of the YAAS postbits or one of the one for my forum style, havent done allot of modifying, and what code am I supposed to move?
I did state which template to edit. Postbit

Find the snippet of code that places the award into the template, and move it to the location where you want it to appear in the template.
Reply With Quote
  #178  
Old 05-10-2009, 12:13 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HolyKiller View Post
Fine mod, but i get one Warning if i giving avard to some user.

Code:
Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/adminpanel/award.php on line 581
Award is given, PM sended, everything looks fine, but that messages... i don't know what is wrong.

Thanks

Holy
You've made an error somewhere during the installation. Triple check your installation and edits.
Reply With Quote
  #179  
Old 05-11-2009, 03:02 AM
fourat fourat is offline
 
Join Date: Mar 2008
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi
when i put Userid for Congratulation PM ... the PM sent to user but the sender is number of the id not the name !!
when i put the id no. 1 its name is "fourat" the pm's sender name shown in the private messeges is "1" .. not "fourat"
when members try to replay this messege the forum say:
The following errors occurred with your submission
The following users were not found: 1

how i fix this problem ?
Reply With Quote
  #180  
Old 05-15-2009, 04:47 PM
muslimmomscafe muslimmomscafe is offline
 
Join Date: Feb 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I gave a user an award, and it says on the "Users that already received award" her username but it wont show in her postbit. Why is that? I have given awards to other members and theirs did show on the postbit.

thanks
Reply With Quote
  #181  
Old 05-16-2009, 08:36 PM
cermi's Avatar
cermi cermi is offline
 
Join Date: Jun 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HolyKiller View Post
Fine mod, but i get one Warning if i giving avard to some user.

Code:
Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/adminpanel/award.php on line 581
Award is given, PM sended, everything looks fine, but that messages... i don't know what is wrong.

Thanks

Holy
The problem is in the mod source. The author "hardcoded" usage of (now deprecated, but that's not the point) mysql_insert_id(). But vB can use both mysql and mysqli API. And when you switch vB to new mysqli API, the problem appears:
  1. mysql_insert_id() is called without parameters, so it's supposed to take last opened mysql connection (opened from "old" mysql api)
  2. but there is no mysql connection, all connetions were opened by mysqli api
  3. "no worries!", says php, "we make new connections", so it tooks db credentials from php.ini and tries to make new connection
  4. but credentials in php.ini are usually empty, therefore the connection fails and mysql_insert_id() fails with it

Solution? I don't want to be rude, but hardcoding 1 api when vB is capable of running of 2 different APIs isn't the cleanest way. The cleanest way would be to use vB's build-in class and call some *insert_id() wrapped (if exists) or to dig the mysql(i) link object from vB's classes and use it directly in consideration of selected mysql API in vB conf. Or perhaps something better There are always many solutions to those kinds of problems.

But it's nice mod, anyway
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 07:59 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.05642 seconds
  • Memory Usage 2,355KB
  • 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
  • (3)bbcode_code
  • (3)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)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
  • (5)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