![]() |
Multiple file upload like VB
1 Attachment(s)
Has the feature to upload multiple files at one time been released as a MOD? I am talking about the feature to identify multiple files to upload. See attached image. Anyone know where I can get the code to perform this?
ST |
Anyone????
ST |
Hey, it's not available as a mod because it's already built-right-in to vB. LOL
|
HA! HA! HA! Boy do I feel stupid. Somehow, I overlooked that option. THANK YOU for posting up, even though I really feel silly.
ST |
find $attachinput
in the newattachment and add below or above $attachinput $attachinput $attachinput $attachinput thats all. |
in the acp=>settings you have an point attachments, there you can say how many
|
Quote:
Code:
<if condition="$post[usergroupid] == 6">$attachinput</if> |
Quote:
|
Quote:
Code:
<if condition="is_member_of($bbuserinfo, x)">$attachinput</if> |
I have this done and I thought it worked, just tried it out and got this error:
Code:
Warning: fopen(/tmp/phpYrKngM) [function.fopen]: failed to open stream: No such file or directory in /includes/class_image.php on line 328 |
Quote:
|
try this
HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 6)"></if> |
Quote:
Code:
Warning: fopen(/tmp/phpWDuytz) [function.fopen]: failed to open stream: No such file or directory in /includes/class_image.php on line 328 Code:
<if condition="is_member_of($vbulletin->userinfo, 6, 28, 5)">$attachinput</if> |
$bbuserinfo should work. That variable is already being used in that template.
But, what exactly are you trying to do? You can increase the number of uploads allowed in vboptions > message attachment options > attachments per post and attachment upload inputs. If you want to increase that just for one usergroup, just create a plugin to increase that setting ( $vbulletin ->options['attachboxcount'] and $vbulletin ->options['attachlimit'] ??) for that usergroup. |
Quote:
If I create a plugin and put in there the code you put above, what do I put where you put ?? Is that where I put the usergroup or the # of uploads allowed? |
I'm not sure which variables you want to change or for what usergroup, but you could do something like:
PHP Code:
|
PHP Code:
|
Ack! I knew that.... sometimes... um.... uh..... OK, I fixed my condition in my post above so someone else doesn't use my strange condition.
|
I really don't have a clue about making a plugin. Anyone what to give me a short lesson in it or explain how to do this?
|
Here are a couple of threads regarding Plugins/Products:
https://vborg.vbsupport.ru/showthread.php?t=82625 https://vborg.vbsupport.ru/showthread.php?t=82923 And, of course, there is info in the manual - Plugin System |
All times are GMT. The time now is 02:16 AM. |
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:
|