![]() |
[php help] newattachment.php
Scenario:
I have "Attachments Per Post" set to "5" and created a new extension type "rar". I would like to restrict the maximum number of rar files to 1 per post. But any number of attachments (less than or equal to 5 as set above) for other extensions (gif, jpg, etc) For example: If a user uploads .rar file, and tries to upload another .rar file, he should get an error in the attachment page. Now from what I understand, I'd need to edit newattachment.php file. Please help me out here. Thanks Aurous |
*bump*
|
*bump*
|
*bump*
|
And what would prevent a user from making several posts in a row just to attach several rar files?
|
LOL, I knew that was coming. Well that has already been sorted here:
https://vborg.vbsupport.ru/showthread.php?t=64493 |
*bump*
|
*bump*
|
*bump upside the head*
Bump it again and we ignore you. :p As for that, I could do it but I'm currently busy with a larger project. |
Thanks for that useless post. If you guys cant help, then please dont bother posting here.
|
All times are GMT. The time now is 05:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|