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

Reply
 
Thread Tools
Custom User Status by Usergroup [Final] Details »»
Custom User Status by Usergroup [Final]
Version: 1.00, by Jen Jen is offline
Developer Last Online: Jun 2018 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-15-2002 Last Update: Never Installs: 20
 
No support by the author.

I could not find a way to add an additional user status field based on usergroup other than setting a override, which got rid of the normal usertitle based on post count and I didn't want that. This is my solution.

This hack adds an additional field to the usergroup table and allows you to display that custom group status field in addition to the normal usertitle that is defined either custom for the user or normally by number of posts without overriding the usertitle variable.

The end result gives you something like this (depending on how you edit your postbit template) for the output:

Jen
Tyro Hacker
[Custom Group Status Here]
[Users Avatar]
[Users other details]

The custom group status is set within the cp from the user group modify function for each group you want to add this additional status field to.

Questions, Problems, etc.. ask here as I am unable to provide support via email. This hack has been tested on vB 2.2.6.

Show Your Support

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

Comments
  #42  
Old 12-21-2002, 11:50 PM
Phat Papa Pete Phat Papa Pete is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Jen, I've installed this hack on vB 2.2.9 and it works a gem! The only problem is that my Quick Reply has disappeared and I'm pretty sure it's because of your hack. Do you know how I can get it back?
Reply With Quote
  #43  
Old 12-22-2002, 12:12 AM
Phat Papa Pete Phat Papa Pete is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's okay. I was just being stupid. I edited a fresh "showthread.php" script which didn't have the 'Quick Reply' hack in it (obviously). It's all fine and dandy now.
Reply With Quote
  #44  
Old 02-13-2003, 06:55 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i make it so me as the owner says President, but just me only. i dont want to make a new user group for my self, and if this worked in pms and announcments that wouuld be great. I think you would have to add some to phpinclude, though i could be wrong
Reply With Quote
  #45  
Old 02-13-2003, 09:30 PM
Jen's Avatar
Jen Jen is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[]\[]emesis: That is easily done just by editing your own user profile in the admin to use a custom user title. You could of course use another usergroup, it all depends on exactly what you are trying to accomplish and if it came be done either by editing your own profile or not.

I apologize for not getting everything updated as requested / promised. Things have been hectic the past few months and I have not had as much time as I would like to put into this and other such endeavors.

I have not tested this with the Quick Reply Hack. Most other issues are resolved simply by verifying that you haven't overwritten changes made to the SQL queries that those hacks also modified.

I will post an update asap with the hack updated to show in PMs, user profiles, etc. I need to do this for my board as well so this is definitely a priority.
Reply With Quote
  #46  
Old 02-14-2003, 09:43 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well thats just the thing, im the owner of my site and im in the admin usergroup and i already have something set for admins, but i dont want to make a new user group for it to say something new.
Reply With Quote
  #47  
Old 03-17-2003, 09:32 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No updates?
Reply With Quote
  #48  
Old 08-17-2003, 08:17 AM
Sacrifice Sacrifice is offline
 
Join Date: Jul 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, is it possible to make it so that a mod/smod/admin can change there own and not change the whole thing?

Eg.

[name]
[custom usertitle]
[custom group title (mods/smods/admins only)]
Reply With Quote
  #49  
Old 06-27-2004, 01:20 AM
brownafroduck brownafroduck is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this is great! It was a bit hard to understand what I was doing at first, but now I have it running perfectly! This is exactly what I was looking for!

*clicks install*
Reply With Quote
  #50  
Old 06-27-2004, 02:45 AM
Jen's Avatar
Jen Jen is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks brownafroduck!!

Remember, 99.9% of the problems people have reported are as a result of OTHER hacks that modify the same SQL queries as my hack. If you have problems installing this hack then odds are that you installed another hack that modified the same SQL queries and then overwrote those changes with these. Check the SQL if you have problems! (I haven't verified the original SQL, but don't believe any of my previously installed hacks modified the original vb SQL's modified by this hack, if I'm wrong, please let me know so I can update the instructions as needed).
Reply With Quote
  #51  
Old 06-30-2004, 04:52 PM
brownafroduck brownafroduck is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was reading through this thread, and people seem to think this is the same as other hacks but it isn't.

I have a usergroup system were people are randomly put into a usergroup which determines their access to a certain forum. However, I still wanted to have another status based on their post count to show how powerful they were. The other hack doesn't do that. I wanted a usergroup and userstatus fields, not a userstatus field and custom field. In fact, I haven't seen a single other hack that can do that which is why I am very pleased with this hack.
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 08:09 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.07459 seconds
  • Memory Usage 2,290KB
  • 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