How do I disallow a certain group to not view the widgets?
2 posters
Page 1 of 1
How do I disallow a certain group to not view the widgets?
I have a group called "inactive users" on my forum, and I've already hidden the board from them, but I cant seem to find a way to hide the widgets.
The idea is to have these inactive users post on a specific topic before becoming full members again. So everything is basically invisible for them, but with the widgets they'd be able to see some of the topics.
The idea is to have these inactive users post on a specific topic before becoming full members again. So everything is basically invisible for them, but with the widgets they'd be able to see some of the topics.
Re: How do I disallow a certain group to not view the widgets?
Hello Kynata,
Are you using the toolbar ?
If so you can do this :
Administration panel > modules > javascript codes managemet > create a new script
Title : what you wish
Placement : wherever you do not want the Inaactive users to see the widgets
Paste this and save if you're using the right widgets :
Paste this and save if you're using the left widgets :
Then create a special rank that has the following title :
After you have created that, give that rank to members who you don't want to see the widgets.
Are you using the toolbar ?
If so you can do this :
Administration panel > modules > javascript codes managemet > create a new script
Title : what you wish
Placement : wherever you do not want the Inaactive users to see the widgets
Paste this and save if you're using the right widgets :
- Code:
$(function() {
if (_lang.rank_title == 'Inactive Member') {
document.getElementById('right').setAttribute('style','width:0;');
document.getElementById('content').setAttribute('style','margin-right:0;');
}
});
Paste this and save if you're using the left widgets :
- Code:
$(function() {
if (_lang.rank_title == 'Inactive Member') {
document.getElementById('left').setAttribute('style','width:0;');
document.getElementById('content').setAttribute('style','margin-left:0;');
}
});
Then create a special rank that has the following title :
- Code:
Inactive Member
After you have created that, give that rank to members who you don't want to see the widgets.
Re: How do I disallow a certain group to not view the widgets?
I did exactly that, and it still allows inactive members to view the widgets.
Re: How do I disallow a certain group to not view the widgets?
Please post a link to your forum then.
Thanks
Thanks
Similar topics
» Disallow private messages in a group
» How to disallow the group leader to "add members"?
» How to disallow group members from leaving their respective groups?
» Profile View (put a group)
» *Add section were you need 50+ post view a post_ or a group*
» How to disallow the group leader to "add members"?
» How to disallow group members from leaving their respective groups?
» Profile View (put a group)
» *Add section were you need 50+ post view a post_ or a group*
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum