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
  #32  
Old 11-23-2002, 01:59 PM
sbywebs sbywebs is offline
 
Join Date: Oct 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed on vb 2.2.9 and it works perfectly, thank you very much. Hopefully you'll do that image add-on very soon, as when i post an announcement it takes a lot of room because it shows my image. (I did a thing like Title <br><img src="http://...")
Reply With Quote
  #33  
Old 11-25-2002, 09:39 PM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The part that says UPDATE user SET etc.... in my hack and in Lesane's hack are different... you need to make sure the additional parts from both hacks are in there....
Reply With Quote
  #34  
Old 02-19-2003, 06:34 PM
sbywebs sbywebs is offline
 
Join Date: Oct 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Me Again ... i was wondering if you were going to get that title class per usegroup thing done, would be a great help for my forum. Thank you.
Reply With Quote
  #35  
Old 04-07-2003, 01:19 AM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, been away for a while... when someone chooses a new class, it doesn't automatically update their usertitle at this time, but will do so as soon as they make a post.

http://forums.raven-games.com for an example
Reply With Quote
  #36  
Old 04-07-2003, 01:20 AM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

spywebs, I'm actually getting around to that addition on my own forums, as I've realised I need it as well. When I finish the code I'll update the hack.
Reply With Quote
  #37  
Old 04-07-2003, 04:29 PM
Kommissar Kommissar is offline
 
Join Date: Apr 2002
Location: Colgne
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, good work. But: I want to choose for the users and disable the possibility to choose for them How does this work?
Reply With Quote
  #38  
Old 04-08-2003, 08:58 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great idea, thanks so much for writing this hack.

It's definatly going into my new forums when my complete redesign is finished!

I look forward to any updates you come up with as well! It will be my first hack in!

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

BTW, will this allow users to select their class upon registration?

I'd really love this if it is possible! That's all I need!

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

Lastly, can anyone confirm this working on a 2.3.0 installation?
Reply With Quote
  #41  
Old 04-09-2003, 05:14 AM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got it working on 2.30 on another forums that I'm an admin on ( http://www.wc3campaigns.com ).
I think I had to slightly modify some parts of the code, but I forget what.

My site's forums are 2.29 because all the hacks I was writing and the majority of the hacks available are 2.2x.

As per dissallowing users to select their class, I'm afraid that isn't possible at the moment, since i never found it necessary to add the current title Class of a user into the user edit section of the Admin CP. It's an end-user option, one that you already have enough control over.

The next version I release WILL have the Title Class option available in the User modify section of the Admin CP, as well as having the ability to set permissions to the title classes per user group (not sure yet how i'm setting those permissions... but I'll figure it out).

The next version will also immediately update a User's Title upon selecting it in the User CP.

And yes, this hack does affect the registration pages. (I was pretty thorough on it.... wasn't going to have it available in the user profile but not the register profile)
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:04 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.11571 seconds
  • Memory Usage 2,301KB
  • 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
  • (4)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