The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[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 |
#2
|
|||
|
|||
*bump*
|
#3
|
|||
|
|||
*bump*
|
#4
|
|||
|
|||
*bump*
|
#5
|
||||
|
||||
And what would prevent a user from making several posts in a row just to attach several rar files?
|
#6
|
|||
|
|||
LOL, I knew that was coming. Well that has already been sorted here:
https://vborg.vbsupport.ru/showthread.php?t=64493 |
#7
|
|||
|
|||
*bump*
|
#8
|
|||
|
|||
*bump*
|
#9
|
||||
|
||||
*bump upside the head*
Bump it again and we ignore you. As for that, I could do it but I'm currently busy with a larger project. |
#10
|
|||
|
|||
Thanks for that useless post. If you guys cant help, then please dont bother posting here.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|