Hello.
Add this to you Javascript management:
- Code:
[panda=js]$(function() {
if (document.getElementById('logout') == null) {
var sCategory = 'POSITION OF THE CATEGORY';
$('.main-content:eq(' + sCategory + ')').addClass('hanckiprotected');
}
});
And this your CSS
- Code:
[panda=css].hanckiprotected:after {
background: none repeat scroll 0px 0px rgba(255, 255, 255, 0.7);
bottom: 0px;
content: "Forum Protected";
font-size: 30px;
left: 0px;
line-height: 310px;
position: absolute;
right: 0px;
text-align: center;
top: 0px;
z-index: 10;
}
.hanckiprotected {
position: relative;
}
Don't forget to modify "position of the category" with a valid number.
PS : For me doesn't work so good , i mean is still "protected" when i'm logged in.