![]() |
I saw your site, but not the new style... no love?
|
Quote:
look http://www.dancehallareaz.com/forum/...ks.php?catid=6 http://www.dancehallareaz.com/forum/...ks.php?catid=5 :) |
How can i prevent access to certain usergroup example if they click on the link they see an error page?
Thanks |
can_access_link setting under permissions
I set mine to go to the register page. Set that with protected_link under settings. |
But i dont want them to be able to see it at all! you understand what i mean?
|
Well, you have to set the categories to a forum that they cannot see then. For example a regular user cannot see the LIMMAC Downloads section on my site, but LIMMAC Members can, because the category is set for a protected forum that the LIMMAC Members only can access, hence the category is not visible in LDM.
|
You could also wrap your template(s) with an IF statement, and filter usergroups that way. Doing so will result in a member seeing like.. a category has 10 things, but when they look in it, they only see 5 things cause the other 5 are hidden from the usergroup. This way gets more granular results because they might be able to see the category, but not the item.
|
Wrap your template with this from before the <table> and right after the </table>:
Replace what usergroups you want to allow with the numbers. Code:
<if condition="is_member_of($bbuserinfo, 5,6,7,9,10)"> Code:
<tr> |
Nice thanks lemme try
and how would i wrap up an error message like <if condition="is_member_of($bbuserinfo, 5,6,7,9,10)"> else error message </if> |
Quote:
Do you want the existence of the private entries to be visible to the restricted usergroups or not? If not, when would this error message be triggered? You can easily make a category visible to everyone but only have certain of its entries visible You can also easily make the category and all its entries visible but trigger an error message when a user tries to access those which are resticted. or You can make the category itself invisible to general users. |
All times are GMT. The time now is 11:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|