Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[HTL] & [TXT] Awards/Medals/Cards Hack [vB3] Details »
[HTL] & [TXT] Awards/Medals/Cards Hack [vB3]
Mod Version: 1.00, by InfiniteWebby (Member) InfiniteWebby is offline
Developer Last Online: Aug 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (8 votes - 4.50 average) Installs: 160
Released: 03 Feb 2004 Last Update: 03 Jun 2004 Downloads: 406
Not Supported  

Awards/ Medals/ Cards Hack [vB3]
By: AnimeWebby
Idea by: Lesane
Updated: 28nd May 2004 - Installer not table prefix friendly.

What this hack does:
This hack allows you to add awards, medals or cards to your vbulletin and assign these to members who you think deserve them.
These graphics will then show up in their member profile and/or their postbits depending on where you choose to add this hack.

New in v2
- Extra page showing all awards available as well as all the users who have earned an award.
- Support for full urls and relative ones for award icons.
- Support for awards on showpost and announcement

Other Stuff:
Although I give credit to Lesane for the idea this hack is totally recoded to be less server intensive and also uses a whole lot less queries. Therefor I do not consider this a 'port'.

Installation:
Download the appropriate .Zip file and follow the instructions in the readme file.

Upgrading:
So far there are no ways to upgrade this hack, if you have an old copy installed then you need to uninstall and reinstall from scratch.

Coming Soon:
- Awards added to the search and memberlists.
- Added functions to the addition of awards as well as cron functions to assign awards automatically to those members with 'X' posts, registered 'X' days etc...
- Option to show award name rather than graphic.
- Option to turn awards OFF & ON in postbit and memberinfo
- Request award on awards page (at Cyricx' request)
(not necessarily in that order)

Make sure you backup your files and database first! This hack has been tested on vB RC1 and RC4 only!

Please click the install button

If you experience any errors, problems or the hack doesn't seem to be functioning correctly then send me a pm with the following info:
- HTL or Standalone installer.
- Version of vB you are running.
- File where error is encountered.
- Exact error or description of error.

Views so far:
[NORMAL]AwardsMedalsCardsv2.1.zip (12.7 KB, 69 views)
[HTL]AwardsMedalsCardsv2.1.zip (12.8 KB, 57 views)
[TXT]AwardsMedalsCardsv2.zip (8.5 KB, 278 views)
[HTL]AwardsMedalsCardsv2.zip (10.2 KB, 203 views)

If you installed this hack before 23rd May and are getting foreach errors in your showthread then follow the step below:

In /includes/functions_showthread.php find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If in your showthread.php member post counts show N/A, they have no profile link or their user title is guest you MUST run 'Fix broken user profiles' in the update counters part of the admincp. This is found under the nav bar 'Import & Maintenance' > 'Update Counters' > 'Fix broken user profiles'. This will add the awards for all the users currently in your database and prevent showing incorrent member info.

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On for Awards/Medals/Cards Hack: Add bigger image for awards mtha vBulletin 3.0 Full Releases 11 18 Oct 2006 07:29
Standalone Add-On for Awards/Medals/Cards Hack Creed vBulletin 3.0 Full Releases 58 20 Mar 2005 11:55
List Award Addon for Medals/Awards/Cards Hack Dark_Wizard vBulletin 2.x Full Releases 5 14 May 2002 21:24

  #421  
Old 20 Mar 2005, 22:13
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by GamerzWorld
Do you think you could do simple addition of making bigger
Working on it, as your request


... and done, wait for update

and here's the quick release
http://www.vbulletin.org/forum/showthread.php?t=78466

anyone who want to improve the original hack, feel free to include the add-on
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 20 Mar 2005 at 23:16.
Reply With Quote
  #422  
Old 21 Mar 2005, 00:51
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Real name: Daniel
Here is also a nice little fix for the postbit image sizing...as well as a couple of new features I guess Please make note, that you can change the size of the images by specifying your own height= and width= in the awards_postbit template.
Attached Images
File Type: gif cp.gif (3.0 KB, 21 views)
File Type: gif options.gif (9.5 KB, 17 views)
File Type: gif not clicked.gif (9.0 KB, 34 views)
File Type: gif clicked.gif (10.1 KB, 32 views)
Attached Files
File Type: txt postbit optional.txt (8.7 KB, 2 views)

Last edited by Creed; 21 Mar 2005 at 03:16.
Reply With Quote
  #423  
Old 21 Mar 2005, 21:32
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
just went to phpbb site, and look at their Medal System Mod:
http://www.phpbb.com/phpBB/viewtopic.php?t=148362

Didnt install that mod and test it, but the database structure looks much better.

They add medals (awards) by issue_id, with fields medal_id, user_id, issue_reason, issue_time, which allow you to limit the size of database, without adding a whole bunch of empty awards for all users (like the current one does)

I know that Arial is paying for the hack to be made, but ... just wondering if anyone can share the idea
http://www.vbulletin.org/forum/showthread.php?p=621249
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #424  
Old 21 Mar 2005, 23:20
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by Arial
Don't think so, I am having to have one written for me from scratch to support that and other features.
Arial, how far do you have your new hack coded on?

I am thinking about writing something like that too, but there's no point making duplicate versions.


well well, I have 50% code done. database structure setup, able tomanage awards, give/remove awards in AdminCP. Now just need to do thedisplay part

I may have the first release in few days.
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 22 Mar 2005 at 05:42.
Reply With Quote
  #425  
Old 24 Mar 2005, 00:15
uaetoon uaetoon is offline
 
Join Date: Mar 2005
i have this prop in part 3

what can i do plez

=-
Database error in vBulletin 3.0.7:

Invalid SQL: CREATE TABLE award (
awardid smallint(5) unsigned NOT NULL auto_increment,
name varchar(50) NOT NULL default '',
description varchar(250) NOT NULL default '',
icon_url varchar(250) NOT NULL default '',
PRIMARY KEY (awardid)
) TYPE=MyISAM;

mysql error: You have an error in your SQL syntax near ';
' at line 7

mysql error number: 1064

Date: Wednesday 23rd of March 2005 06:10:51 PM
Script: http://xxxxxxx/vb/admincp/awards_ins...step=doqueries
Referer:
Username:
IP Address:
Reply With Quote
  #426  
Old 25 Mar 2005, 09:02
Arial Arial is offline
 
Join Date: Feb 2005
Originally Posted by mtha
Arial, how far do you have your new hack coded on?

I am thinking about writing something like that too, but there's no point making duplicate versions.


well well, I have 50% code done. database structure setup, able tomanage awards, give/remove awards in AdminCP. Now just need to do thedisplay part

I may have the first release in few days.
Well the guy was only starting tommorow to be honest, having seen your doing one that may well do the job I have also asked just asked him to hold off and see how yours works.

Last edited by Arial; 25 Mar 2005 at 09:12.
Reply With Quote
  #427  
Old 25 Mar 2005, 09:05
Arial Arial is offline
 
Join Date: Feb 2005
Originally Posted by dssart
Arial, if you're having an awards/medals/cards hack written from scratch and you're interested in sharing some of the development costs PM me. This hack appears to be dead or at least dying. I had this working on my forum for 2 months, all my members loved it, but I never re-installed it because it was to much of a hassle to do the uninstall/install whenever VB updated. I was also thinking about having someone re-do this also complete with a one-click install/uninstall and many of the additional features discussed here. Let me know.
Sorry was not recieving notifications on this thread, if you want to share the costs and use the hack that would be fine, feel free to PM,, it also looks like Mtha is creating a new version as well, which you may find suits your purposes and not cost you anything.

The version I am having done is basically a complete copy of the phbb version with a few extra toys thrown in but I've just asked the developer to hold off as he has not started yet, if Mtha version turns out to be as good as the phpbb version I would rather use that and make Mtha a small contribution for the time spent.

Last edited by Arial; 25 Mar 2005 at 09:14.
Reply With Quote
  #428  
Old 25 Mar 2005, 09:08
Arial Arial is offline
 
Join Date: Feb 2005
Mtha

What is your hack based on ? Will it work / display in the same fashion that the Phpbb version does or is it more along the lines of this version?

Last edited by Arial; 25 Mar 2005 at 09:15.
Reply With Quote
  #429  
Old 25 Mar 2005, 11:35
dssart dssart is offline
 
Join Date: May 2002
Arial: Sounds good. My opinion, it seems mtha is enjoying the project and is visible within the forum. That's great for any of us who like to read how he's doing on this great add-on.

mtha: keep going man! but whatever you do, please make installation as easy as uninstallation. Ideally two or three clicks. No more hand-editing of code. That's stone-age. I'll bet 75% of the problem messages pertaining to this hack are errors in inserting the code. If that isn't possible, then at a maximum 2 or 3 files which need to be hand-edited. Also, a hack which is "version change resistant" would be great (although probably not realistic from a coding point of view) when VBulletin goes on their update binges every few months. I can't speak for Arial, or anyone else who may be interested in this hack, but if it works and installation is a breeze, I'd be happy to send you a few bucks when you've got a working app.
Reply With Quote
  #430  
Old 25 Mar 2005, 11:53
Arial Arial is offline
 
Join Date: Feb 2005
Ditto dssart, I'm happy to contribute if its' what we are after, personally I feel the phpbb version displays the medals etc in a far more appealing fashion, so that's what we are after.

If Mtha is going down that route, I will happily donate / contribute to your time, if not I will carry on with my guy and pay him to do the entire thing for us as a personal project.
Reply With Quote
  #431  
Old 25 Mar 2005, 18:03
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
What is your hack based on ? Will it work / display in the samefashionthat the Phpbb version does or is it more along the lines ofthisversion?
neither or both

I will have the database somewhat the same with phpbb one (on the idea), and the code is partly based on this version.

I write the code based on both this hack and phpBBhack.The displaythingie is not very important though. The featureswill be some howdifferent, which I like better.

Rightnow, I come to the point where you can give awardtosomeone,andtakeit away from, in control panel. Havent come tothe part of displaying inthe public profiles, so I dont know how I will arrange the awards inprofile and awards list yet

I didnt add the "Award Category" either. doyouthinkit'sgood/importantto add that too? Well I may need to createanewthreadfor the matter,otherwise, I would hijack this thread

Originally Posted by Arial
Ditto dssart, I'm happy to contribute ifits'whatweareafter, personally I feel the phpbb version displaysthemedalsetcin afar more appealing fashion, so that's what we are after.

If Mtha is going down that route, I will happilydonate/contributetoyour time, if not I will carry on with my guy andpayhimto dotheentire thing for us as a personal project.
Thanks, but that's up to you to decide. I'm writing the hack formyself,and make it availabe for everyone. donations are alwayswelcome. releasetime is not set yet. features depends on ...


mtha: keep going man! but whatever you do,pleasemakeinstallation aseasy as uninstallation. Ideally two or threeclicks.Nomorehand-editing of code. That's stone-age. I'll bet 75%oftheproblemmessages pertaining to this hack are errors ininsertingthecode. Ifthat isn't possible, then at a maximum 2 or 3 fileswhichneedto behand-edited. Also, a hack which is "versionchangeresistant"would begreat (although probably not realistic from acodingpoint ofview)when VBulletin goes on their update binges everyfewmonths. Ican'tspeak for Arial, or anyone else who may be interestedinthishack, butif it works and installation is a breeze, I'd be happytosendyou afew bucks when you've got a working app.
Well, I myself actually like doing things manually better.Comingtoany"installer", I have to read the install code, inordertounderstandwhat it is doing. its somewhat harder, but youknowexactlywhat you aredoing (if you understand the code).
Also, all the installation currently availabe only dothedatabasepart(insert template/phrases), none of them have permissiontoeditfile.
If you want to "edit" files "automatically, I will show you how to do it, using a different tool, which is great.

But that's gonna be later on the road. It's good when having people supporting the idea. Thanks


===========
The new development for my YET ANOTHER AWARD SYSTEM start HERE:
http://www.vbulletin.org/forum/showthread.php?t=78763

=================================================
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 25 Mar 2005 at 19:20.
Reply With Quote
  #432  
Old 26 Mar 2005, 03:17
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Im using 3.0.07 and during the install I received this error - I used the Standard .zip file.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
www.rustysoaptraders.com
Reply With Quote
  #433  
Old 26 Mar 2005, 23:45
ClockCrew ClockCrew is offline
 
Join Date: Feb 2005
I have uploaded all the files...and when I do so, I go to Install this...and when I click Install....I get this...

Database error in vBulletin 3.0.6:

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'add_new_award', 'Add New Award', '1')
mysql error: Duplicate entry 'add_new_award-0-1' for key 2

mysql error number: 1062




How do I fix this?
Reply With Quote
  #434  
Old 26 Mar 2005, 23:50
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Originally Posted by ClockCrew
I have uploaded all the files...and when I do so, I go to Install this...and when I click Install....I get this...

Database error in vBulletin 3.0.6:

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'add_new_award', 'Add New Award', '1')
mysql error: Duplicate entry 'add_new_award-0-1' for key 2

mysql error number: 1062




How do I fix this?
I s i t f u l l 3.0.7 c o m p a t i b l e ?
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #435  
Old 27 Mar 2005, 00:10
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by Eagle Creek
I s i t f u l l 3.0.7 c o m p a t i b l e ?
yes it is, if you can install it properly.
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:53.

Layout Options | Width: Wide Color: