13.08.2010, 17:12
Eine neue Erweiterung wurde veröffentlicht: Hide To Guests
Zitat:This plugin gives additional MyCode-like tag which hides its content from specified usergroups.
You can set:
- - usergroups content should be hidden from
- - replacement text which appears instead of content you want to hide
- - tag name you want to use (for instance [fancy_hide]...[/fancy_hide])
- - CSS class name which is assigned to span containing replacement text
- - whether to remove hidden content from reply form of user who cannot see the content (to avoid unneccessary trash in quotes)
Basically that's all. Works also with 1.4 series.
If you want to achieve such effect like on the screenshots below you have to (providing that you didn't change plugin's defaults) add this CSS code into your global.css style (in Advanced Mode):
Code:.hide {
display: block;
margin: 5px;
padding: 10px;
border: 2px solid #A80014;
border-left: none;
border-right: none;
background: #FFC2C9;
}
and set replacement text to something like this:
Code:This content is hidden from you. If you want to see it you have to <a href="member.php?action=register">register</a> on this board.