MOD-Title: Zero and X-Poster Topic Restriction
MOD-Version: 0.0.2
MOD-Author: 4seven
Request by: sliar
Request Thread: http://www.phpbb.com/community/viewtopi ... 56&start=0
MOD-Description: prevent the reading, quoting and searching of topics for zero- or x-posters.
MOD-Demo: http://4seven.bplaced.net/phpbb3/index.php
(Login as user: ZatanglE / pw: testtest) restricted is forum-id 10
phpBB-Version: phpBB 3.0.x
phpBB-Languages: en
phpBB-Styles: prosilver, subsilver2

Download:
Download
Features:
With this Mod you prevent the reading, quoting and searching of topics for zero- or x-posters.
User must post at least one or x posts to have full access.
U can set, which forum is restricted.
Search ist exceptionless highly restricted for zero- or x-posters
All these things are restricted for Guests, too
Working Mode
Search:
- by trying to search trigger error
Post / View:
- by trying to quote trigger error
- by reply topic review is invisible
- posts in viewtopic are hidden, but have info-text
To-Do after Install
Important:
After install, search for
$sql_users['user_posts'] < 1
in posting.php, search.php and viewtopic.php
and change the number from 1 to eg. 5
$sql_users['user_posts'] < 5
to set the amount to 5
and change the number in edits for language/en/common.php also to 5
-------------------------
Also don't forget to enter your forum-id's in posting.php and viewtopic.php:
- Code: Select all
// Set here which forum u want to restrict
$forum_to_restrict = array(10,11);
// Enter forum-id as given: 10,12,14,17
Clear all Board-, Style- and Browser-Caches
changes in v.0.0.2:
- fixing little hurry-up's in instruction
- fixing readables by guest
- adding subsilver2
fix #1 for v.0.0.2:
Update for Attachments, which are not insert as inline
viewtopic.php?p=1598#p1598