PDA

View Full Version : Making An FAQ Top Level Item Only Visible To Certain Usergroups


HM666
02-05-2017, 06:28 PM
Is there a way to make a top level FAQ item only visible to certain usergroups? For example, I'd like to create a FAQ for staff only where regular members could not see the info and only the usergroups that are deemed as staff would be able to see that FAQ item. Is this possible or does anyone know of a mod that already is out there that allows for this?

Kane@airrifle
02-05-2017, 06:53 PM
Assuming you will integrating the FAQ into Vbulletin;

You would limit viewing rights to specific user groups like so:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)">

Substitute the comma separated numbers with the user group numbers you want to grant the rights to.

HM666
02-05-2017, 10:05 PM
Assuming you will integrating the FAQ into Vbulletin;

You would limit viewing rights to specific user groups like so:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)">

Substitute the comma separated numbers with the user group numbers you want to grant the rights to.

I'm talking about using the built in vBulletin FAQ. I wanted to limit the FAQ system that comes installed already.

Paul M
02-06-2017, 11:56 AM
That isnt possible without a modification, and I have never seen one that would do that.

(In fact, I dont think Ive ever seen a modification for anything related to the FAQ).

HM666
02-06-2017, 12:50 PM
That isnt possible without a modification, and I have never seen one that would do that.

(In fact, I dont think Ive ever seen a modification for anything related to the FAQ).

Yeah me either, but I was hoping that maybe someone knew of something of that nature. Well guess I go with plan B and just put that info into threads in the private admin section of the forum.

MarkFL
02-28-2017, 03:28 AM
Hello Len,

I've put together a simple mod that does what you're after. Please let me know if it fits the bill, and if you'd like any additional features. :)

HM666
02-28-2017, 10:36 AM
Hello Len,

I've put together a simple mod that does what you're after. Please let me know if it fits the bill, and if you'd like any additional features. :)

Awesome! Thanks Mark will give it a go! Just a side note, I'll be moving so I probably will not test it out until around March 7th.