Loading...
 
Features / Usability

Features / Usability


How can we prevent people overwriting images in img/wiki-up/

posts: 55

Our 1.9.7 site now has enough users in it that people are starting to overwrite each others images when they are uploaded to img/wiki-up/ using the UPLOAD PICTURE when editing a wiki page.

How can this be prevented?
Could Tiki lock the image afer it is uploaded?
Is there a setting to allow me to do this?
Can someone create a quick patch to do this?

Our short term solution is to ask people to preface image names with their username.

PeterE

posts: 17

> Our 1.9.7 site now has enough users in it that people are starting to overwrite each others images when they are uploaded to img/wiki-up/ using the UPLOAD PICTURE when editing a wiki page.
>
> How can this be prevented?

Hi PeterE,

we had the same problem, and i wonder that there is still no solution...

So we used a quiet dirty hack to put an timestamp in front of the name of the uploaded file.
Might not the best solution, but it works for us.


But there is another way to get around this problem...

You can use the FCKEditor as a WYSIWYG-Editor in your wiki.
This javascript editor has a build-in filemanager and with some fixes, every user can upload in his own directory.

imho this is a very clean solution.


So, tell me, if you want me to post some code.

bacca







> Could Tiki lock the image afer it is uploaded?
> Is there a setting to allow me to do this?
> Can someone create a quick patch to do this?
>
> Our short term solution is to ask people to preface image names with their username.
>
> PeterE


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting