MyBB.de Forum
SCD Hide From Groups - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Veröffentlichungen und -Support (https://www.mybb.de/forum/forum-82.html)
+--- Thema: SCD Hide From Groups (/thread-36957.html)



SCD Hide From Groups - MyBB.de Bot - 21.01.2020

Eine neue Erweiterung wurde veröffentlicht: SCD Hide From Groups

Zitat:* project started via providing help for user request here: https://community.mybb.com/thread-226121...pid1342041

SCD Hide From Groups

Plugin that hides the contents of selected MyCodes from selected user groups.

Version: 2.5
Author: Dylan M.
Submitted: 26th October 2009
Last Updated: 12th November 2010

Version: 2.6 * (for MyBB 1.8.x)
Authors: Dylan M., Vintagedaddyo
Submitted: 20th January 2020

current localization:

- english
- englishgb
- espanol
- french
- italiano


Description:

This plugin will hide the contents of a MyCode tagged portion of a post from any user groups selected in the SCD Hide From Groups section in the Admin CP->Configuration->Settings. It defaults to 1 (Guest). You use a comma separated list of group ids you want it to check and hide the code from. It checks both the regular gid and the additional gids of the user.

Note: if you have mycode signatures it is suggested just to also disable signature viewing for the same user groups you are using in this plugin. You can disable signatures for desired user groups in acp home > board settings > profile options

Previews:

Preview Without Plugin Enabled followed by Preview With Plugin Enabled And Group 4 (Admins) added to the list of blocked groups

NOTE: The previews are outdated. I will get new ones up as soon as possible!

Github:

https://github.com/vintagedaddyo/MyBB_Pl...rom_Groups



Oh, for changing up the existing text and appended text you could do something like for example:

Simple example:
[/url]

Text to be displayed to the blocked groups.

Code:
Hidden
Text to be appended to the end of the hidden text.

Code:
<br /> <br /> <div class="red_alert"><img style="vertical-align:middle;" src="images/error.png">&nbsp;<strong>The contents of this section are hidden for your group</strong></div>  <a href="member.php?action=register">Register</a> or <a href="member.php?action=login">Login</a>

Or just for another example:

Code:
<br /> <br /> <div class="red_alert"><img style="vertical-align:middle;" src="images/error.png">&nbsp;<strong>The contents of this section are hidden for your group</strong> <a href="member.php?action=register" style="color:#000;">Register</a> or <a href="member.php?action=login" style="color:#000;">Login</a> </div>
[url=https://ibb.co/PzwS20S]



RE: SCD Hide From Groups - MyBB.de Bot - 21.01.2020

Eine neue Version wurde veröffentlicht: SCD Hide From Groups 2.6