vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Other Usergroup Display (https://vborg.vbsupport.ru/showthread.php?t=295848)

squidsk 03-06-2013 11:00 PM

Other Usergroup Display
 
1 Attachment(s)
A mod to allow the optional display of additional usergroups, by their title and markup (if any) at a choice of postbit locations.

This mod works by assembling a list of groups which aren't the users display group and if they meet the display criteria, such as group that can override primary group, it will display it as a list of usergroups in the location chosen. The default location is postbit_userinfo_left.

There are two hooks to enable customization of the information being displayed.

squidsk 03-06-2013 11:07 PM

Saved for later use.

sweetpotato 03-07-2013 04:21 AM

Interesting, will try it tonight
Thanks,

sweetpotato 03-07-2013 06:36 AM

Just installed it but see nothing change. How to config this mod please?

squidsk 03-07-2013 06:41 AM

Admincp -> Options -> Other Usergroup Display Settings

First option specifies which criteria to use for displaying additional groups (default is do not display additional groups)
Second options (textbox) is used if you've selected Show Selected Groups, in which case a comma separated list of usergroup ids with no spaces should be entered
Third where in the postbit you want the additional groups displayed.

sweetpotato 03-07-2013 06:44 AM

Fixed it and work now
Thanks,

abdobasha2004 03-08-2013 06:09 PM

nice work, thanks

cflyrun 07-11-2013 06:20 PM

Does this work with the legacy postbit or just the new postbit?
EDIT: Uploaded the two files to specified directory, changed settings, no change in postbit new or legacy :(

squidsk 07-11-2013 07:52 PM

Quote:

Originally Posted by cflyrun (Post 2433236)
Does this work with the legacy postbit or just the new postbit?
EDIT: Uploaded the two files to specified directory, changed settings, no change in postbit new or legacy :(

It works for both, though some setting will only work for one postbit or the other. What are the settings you're using? I should note that not all the locations that you can display the information is in the postbit.

PHP FAN 09-03-2013 05:27 PM

Hi

Nothing to show!

I try everything in the settings, even with vB4 Default Style!

vBulletin 4.2.1

squidsk 09-06-2013 01:25 PM

Quote:

Originally Posted by PHP FAN (Post 2442932)
Hi

Nothing to show!

I try everything in the settings, even with vB4 Default Style!

vBulletin 4.2.1

Did you change the setting to enable it? I have it running perfectly fine on a vbulletin 4.2.1 install so there should be no issues. Also the user(s) you are looking at need to have other usergroups, aside from their primary usergroup, that meet the requirements for the settings you've chosen.

TheLastSuperman 09-06-2013 01:26 PM

*Tagged ;).

PHP FAN 09-07-2013 03:52 PM

There is no enable or disable option!

But I tried every available option!

I tray remove first and last line from postbit_other_usergroup_display template but still nothing to show


And yes of course I am trying this on users with multiple groups :)

I tried: "Show All Groups" and I tried "Show Groups That Can Override and Show Forum Leader Groups" and I don't know what those two means!

And "Show Selected Groups" and I inter all usergroups IDs except Banned

still nothing!

I am using postbit_legacy template and I tried all "Location in postbit" options:
postbit_userinfo_left
postbit_userinfo_right
postbit_userinfo_right_after_posts
postbit_signature_start
postbit_signature_end

I also switch to postbit template and still nothing

I also copy code from postbit_other_usergroup_display template to postbit_legacy template and nothing!

datoneer 09-08-2013 07:04 PM

Thanks it works in 4.2.1

PHP FAN 09-09-2013 02:47 PM

I install it in another forum site and same problem :confused:

PHP FAN 09-09-2013 03:03 PM

Sorry about this but now I just install it in a third site with vBulletin 4.2.0 Patch Level 3 and still nothing to show at all

* I even reviewed the hole code with my humble PHP experience and I can't find any thing wrong!

I also disable all other plugins and use default style in all 3 sites but no joy :(

PHP FAN 09-09-2013 03:36 PM

just notes in product-other_usergroup_display.xml

line 134 and 137 are duplicated

Code:

                                <optioncode>select:piped
postbit_userinfo_left|postbit_userinfo_left
postbit_userinfo_right|postbit_userinfo_right
postbit_userinfo_right_after_posts|postbit_userinfo_right_after_posts
postbit_userinfo_left|postbit_userinfo_left
postbit_signature_start|postbit_signature_start
postbit_signature_end|postbit_signature_end</optioncode>

* this didn't fix any thing

squidsk 09-09-2013 03:54 PM

Quote:

Originally Posted by PHP FAN (Post 2443966)
There is no enable or disable option!

But I tried every available option!

I tray remove first and last line from postbit_other_usergroup_display template but still nothing to show


And yes of course I am trying this on users with multiple groups :)

I tried: "Show All Groups" and I tried "Show Groups That Can Override and Show Forum Leader Groups" and I don't know what those two means!

And "Show Selected Groups" and I inter all usergroups IDs except Banned

still nothing!

I am using postbit_legacy template and I tried all "Location in postbit" options:
postbit_userinfo_left
postbit_userinfo_right
postbit_userinfo_right_after_posts
postbit_signature_start
postbit_signature_end

I also switch to postbit template and still nothing

I also copy code from postbit_other_usergroup_display template to postbit_legacy template and nothing!

Quote:

Originally Posted by PHP FAN (Post 2444405)
I install it in another forum site and same problem :confused:

I'd have to see the site (one of them) to at least have a change of figuring out why you can't get it to work. The only thing I can think of is that there's a conflict with another product, or you changed the default code. What other products do you have installed that are shared with both forums you've installed it on.

PHP FAN 09-09-2013 04:23 PM

I have one site (that I own) under "VPS" with no traffic and have English interface I will send you PM

this site have those mods:
Forum Runner (disabled)
PostRelease (disabled)
Skimlinks Plugin (unused)
GlowHost - Spam-O-Matic
vBadvanced CMPS
vBulletin Project Tools
vBulletin CMS
Other Usergroup Display just today installed for testing





The site I need this mod for in the first place is a site I just manage and maintain under "dedicated server" and it have:

Advanced Application Forms (disabled ate this time)
PostRelease (disabled)
Skimlinks Plugin (disabled)
Force Users to Read a Thread
GlowHost - Spam-O-Matic
Other Usergroup Display
PB Usergroup Choice on Registration
VSa - Login To User Account
VSa - Sub-Forum Manager
vBulletin Blog (disabled)
vBulletin CMS
vBadvanced CMPS (installed today after Other Usergroup Display)


Thanks


All times are GMT. The time now is 04:54 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.01078 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete