vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Yet Another Awards System 2.1.4 (https://vborg.vbsupport.ru/showthread.php?t=142487)

mtha 03-18-2007 10:00 PM

Yet Another Awards System 2.1.4
 
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

mtha 03-19-2007 08:10 AM

2.1.4:
- Option to turn on/off Award System in ModCP
- Fix permission error in ModCP
- Fix database conflict with other hacks when getting awards in posts
- Paste code in award description and issue reason
- Add instruction to add Award link in Nav bar
- Some other minor changes

IsMaR 03-19-2007 08:21 AM

hmm well ok waiting

mktrilogy 03-19-2007 09:59 AM

thanks installed :) Finally

Hornstar 03-19-2007 10:37 AM

Cool, does this come with any pics?

BoYagoob 03-19-2007 10:46 AM

what I was waiting for .. installed :)

TTG 03-19-2007 01:01 PM

Any benefits in upgrading to this 3.6.5 version ?
I'm running vbulletin 3.6.4 and installed the award system for 3.5.X a few months ago and had no problems.

fusiongoddess 03-19-2007 01:04 PM

Quote:

Originally Posted by TTG (Post 1207292)
Any benefits in upgrading to this 3.6.5 version ?
I'm running vbulletin 3.6.4 and installed the award system for 3.5.X a few months ago and had no problems.

Me too. Just wondering if there were many changes.

cygy2k 03-19-2007 01:09 PM

Any more images than just the blue?

mtha 03-19-2007 01:27 PM

Quote:

Originally Posted by hornstar1337 (Post 1207214)
Cool, does this come with any pics?

Quote:

Originally Posted by cygy2k (Post 1207298)
Any more images than just the blue?

Nope, I dont design any set of awards. Wish if anyone can design a set for this hack :)

Quote:

Originally Posted by TTG (Post 1207292)
Any benefits in upgrading to this 3.6.5 version ?
I'm running vbulletin 3.6.4 and installed the award system for 3.5.X a few months ago and had no problems.

Quote:

Originally Posted by fusiongoddess (Post 1207295)
Me too. Just wondering if there were many changes.

Not big changes. I released actually because people asking again and again for a version for 3.6.x, so I give out one.

beside some minor modification, there're few other changes:

- [2.1.3] Add a link "Give award to user" in admincp menu and change some link name.
- [2.1.3] Notify awarded user by email option
- Change "Issue reason" from input to textarea, so you can give more descriptive reason when giving award(s).
- Allow user to issue/remove awards in In ModCP (I myself dont like this, but it has been requested). Remember, no permission check in there yet, so anyone who can access ModCP can use it)



If you use the old one (2.1.2) without problem, you dont really need to upgrade.

KristerSwe 03-19-2007 01:30 PM

Hello. i will upload a PSD with many award medals i did for another portal

I will do it as soon i get home Cheers

UncoderMom 03-19-2007 01:40 PM

Thank you! Ive been waiting for this!!

KristerSwe 03-19-2007 01:43 PM

Hello all

Sharing my PSD here for you to play with. the psd file is sliced so if you make changes
you can easy "save optimized as" and they are splitted and named .....

Hope you guys liked them enjoy ...

Regards Krister

Lionel 03-19-2007 02:32 PM

@krister. That medals zip is corrupted, please reupload

ZomgStuff 03-19-2007 02:39 PM

Thanks!

mtha 03-19-2007 03:14 PM

Krister,

Can I provide your award file with the package?

ps. do you have a bigger version by any chance?

weedheaven 03-19-2007 03:20 PM

Quote:

Originally Posted by mtha (Post 1207374)
Krister,

Can I provide your award file with the package?

That would be great, as i aint smart with psd's

KristerSwe 03-19-2007 03:45 PM

Quote:

Originally Posted by mtha (Post 1207374)
Krister,

Can I provide your award file with the package?

ps. do you have a bigger version by any chance?

Yes feel free to include it to the package. and a little credit :)

Yes sure i can . i will upload the pics itself also. they are transparent
and should work on all skins. give me little time only

Thanks for like them ..

KristerSwe 03-19-2007 03:47 PM

Quote:

Originally Posted by Lionel (Post 1207348)
@krister. That medals zip is corrupted, please reupload

Works great for me on 3 computers. i used Winrar 3.6 when i zipped them
can be found here. www.rarsoft.com

Sorry for the extra work

Lionel 03-19-2007 04:13 PM

I've just installed and I got this from showthread

PHP Code:

SELECT a.*, au.*, post.useridpost.postid 
FROM new_post 
AS post
INNER JOIN new_award_user 
AS au ON (au.userid=post.userid)
INNER JOIN new_award AS a ON (a.award_id=au.award_id)
WHERE post.postid IN (0,61944)

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

MySQL Error  Unknown column 'au.award_id' in 'on clause'
Error Number 1054 


Lionel 03-19-2007 04:22 PM

in db, the column is named awardid instead of award_id

strike that, I was looking at wrong column. But I still have error. I am on mysql 5.0.22 and php 5.16

bada_bing 03-19-2007 04:31 PM

Installed and looks great.. I have a question how can I post the awards to show up under the members name in the postbit/postbit_legacy

Lionel 03-19-2007 04:40 PM

Quote:

INNER JOIN new_award AS a ON (a.award_id=au.award_id)
Actually I was right. In table award_user au it's awardid

Lionel 03-19-2007 04:49 PM

This is getting juicy for me My award_user table is way different from your product

Lionel 03-19-2007 05:02 PM

I solved my issue by fixing the table. I have no idea where that came from. Was empty anyway.

projectego 03-19-2007 05:15 PM

Great work, mtha! Tanks. ;)

Subah 03-19-2007 05:18 PM

mtha , the file is corrupted ??

Lionel 03-19-2007 05:56 PM

Found the culprit! The Nova Awards was using that table. Lucky for me this is a very simple mod, so I just made a new table for it and changed the handful of instances where they were referring to it

mat.knott 03-19-2007 06:24 PM

upgraded find from previous version but still have same problem that i had before (Thought it was to do with using wrong version for my vb)

when i click request award this text appears at the top of the page

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/pottypet/public_html/forum/includes/vba_cmps_include_template.php on line 27

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vba_cmps_include_top.php on line 37

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /includes/vba_cmps_include_top.php on line 37

i know its refuring to vb advanced templates but it only happens on the award request page

any ideas?

bada_bing 03-19-2007 06:41 PM

Quote:

Originally Posted by bada_bing (Post 1207430)
Installed and looks great.. I have a question how can I post the awards to show up under the members name in the postbit/postbit_legacy

Any help on this please

mat.knott 03-19-2007 07:29 PM

dont know for sure but i would guess you need to paste the code for the postbit/postbit legacy somwhere close to under $post[musername] (maybe after the if command)

Kiint 03-19-2007 07:50 PM

I'm currently using your 3.5 version on my 3.6.5 vbulletin. How easy would it be to upgrade this to the new version without uninstalling the old one?

I'd like to keep it up-to-date incase of any future upgrades to this system.

I had to make a few template changes to get your 3.5 version to work with my current style so would hate to have to uninstall and reinstall the new version.

Thanks for all the effort you have put into this, it's much appreciated.

mat.knott 03-19-2007 08:11 PM

i recently updated mine by just uploading all files again and installing the xml file in overright mode..

it seems to be working fine

KristerSwe 03-20-2007 07:32 AM

Here is only the pic files for them who not know about photoshop and just need pics....

i Will do a new set with different looks and bigger in size. post a screenshot later

Cheers ...

kingvillain 03-20-2007 08:36 AM

Thanks mate, cool mod

KristerSwe 03-20-2007 08:43 AM

Was play around in photoshop anyone interessted in this kind. see screen

Can be a new set with medals ....

Kiint 03-20-2007 10:40 AM

Quote:

Originally Posted by KristerSwe (Post 1207933)
Was play around in photoshop anyone interessted in this kind. see screen

Can be a new set with medals ....

Nice medal, very nice.

All my current medals are 25x60, so as long as I can resize around that then they'll be great.

hotmasala4u 03-20-2007 11:34 PM

this messed up my forum

hotmasala4u 03-20-2007 11:35 PM

can somebody tell me what si worng

Database error in vBulletin 3.6.5:

Invalid SQL:

SELECT award_user.userawardid AS userawardid, award_user.userid AS userid, award_user.awardid AS awardid, award_user.dateline AS dateline, award_admin.title AS title, award_admin.description AS description, award_admin.image AS pic
FROM award_user AS award_user
LEFT JOIN award_admin AS award_admin ON ( award_user.awardid = award_admin.awardid )
WHERE award_user.userid = 2;

MySQL Error : Table 'malluboa_board.award_user' doesn't exist
Error Number : 1146
Date : Tuesday, March 20th 2007 @ 05:32:24 PM
Script : http://www.malluboard.com/forum/memb...on=getinfo&u=2
Referrer : http://www.malluboard.com/forum/
IP Address : 68.37.87.51
Username : GoDFaTher
Classname : vB_Database

danhaga 03-21-2007 01:45 AM

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?


All times are GMT. The time now is 07:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01892 seconds
  • Memory Usage 1,834KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete