vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=326407

UserGroup Conditional
by tuRiver
17 May 2018 12:21

Hi

Im stuck with this, and it should be simple

Im trying to show a badge on postbit to users that are in some custom group.

Im using this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But te text its not displayed... any ideas?

Thanks

MarkFL 17 May 2018 14:47

Try:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


tuRiver 17 May 2018 15:18

Its not working on postbit_legacy, any ideas?

MarkFL 17 May 2018 16:28

Quote:

Originally Posted by tuRiver (Post 2594780)
Its not working on postbit_legacy, any ideas?

Just to be sure, are you testing this with an account that is a member of that group? Have you edited the template corresponding to the style you are using?

Personally, I would use a plugin rather than a template hack.

tuRiver 17 May 2018 16:58

But i want to be visible to all users, not just for members of that group.

The condition to be shown, its that the message its been made by a member of that group

MarkFL 17 May 2018 17:10

Quote:

Originally Posted by tuRiver (Post 2594782)
But i want to be visible to all users, not just for members of that group.

The condition to be shown, its that the message its been made by a member of that group

Yes, of course...my apologies. Try this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


tuRiver 17 May 2018 17:12

Thank you!

--------------- Added 18 May 2018 at 11:25 ---------------

Quote:

Originally Posted by MarkFL (Post 2594783)
Yes, of course...my apologies. Try this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What about if its a secondary group?


All times are GMT. The time now is 06:40.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.