Restriction to file upload on events and groups

I noticed that  is not applied restrictions on the type of file can be loaded in the  group or event add form, there is a way to apply restriction like file upload module?

Thanks

Quote · 16 Nov 2010

nobody has been able to answer even our agent and then I moved by myself, I added these lines of code in BXDolFormMedia  on the uploadFiles function under
$ STmpFile = BX_DIRECTORY_PATH_ROOT. 'Tmp / v'. time (). $ _COOKIE ['MemberIDs']. $ I. ''. . $ APathInfo ['extension']; //line 156

$ SAllowed = getParam ('bx_files_allowed_exts');
if (strlen ($ sAllowed)> 0) {
$ AExts = preg_split ('/ [\ s $ ,;]/', sAllowed);
if (!in_array ($ aPathInfo ['extension'], $ aExts)) {
@ Unlink ($ sTmpFile);
return'';
}   
}

Now the function check the file extentions set in the file module.

if you have suggestions or notice any problems please let me

Quote · 16 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.