Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Title Class Hack Details »»
Title Class Hack
Version: 1.00, by DraX DraX is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-13-2002 Last Update: Never Installs: 45
Is in Beta Stage  
No support by the author.

This hack is similar in idea to the Job Class Hack, except designed for users who don't want all the RPG options attached to it, and want an easy means to edit it through the control panel.

What does it do?

The Title Class Hack allows you to categorize your user titles via the control panel. Each title is assigned to a "titleclass" via a drop down list of available classes.



The Title Classes are conveniently listed in the modify section of the user titles panel, showing each title underneath it's respective class.

Whenever you update user titles through the control panel, or whenever a user makes a new post, their user title is normally updated based upon their thread count.
This hack adds a new check into that, altering the user title based only on those titles that are in the same class as the one the user selected.


Users can easily select their Title Class via the Profile section of the User Control Panel.

This hack was written on version 2.2.6, but will likely work on any other 2.2.x version.

This hack has already been tested by a few friends, but I wanted to get some of you guys involved before posting it as a full release.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 04-10-2003, 05:06 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Click install, thanks so much!

I'm going to try playing with this in 2.3.0 and see what happens on my test copy! I'm really looking forward to your update, any idea when that might be? Weeks, months?

-Jason
Reply With Quote
  #43  
Old 04-13-2003, 11:51 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...years?
Reply With Quote
  #44  
Old 04-17-2003, 02:28 AM
kevinnguyen kevinnguyen is offline
 
Join Date: Feb 2003
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not working w/ me
i did all the step but it still shows my old title instead of the title class after i posted serveral posts
ahhhhhhhhhhhhhh
Reply With Quote
  #45  
Old 04-17-2003, 03:32 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked nicely for me on 2.3.0 after a few minor changes, should make note of them in your first post DraX.
Reply With Quote
  #46  
Old 04-18-2003, 09:39 PM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't recall the minor changes, alien, can you post them here and I'l add them to the first post?

As for timeframe, I'm currently working on a complete site content management system for vBulletin (no, not along the lines of vBPortal, which is just a hack of nuke using the vBulletin user database)

After I finish that, i'll be updating this hack, as well as posting a few of the pieces of that management system (but not likely the whole thing by itself.... too much vBuletin code would have to be posted, and that would make the instructions WAAAAAY too complex)

I'm also working on a hack that will allow people to easily migrate from using Coranto for their site's news to using things like vBindex or vBhome by migrating the news database from CorantoSQL and associating posts with existing forum usernames.

All of this is necessary for the gaming sites I'm working on, and I'll be sharing a lot of that stuff here.

But quite obviously, this means I have quite a bit on my plate.
Reply With Quote
  #47  
Old 04-18-2003, 11:45 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I'm looking forward to seeing all your new stuff!

Thanks for your hard work!

...As for those changes, I'll see what I can do...

-Jason
Reply With Quote
  #48  
Old 04-24-2003, 02:05 AM
Sylvus Sylvus is offline
 
Join Date: Apr 2003
Location: Toronto
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Drax, lovely hack but I have a question that perhaps you'd be able to answer. I'm trying to pull the User Title into the Postbit.

I've made one selection.

Default (obvious)
- New Member
- Junior Member
- Senior Member

Coca-Cola Fanatic (added via your hack).
- Rot your teeth drinker
- I love sweets drinker
- I need more coca-cola!

The title displays fine as "Rot your teeth drinker" if you have a minimum of 1 post. My question is, how can I get the Coca-Cola Fanatic choice to display also?

To be even more specific, in your screenshot on the first page, using that as an example, I want the "Serpent Riders" to also show in the postbit.
Reply With Quote
  #49  
Old 04-25-2003, 02:11 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Title Class Hack - vBulletin 2.3.0 Compatible Update

I've cleaned up the instructions a bit to work perfectly in vB 2.3.0

Only a few minor adjustments needed to be made.

For those who already have it working on 2.3.0, then your a smartypants and changed things on the fly properly and have no need to look at this.

For earlier versions, his original file may work better. It depends on which version changed some of the default code. Not sure what changed between 2.2.7 - 2.3.0 that required the instructions to change but here they are!

Enjoy!
Reply With Quote
  #50  
Old 04-27-2003, 08:02 PM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would have been 2.30... the isntructions I initially provided are correct for 2.29.

Thanks for the update, Alien.
Reply With Quote
  #51  
Old 04-27-2003, 08:04 PM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You want the chosen title class to show in the postbit? You'd end up having to add extra queries to the page, then..... either that, or modify my hack to add an additional text field in the database where, upon profile updates, the name of the selected title class would be entered.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 04:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05057 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete