Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
SCD Hide From Groups
#1
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]
Zitieren
#2
Eine neue Version wurde veröffentlicht: SCD Hide From Groups 2.6
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Hide groups from memberlist MyBB.de Bot 1 1.313 13.02.2016, 20:25
Letzter Beitrag: MyBB.de Bot
  SCD Hide From Groups MyBB.de Bot 1 2.372 25.11.2013, 21:36
Letzter Beitrag: melancholia
  Hide Find Button From Selective Groups MyBB.de Bot 0 1.214 16.05.2011, 05:51
Letzter Beitrag: MyBB.de Bot
  SCD Google Inline Translation MyBB.de Bot 0 1.480 15.12.2010, 07:26
Letzter Beitrag: MyBB.de Bot
  SCD Last Post MyBB.de Bot 0 1.454 09.12.2010, 06:02
Letzter Beitrag: MyBB.de Bot