More than 10? More than 10?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

More than 10?

Started by mr_pr, May 24, 2005, 01:14:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mr_pr

How can i change the max number of uploads to more than 10?

Abbas Ali

I am not sure if this works or not because i have not tested it, but you can definitely try.

Edit groupmgr.php

Find


// Create permissible number of file upload boxes box.
echo "<td class=\"tableb\" align=\"center\">";
echo "<select name=\"num_file_upload_{$group['group_id']}\" class=\"listbox\">";
for ($i = 1; $i <= 10; $i++) {
  echo "<option value=\"$i\"";
  ......


and replace it with


// Create permissible number of file upload boxes box.
echo "<td class=\"tableb\" align=\"center\">";
echo "<select name=\"num_file_upload_{$group['group_id']}\" class=\"listbox\">";
for ($i = 1; $i <= 20; $i++) {
  echo "<option value=\"$i\"";
....


You can replace '20' by the number of boxes you want.
Chief Geek at Ranium Systems

Joachim Müller

as Abbas Ali pointed out: not recommended, the max of 10 files is there for a good reason. Youl'll probably run into timeouts.