PDA

View Full Version : Badges Hackette v1.0


Kaelon
03-28-2004, 10:00 PM
What?
Badges Hackette v1.0, by Kaelon of Alleria.com. Please click [INSTALL] (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=63154) if you install this hack so that you can be advised of changes and updates, should any be necessary.

vBulletin Versions
Tested on vBulletin 2.3.5 - should work on all 2.3.x and 2.2.x Series easily.

What it does:
This hack will enable you to develop and oversee a simple badge icon system for your users. Badges (or cards, awards, medals, etc.) are trophies that you can award users for their accomplishments or contributions to your community. The options for creativity are innumerable. This hack constitutes my second significant contribution to vBulletin.org in my years of lurking and periodically posting on these forums.

Credits
Special thanks to Erwin for his inspirational words and thoughts in various modification discussion threads on vBulletin.org. His simple approach design is the inspiration behind the elegant model used in designing this basic, simple hackette.

Support Policy
I will gladly provide basic support, given the simple nature of this hack. That said, I have no plans to port this relatively simple hack to the vBulletin 3 Series, and no permission is granted to port this hack whatsoever. I believe that given vB3's built in template conditions - which are similar to, if not based off of, Logician's Advanced Templates System - this entire hack can be simple a template modification on vB3. I will not provide advanced debugging support, however.

Version Notes

v1.0 -- Provided specific installation support for Logician's Advanced Templates System (see Part 3.0 of the instructions text file below).

Notice
This hack is simply a number of basic conditionals; it does not add any queries, it will not add any processes or functions, and most significantly, it does not adversely impact your site's performance in any way. That said, in order to get the most out of this hack, you should have a basic understanding of how to edit PHP files, and you should know how IF-THEN conditionals work so that you can get the most out of designing your badges.

Attachments
Screenshots of the Admin Control Panel custom profile fields, the Badges as they appear in the postbit, and the Badges as they appear in the getinfo (user profile).

lasto
03-29-2004, 09:57 PM
looks good that but shame its for vb2 or i would of had a mess with it :)

well doen anyway

Kaelon
03-29-2004, 10:01 PM
Thanks.

Like I said in the first post, though, you can probably do this on vB3 really easily just using the built-in conditionals on the templates that vB3 has. That said, I'm really not familiar with vB3 - and for the moment, not too terribly interested in finding out. :p Thanks!

???`S?LV?R???`
03-29-2004, 11:04 PM
nice one.. lol i run vb3 though

R3LEASED
03-30-2004, 12:38 AM
Great hack imm install on my board. Clean install :)

Kaelon
03-30-2004, 01:05 AM
Great to hear it!

Owen
03-30-2004, 07:16 AM
I'd like to have this for my vb3...

Kaelon
03-30-2004, 02:35 PM
Owen,

If you're familiar with vB3 conditionals, you can essentially use the same technique that I describe above for Logician's Advanced Templates System in the instructions. I'm afraid I don't know the actual verbiage that Jelsoft uses in vBulletin 3 parlance for their conditionals, but the basic methodology should be the same.

If someone wants to port this for vB3, you're more than welcome to do it, provided that you give proper credit (mostly to Erwin, who came up with the idea to begin with). On a side note, I'm not working with vB3, largely because I have some confidence issues with the codebase that I have to work through for the time being, so most of my hacks will be vB2 only.

Thanks,
Kaelon

paddysplace
04-01-2004, 12:43 AM
Kaelon,

I might start tonight on porting :) Great hack!

Regards,
Patrick

Kaelon
04-02-2004, 12:01 PM
Good luck, Paddysplace! :) And, thanks!

Boofo
04-02-2004, 12:16 PM
Kaelon, I like your badges. Any way to get them? ;)

msimplay
04-02-2004, 12:45 PM
wow this will work on vb3 but now am thinking what ideas can i use for awards :p

and how would i go about making it automated
if i used hidden profile fields and considering anyone could go over certain post counts / referals
and then u got other awards where u want to set them yourself ie when they do an exceptional post

Kaelon
04-02-2004, 03:58 PM
Boofo - The badges I'm using are original artwork for our web site; sorry, they're not for public distribution.

Msimplay - If you wanted to set up certain conditions (e.g., postcounts, birthdays, etc.), then, yes, this could become an automated circumstance. But, ordinarily, badges are given in non-automated fashion, like the way you suggedted.

Boofo
04-02-2004, 04:15 PM
I wasn't referring to the public. ;) But that's ok, I had to give it a shot. ;)

mfowler70
05-10-2004, 08:19 PM
What version of vb are you using? Reason I ask is because I don't see anything remotely close to the screenie you posted of your ACP.

I'm using 2.3.5 and see nowhere to enter the url to the images I create.

mfowler70
05-10-2004, 09:29 PM
nevermind, I figured it out

tomcromp
12-14-2004, 12:56 PM
Id Still love to see this ported to vB3. All the other award hacks are terrible, and will not work on my board. :(

Mythotical
06-09-2005, 01:35 AM
For all those interested, I am currently working on porting this to vb3 and adding in my own features that I have wanted to see this have.

Kaelon
06-12-2005, 02:18 PM
I do not grant permission for this "hack" to be converted to vB3.

(Mods: Please enforce the terms of my stipulations and do not permit someone else from porting this simple of hacks.) If someone wants to devise a new Awards Hack, they are better off coding from scratch, since this hack is extremely simple and (for vB3) can probably be done without any "coding".

This is because you can basically do this hack through just template modifications in vB3 and Greater.

Mythotical
06-12-2005, 07:15 PM
OK I will not port it over but I will try to come up with my own. Sorry should have sent you an email first.

Myth

AquilaEagle
12-26-2005, 08:32 AM
I'd love this to be converted to VB3.5.2.

Also is it possible for the badges to appear beneath someone's signature (not as part of the signature though) in just their first post on each page?