This will make it so that the user can only upload in certain forums. for example if your board has the keyword upload in it, the user will be able to upload in it. If it doesn't, the user won't be able to upload into it. an example of where a user can upload a file into a board is at
http://www.extremeforums.org/newpost.php...lapsed&sb=5 an example of where a user can't upload into a board is at
http://www.extremeforums.org/newpost.php...lapsed&sb=5<br /><br />modified files are addpost.php and newpost.php. remember to backup your files before you try this. and replace the word media with the keyword that you want to use.<br /><br />in newpost.php at line 220 it should look like this:<br /><br />if ( ($config[files]) && ($Reged == "y")) {<br /><br />change it so it looks like this:<br /><br />if ( ($config[files]) && ($Reged == "y") && (ereg("media",$Board))) {<br /><br />and in addpost.php at line 305 should look like this:<br /><br />if(($config[files]) && ($Reged == "y")) {<br /><br />change it so it looks like this:<br /><br />if(($config[files]) && ($Reged == "y") && (ereg("media",$Board))) {<br /><br />and then at line 421 it should look like this:<br /><br />if ( ($config[files]) && ($Reged == "y")) {<br /><br />change it so it looks like this:<br /><br />if ( ($config[files]) && ($Reged == "y") && (ereg("media",$Board)) ) {<br /><br />[:red]--------------</font color=red><br />
http://extremeforums.org/index