The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[HTL] & [TXT] Awards/Medals/Cards Hack [vB3] Details »» | |||||||||||||||||||||||||||
[HTL] & [TXT] Awards/Medals/Cards Hack [vB3]
Developer Last Online: Aug 2007
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: PHP Code:
PHP Code:
Show Your Support
|
Comments |
#42
|
||||
|
||||
I installed this with no problem on RC3, but installing on RC4 I get no awards showing anywhere and can't figure out why. I doublechecked all the code additions and I don't think I missed any.
Edit: for some reason the award template wasn't added - that fixed it |
#43
|
|||
|
|||
Thanks that was the fix. Installed and working on rc2. Thanks again.
|
#44
|
||||
|
||||
When I try to read and announcement, I get this error at the top of the page:
Quote:
Any ideas? |
#45
|
|||
|
|||
I think AnimeWebby is doing a great job..and thanks go to Lesane for his original idea. I am also going to wait until Gold before I install this, but one thing is for sure..I am going to install it! It's a great idea that really should have been included into VB.
|
#46
|
|||
|
|||
I have run SQL-query using phpmyadmin getting error: my site vbRc4 help me please !
Quote:
You have an error in your SQL syntax near '" . TABLE_PREFIX . "award ( awardid smallint(5) unsigned NOT NULL auto_incre' at line 1 Quote:
You have an error in your SQL syntax near '" . TABLE_PREFIX . "useraward ( userid int(10) NOT NULL auto_increment, ' at line 1 |
#47
|
|||
|
|||
@sadie: it looks like you may have missed out a step. you have to add
PHP Code:
PHP Code:
@maruier: you are meant to replace " . TABLE_PREFIX . "with your table prefix before you run those queries. |
#48
|
|||
|
|||
I am still getting this error:
SQL-query : CREATE TABLE " . TABLE_PREFIX . "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 said: #1064 - 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 '" . TABLE_PREFIX . "award( awardid smallint( 5 ) unsigned NOT Can anyone tell me what I am doing wrong on this? |
#49
|
|||
|
|||
nevermind, if I look up a thread I can see the answer, sorry...
|
#50
|
|||
|
|||
if you are getting an error when you are trying to view announcements then.....
in /includes/functions_showthread.php instead of finding PHP Code:
PHP Code:
PHP Code:
|
#51
|
||||
|
||||
Works perfectly now - thanks!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|