Announcement

Collapse
No announcement yet.

How to prevent visitors from reading topics content of a specific forum

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to prevent visitors from reading topics content of a specific forum

    Dear All



    Is it possible to hide the topics details in a specific forum from being seen by visitors? I don't want to hide the list of topics in that forum, just want to prevent them from reading the content of all topics in that forum.



    I have tried this modification which has allowed visitors to see the list of topics but can not read them. I only want to make it for one or 2 forums but not for the whole VB sections.




    In file:showthread.php look for:


    globalize($_REQUEST, array(
    'perpage' => INT,
    'pagenumber' => INT,
    'highlight' => STR,
    'posted' => INT,
    'goto'
    ));





    Add below:

    if ($bbuserinfo['userid'] == 0)

    {

    print_no_permission();

    }







    I am using VB 3.0.7

    Thank you.

  • #2
    Allow the usergroup to view the forum, but not allow to view other people's threads. It's in the usergroup permissions page.

    Comment


    • #3
      A file hack is one way to go, but you need to post on www.vbulletin.org if you want to explore that route.

      Here is a crude solution that uses templates:

      http://www.vbulletin.com/forum/showthread.php?t=110119

      Also notice Freddie's reply regarding vB3.5

      Comment


      • #4
        Thank you all for your replies, yes I have found a specific hack at http://www.vbulletin.org/



        All the best

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X