Version: 1.00, by InfiniteWebby
Developer Last Online: Aug 2007
Version: 3.0.0
Rating:
Released: 02-02-2004
Last Update: 06-02-2004
Installs: 160
No support by the author.
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.
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:
PHP Code:
// sorts through all the stuff to return the postbit template
below that add:
PHP Code:
// user awards
global $userawards;
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
If you get a blank page, this msot of the times can have 2 reasons:
- Extra characters (space, newline) before "<?php" or after "?>" in a php-file. Use a good editor (no DreamWeaver etc).
- Broken template: Go into Admincp, create a new style with no parent, and try browsing the board with that.
If you get a blank page, this msot of the times can have 2 reasons:
- Extra characters (space, newline) before "<?php" or after "?>" in a php-file. Use a good editor (no DreamWeaver etc).
- Broken template: Go into Admincp, create a new style with no parent, and try browsing the board with that.
Ah but I wouldn't use dreamweaver to edit my php files if i was forced to.I use either scite or gvim (whichever is handy).
As far as fixing my templates, I couldn't get into my AdminCP to do so period. Everything was white pages. I had one of my vB guru-ish type friends fix it for me so all is well again. (Thank goodness!)
Ah but I wouldn't use dreamweaver to edit my php files if i was forced to.I use either scite or gvim (whichever is handy).
As far as fixing my templates, I couldn't get into my AdminCP to do so period. Everything was white pages. I had one of my vB guru-ish type friends fix it for me so all is well again. (Thank goodness!)
And now the BIG question: Will this hack be available for vBulletin 3.5 (with pluginsystem).
AnimeWebby??
==> Last Update: 03. Jun 2004
==> Last post: 10. Oct 2004, 04:57
Important question and I would also like to know this.
And if not, will someone capable be able to step up and get permission to convert it. This is one of a number of key hacks that I'll need to have 3.5 ready before I move my site over, so I'm definitely looking forward to hearing if there are at least plans to do something with it.
And now the BIG question: Will this hack be available for vBulletin 3.5 (with pluginsystem).
AnimeWebby??
==> Last Update: 03. Jun 2004
==> Last post: 10. Oct 2004, 04:57
Maybe...
I closed down my vb early this year and have only just started working with vb3.5. This hack isn't on the top of my priorities but judging from how easy it was to convert some of my other hacks I might just give it a go. Otherwise I give anybody permission to convert it assuring they give me credit if a substantial amount of the same coding was used.
I closed down my vb early this year and have only just started working with vb3.5. This hack isn't on the top of my priorities but judging from how easy it was to convert some of my other hacks I might just give it a go. Otherwise I give anybody permission to convert it assuring they give me credit if a substantial amount of the same coding was used.