PDA

View Full Version : Show content based on forum permissions?


Brent H
03-10-2007, 03:33 AM
Is there a way to hide or show content based on a user's ability to access a forum? I've been looking for about an hour now and can't find anything about it.

What I want to do is basically:
If the user has access to forum X, show the content. If not, show nothing.

It sounds pretty simple and I imagine there has to be a conditional for this, but I can't find it. Any ideas?

4x4 Mecca
03-10-2007, 03:35 AM
In the forum permissions http://www.YOURSITE.com/forum/admincp/resources.php

Brent H
03-10-2007, 03:37 AM
Thank you, but I want to display something on a vBCMS page or the FORUMHOME template based on a user's ability to view a particular forum, so I'd need some kind of a conditional <if> thing ;)

4x4 Mecca
03-10-2007, 03:54 AM
Sorry, I was wondering why someone was asking a question like that! My fault, I didn't understand you. Good luck.

HMBeaty
03-10-2007, 04:06 AM
Try this, at least I THINK this may be what you are after....


<if condition="$foruminfo[forumid] != xx">

</if>


Replace xx with your forum ID number