vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Small plugin to show Membergroups in Postbit (https://vborg.vbsupport.ru/showthread.php?t=107356)

Thanatos 02-19-2006 03:43 PM

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.

craiovaforum 02-19-2006 06:34 PM

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


Thanatos 02-20-2006 09:16 PM

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?

fishhub 10-27-2006 03:16 PM

cant work in v3.5.4. Anyone faced the same problem?:knockedout:

Thanatos 12-23-2006 04:25 AM

Still works in 3.6.4 (this is by far, one of the little hacks I love the most)

Black Widow 02-09-2007 12:09 PM

thanks.
great hack.
installed...

Lilaena 04-14-2007 03:39 PM

Is there any way for the listed usergroups to be links to your usergroup CP? Or is this something I would do via html?

craiovaforum 04-20-2007 01:29 PM

define usergroup CP.
are you refering to the group memberships option from the group leader's user cp?

Lilaena 04-24-2007 10:43 PM

I meant the group memberships option in each member's user CP. Exactly. Sorry I wasn't using the right terms. >_<


All times are GMT. The time now is 08:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete