Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Small plugin to show Membergroups in Postbit Details »»
Small plugin to show Membergroups in Postbit
Version: 1.00, by craiovaforum craiovaforum is offline
Developer Last Online: Jun 2018 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 02-06-2006 Last Update: Never Installs: 31
Uses Plugins Template Edits
 
No support by the author.

This is just a port of the hack made by Gary_King for 3.0. Original thread here.
The code was actually written by Andreas. I merely put it all together in a plugin for the users that requested it.

Install instructions:

1. Import the plugin
2. Edit the postbit or postbit_legacy template (or both).
find:
PHP Code:
<div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon]</div
above that, add:
PHP Code:
<if condition="$groupstr != ''"><div>
$vbphrase[member_groups]: <br>$groupstr
</div></if> 
3. Add a new phrase called member_groups containing:
Code:
Member of
Thats about it. Dont forget to click Install

If you like this modification don't forget to donate

Show Your Support

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

Comments
  #22  
Old 02-19-2006, 03:43 PM
Thanatos Thanatos is offline
 
Join Date: Dec 2001
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by craiovaforum
??
it is for usergroups...
This one only shows membergroups...I am looking for one that shows usergroups.

Member/Administrator/Moderator in the postbit as well as membergroups.
Reply With Quote
  #23  
Old 02-19-2006, 06:34 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, you want it to show the user's primary usergroup as well.
it is actually very simple. edit the plugin and find:
PHP Code:
foreach (fetch_membergroupids_array($this->postfalse) AS $usergroupid
replace with:
PHP Code:
foreach (fetch_membergroupids_array($this->posttrue) AS $usergroupid
Reply With Quote
  #24  
Old 02-20-2006, 09:16 PM
Thanatos Thanatos is offline
 
Join Date: Dec 2001
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by craiovaforum
Ah, you want it to show the user's primary usergroup as well.
it is actually very simple. edit the plugin and find:
PHP Code:
foreach (fetch_membergroupids_array($this->postfalse) AS $usergroupid
replace with:
PHP Code:
foreach (fetch_membergroupids_array($this->posttrue) AS $usergroupid
That did it, thanks.

Any way to easily re-order it?
Reply With Quote
  #25  
Old 10-27-2006, 03:16 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cant work in v3.5.4. Anyone faced the same problem?:knockedout:
Reply With Quote
  #26  
Old 12-23-2006, 04:25 AM
Thanatos Thanatos is offline
 
Join Date: Dec 2001
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still works in 3.6.4 (this is by far, one of the little hacks I love the most)
Reply With Quote
  #27  
Old 02-09-2007, 12:09 PM
Black Widow's Avatar
Black Widow Black Widow is offline
 
Join Date: Feb 2005
Location: Israel
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.
great hack.
installed...
Reply With Quote
  #28  
Old 04-14-2007, 03:39 PM
Lilaena Lilaena is offline
 
Join Date: Apr 2007
Location: Oregon
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way for the listed usergroups to be links to your usergroup CP? Or is this something I would do via html?
Reply With Quote
  #29  
Old 04-20-2007, 01:29 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

define usergroup CP.
are you refering to the group memberships option from the group leader's user cp?
Reply With Quote
  #30  
Old 04-24-2007, 10:43 PM
Lilaena Lilaena is offline
 
Join Date: Apr 2007
Location: Oregon
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I meant the group memberships option in each member's user CP. Exactly. Sorry I wasn't using the right terms. >_<
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 02:17 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.04892 seconds
  • Memory Usage 2,304KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_php
  • (2)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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