ALLOW GROUP TO READ TITLES/ NOT CONTENT Installation Script

This hack will enable you to DISABLE SHOWTHREAD according to USERGROUP. This will allow all your members to view titles and topic counts found within a section. Think of it as "window shopping". Your members will be able to read all topics from the forumdisplay.php page but, will not be allowed to read it's content.

Viewable in index.php

Viewable in forumdisplay.php

Access granted to read showthread

Access NOT granted to read showthread


The edits below will prevent anyone from viewing the contents of a post from within showthread, printthread, showpost, and archives.

// ================================================= \\
// == Copyright © 2004, GO-TOTAL, LLC for vBulletin
// == vbulletin Copyright © 2000 - 2003, Jelsoft Enterprises Ltd.
// == This file may not be redistributed in whole or significant part.
// == Visit http://www.gtwebhost.com and check the power of GTPUBLISH
// == HINT: Click the Style Changer located at the bottom
// == Please donate if you find this hack useful: Donate to GO-TOTAL LLC
// ================================================= \\

This feature can be used on a per USERGROUP and /or per FORUM basis. You, as the admin, will have complete control.

You will need to modify:

  1. includes/init.php
  2. includes/adminfunctions_forums.php
  3. admincp/resources.php
  4. admincp/usergroup.php
  5. showthread.php
  6. archive/index.php
  7. archive/global.php
  8. printthread.php
  9. showpost.php

And, add 1 new phrase to Permissions.

Color Legend:
Important Original code Modified code

FIND IN includes/init.php:
REPLACE WITH:

Save File

FIND IN includes/adminfunctions_forums.php;
REPLACE WITH:

Save File

FIND IN admincp/resources.php:
REPLACE WITH:

Save File

FIND IN admincp/usergroup.php:
REPLACE WITH:
FIND:
REPLACE WITH:

Save File

FIND IN showthread.php:
REPLACE WITH:

Save File

THIS WILL PREVENT ACCESS TO CONTENT VIA ARCHIVES
FIND IN archive/index.php:
REPLACE WITH:
FIND:
REPLACE WITH:

Save File

FIND IN archive/global.php:
REPLACE WITH:

Save File

THIS WILL PREVENT ACCESS TO CONTENT VIA PRINTTHREAD
FIND IN printthread.php:
REPLACE WITH:

Save File

THIS WILL PREVENT ACCESS TO CONTENT VIA SHOWPOST
FIND IN showpost.php:
REPLACE WITH:

Save File

EVERYTHING BELOW IS ACCOMPLISHED WITHIN YOUR VB CONTROL PANEL
CREATE NEW PHRASE:

Upon completion, you must set this option to "Yes" for each USERGROUP that exists. (This will allow everyone to view contents of showthread.php.)

You must update each existing usergroup for this to take effect or they will not be able to see showthread.php

  1. Enter "USERGROUPS/USERGROUP MANAGER" found in vB Control Panel
  2. Edit each group - check YES on "Group can read content?"
  3. Update each group by pressing the UPDATE button found at the bottom.

MODIFY FORUM:

This will prevent groups from viewing showthread.php in specific forums; but, will allow them to view titles in forumdisplay.php - "window shopping".

NOTE: UPDATE usergroup setting before you do this.

To prevent groups from viewing showthread in specific forums:

  1. Enter the 'VIEW PERMISSIONS" section
  2. Choose forum
  3. Choose usergroup(s)
  4. Change "Group can read content? to "No"