In de mod install.txt staat de volgende code change aan constants.php
Code: Selecteer alles
#
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------------
#
define('AUTH_ATTACH', 11);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start add - Global announcement MOD
define('AUTH_GLOBALANNOUNCE', 12);
define('HIDDEN_CAT', 0); // NOTE: change this value to the forum id, of the forum, witch you would like to be hidden
// End add - Global announcement MOD
Code: Selecteer alles
## If you wish to assign special rigths to the global announcement,
## then you may costumice the constants.php , change the value of
## HIDDEN_CAT witch a category id,. This category is hidden to all
## except ADMIN inside this category, make a forum with a empty
## name, and post the global announcement here that way preventing
## the users to se the forum, where the global announcement is posted
## make this forum "view_auth" ALL and "read_auth" ALL, all
## other settings are up to you (in current version of phpbb2,
## you can't create a forum without a name, but you can
## change/delete the name after it is created ! )
Deze regel dus...
Code: Selecteer alles
define('HIDDEN_CAT', 0); // NOTE: change this value to the forum id, of the forum, witch you would like to be hidden
En welke waarde vul ik daar precies in ?
Die van het desbetreffende subforum (viewforum.php?f=30 | 30 dus) en kan ik ook meerdere fora toevoegen (30, 31) dmv het gebruiken van een komma.
Of kan ik direct een heel forum verbergen ? (index.php?c=6 | 6 dus)