[ zurück ] allow no-picture threads !ADMIN 17.02.10 (Mi) 11:12 Nr.7 !ADMIN 17.02.10 (Mi) 11:12 Nr.7 no-picture threads can be allowed nao. to do so, just add a new variable to config.php define ('NOFILE_CHECKBOX_ALLOWED', 0); // To allow non-picture-threads For Ordnung und Sauberkeit, I did it after the section define ('SHOWFLIPBUTTON', 0); // Show Flip-Button in postarea define ('SHOWASCIIBUTTON', 0); // Show Ascii-Button in postarea define ('SHOWCLEARBUTTON', 0); // Show Clear-Button in postarea define ('bbCodeON', 1); // Switch bbCode on define ('WORDFILTERON', 1); // Filter filthy words and hide them under then, in imgboard.php, look for if (!$resno) // "No file" checkbox for new threads { $dat .= ' [<label title="' . T_NOFILE . '"><input type="checkbox" name="textonly" value="on" /> ' . S_NOFILE . '</label> ]'; } uncomment that section and replace it with if (NOFILE_CHECKBOX_ALLOWED == 1 ) { if (!$resno) // "No file" checkbox for new threads { $dat .= ' [<label title="' . T_NOFILE . '"><input type="checkbox" name="textonly" value="on" /> ' . S_NOFILE . '</label> ]'; } } And you're done. Letz check if it works with this thread!!!1 [ Seitenanfang ]