Re: [SliTaz] attachments

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


HI Thomas,

This forum code is very and old not maintained  and we may consider to change it.

For attachment we have to modify the plugins:

-- readme.txt --
* if you get `error: denied mime`  on every upload, mime_content_type function or shell access must exist to verify mime types - otherwise you can force all types to be allowed by editing `bb-attachments.php` an


-- bb-attachments.php --
$bb_attachments['allowed']['extensions']['default']=array('gif','jpeg','jpg','pdf','png','txt',log);    // anyone who can upload can submit these
$bb_attachments['allowed']['extensions']['moderate']=array('gif','gz','jpeg','jpg','pdf','png','txt','zip','tazpkg','log','sh','conf'); // only if they can moderate
$bb_attachments['allowed']['extensions']['administrate']=array('bmp','doc','gif','gz','jpeg','jpg','pdf','png','txt','xls','zip','tazpkg','log','conf','sh');   // only if they can administrate

$bb_attachments['allowed']['mime_types']['default']=array('text/plain', 'image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'application/pdf', 'application/x-pdf');  // for anyone that can upload
$bb_attachments['allowed']['mime_types']['moderate']=array('text/plain', 'image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'application/pdf', 'application/x-pdf', 'application/zip', 'application/x-zip' , 'app
$bb_attachments['allowed']['mime_types']['administrate']=array('application/octet-stream', 'text/plain', 'text/x-c', 'image/bmp', 'image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'application/pdf', 'applicat


Bozos
-----

I think this will remove all user considerd has Bozos.

Cheers

Eric.

----- Le 4 Jan 18, à 22:25, Thomas Hinterberger kult-ex@xxxxxxxxx a écrit :

> dear all,
>
> I am Keymaster in the forum, but I dont find any possibilities in the admin
> dashboard to change the upload possibilities of the users
>
> http://forum.slitaz.org/topic/which-files-users-are-not-able-to-upload
>
> I have no idea, who is responsible for the forum - but it would be great, if we
> can change this
>
> another question - what happens, when I press the button "Delete all Bozos" - we
> have tons of junk users - is there any way to get rid of them?
>
> ciao
>
> Thomas
>
> --
> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/