Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

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
  #12  
Old 10-14-2002, 10:27 PM
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Location: UK
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So is this like multiple usergroups, except you can choose your usergroup?

Looks great thought mate!

Maybe an integration with the new "PayCheck" hack would be great...
Reply With Quote
  #13  
Old 10-15-2002, 12:36 AM
dogbomb's Avatar
dogbomb dogbomb is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not using this hack, but one idea jut LEAPED out at me when I saw it... Sex-defined-usergroups!

Males ---> Princes to Kings...
Females ---> Princesses to Queens...

Possibilities are endless, and you can simple ask the simple question "male or female" in the control panel. Good work!
Reply With Quote
  #14  
Old 10-17-2002, 04:57 AM
Graphics's Avatar
Graphics Graphics is offline
 
Join Date: Mar 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woah, that hack is totally nice so ...

for mydigimon rpg they will whose the group of usertitles... like

Normal
Rookie - Champion - Ultimate - Mega

Normal-Jap
Child-Adult-Perfect-Ultimate

Hybrid
Pico Hybrid - Human Hybrid - Beast Hybrid - Advance Hybrid - Final Hybrid

HEHEHEHEHEHE

*hits the install buttons*

You are sooo kawaii
Reply With Quote
  #15  
Old 10-21-2002, 02:15 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that is a damn good idea dogbomb, ill have to edit it to do that and use it. Also if desiered i will release the coding here.
Reply With Quote
  #16  
Old 10-21-2002, 04:46 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow

Cool

Satan
Reply With Quote
  #17  
Old 10-21-2002, 08:29 PM
Hooloovoo's Avatar
Hooloovoo Hooloovoo is offline
 
Join Date: Sep 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is something I've been looking for, and should fit my needs just nicely.

I'll post here to let you know how the install goes.

THANKS!
Reply With Quote
  #18  
Old 10-28-2002, 06:13 AM
Pezman's Avatar
Pezman Pezman is offline
 
Join Date: Aug 2002
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't installed this hack yet, but I was wondering if it is possible to have avatars associated with each usertitle.

I would like promotion of posts to introduce different titles AND avatars that are bound to that particular title.
Reply With Quote
  #19  
Old 10-28-2002, 07:35 AM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm actually working on the avatars addition for the next version

My suggestion for now is to upload a few images into a subdirectory of the default images folder, and then change the postbit template.

Find:
PHP Code:
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p
Replace:
PHP Code:
<smallfont>$post[usertitle]</smallfont><br>
<
img width="64" height="64"
src="https://vborg.vbsupport.ru/images/titleavatars/$post[usertitle].gif" alt=""><p
Obviously this would require the name of each usertitle to be unique.
Reply With Quote
  #20  
Old 10-28-2002, 12:44 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps doing it on a userid & usertitle basis would be better - the userid is unique

And incase you are wondering, the code for userid is :

Code:
$post[userid]
Satan
Reply With Quote
  #21  
Old 10-28-2002, 04:32 PM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once you change that avatar to be pulled from the userid, you're completely defeating the purpose that he was looking for though.

If you're going to base it on userid, then why not just use the avatar functions already included in vBulletin?

He wanted to have a different avatar only for each User Title / Rank.
Reply With Quote
Reply

Thread Tools

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 03:32 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.04867 seconds
  • Memory Usage 2,303KB
  • 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)bbcode_code
  • (2)bbcode_php
  • (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