vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Badges Hackette v1.0 (https://vborg.vbsupport.ru/showthread.php?t=63154)

Kaelon 03-28-2004 10:00 PM

Badges Hackette v1.0
 
What?
Badges Hackette v1.0, by Kaelon of Alleria.com. Please click [INSTALL] 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!


All times are GMT. The time now is 01:50 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.01042 seconds
  • Memory Usage 1,733KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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