wolfstream
09-02-2008, 10:00 PM
I recently ran across a need to have more than 10 attachments uploaded on a regular basis, and for the life of me couldn't figure out how to do it. This will help people with that little problem. It's a quick hack, but it works,as long as you follow the instructions.
This is an SQL qery which may be run through vB admincp, or through phpmyadmin, or your favorite SQL editor. This will turn the 'dropdown' attachment limit selection into a standard textbox which will allow you to submit your own limit. Of course, keep in mind that you don't want to allow TOO many attachments, but in some cases, allowing more than 10 attachments is necessary.
UPDATE setting SET optioncode = '' WHERE CONVERT( `setting`.`varname` USING utf8 ) = 'attachboxcount' LIMIT 1 ;
This is a small hack, but you should still backup your forum before running ANY kind of SQL query!
This is an SQL qery which may be run through vB admincp, or through phpmyadmin, or your favorite SQL editor. This will turn the 'dropdown' attachment limit selection into a standard textbox which will allow you to submit your own limit. Of course, keep in mind that you don't want to allow TOO many attachments, but in some cases, allowing more than 10 attachments is necessary.
UPDATE setting SET optioncode = '' WHERE CONVERT( `setting`.`varname` USING utf8 ) = 'attachboxcount' LIMIT 1 ;
This is a small hack, but you should still backup your forum before running ANY kind of SQL query!