Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-07-28 09:27:01

Freddy
New member
Registered: 2009-07-16
Posts: 7

Extended File Manager restricting access to folders

Has anyone figured out a system to restrict uploaders to certain directories yet, that they wouldn't mind sharing ?

I'm coding a system that could have many different users and it would make more sense for them to only be able to access their own folder rather than have free reign - you know what some people are like...

Many thanks smile

Offline

#2 2009-07-29 09:18:06

Freddy
New member
Registered: 2009-07-16
Posts: 7

Re: Extended File Manager restricting access to folders

OK from looking around it doesn't look like there is much in the way of support here - many many unanswered questions in this forum - is this project still alive ?

I've tried everything I can think of.  I just need to dynamically change the images folder within PHP.

Please don't direct me here : http://xinha.webfactional.com/wiki/Plug … ileManager

That does not explain how to do it.

When I call up the editor I just need to pass the image directory URL across somehow - I just don't see how to do it from that 'example' in the readme - to me that just looks like it is just setting up the Javascript config file using php -  how is that dynamic if I can't change it on the fly from within my program ?

Anyone still interested enough in this editor to help me out please ?

Cheers smile

Last edited by Freddy (2009-07-29 09:36:52)

Offline

#3 2009-07-29 09:53:46

Freddy
New member
Registered: 2009-07-16
Posts: 7

Re: Extended File Manager restricting access to folders

To give you a better idea of what I am trying to do - say I have this echoed out onto my HTML page to set up Xinha :

<script type="text/javascript">
    _editor_url  = "http://localhost/blogmod/xinha/"  // (preferably absolute) URL (including trailing slash) where Xinha is installed
    _editor_lang = "en";      // And the language we need to use in the editor.
    _editor_skin = "blue-look";   // If you want use a skin, add the name (of the folder) here
</script>

Is there some way there I can set up the EFM configuration ? Something like this....

<script type="text/javascript">
    _editor_url  = "http://localhost/blogmod/xinha/"  // (preferably absolute) URL (including trailing slash) where Xinha is installed
    _editor_lang = "en";      // And the language we need to use in the editor.
    _editor_skin = "blue-look";   // If you want use a skin, add the name (of the folder) here
    _images_dir = "path/to/images";
</script>


???

Offline

#4 2009-07-31 07:33:57

Freddy
New member
Registered: 2009-07-16
Posts: 7

Re: Extended File Manager restricting access to folders

Any one ?

Offline

#5 2009-07-31 17:27:21

ateslik
Xinha Community Member
Registered: 2009-07-16
Posts: 33

Re: Extended File Manager restricting access to folders

Offline

#6 2009-08-01 06:27:02

Freddy
New member
Registered: 2009-07-16
Posts: 7

Re: Extended File Manager restricting access to folders

Yes that's the configuration details.  Thanks but I already looked at that - it doesn't help with what I am asking about sad

Offline

Board footer

Powered by FluxBB