close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

multiple user folders in html editor

Thread began 9/09/2010 4:42 pm by alex407656 | Last modified 9/13/2010 7:07 am by Willi Schneider | 1041 views | 2 replies |

alex407656

multiple user folders in html editor

Hi i have installed html editor and everything is working great
however

I wish to integrate it with a user management system (not security assist) so each user has their own folder to upload to (images/business/12jbJ86CH8391n2lu4bi1if9H2/) however the editor system just has one user folder which defeats the entire purpose of the system.

I tried using sessions to change the folder however this just creates errors. (it uses database tables)

any ideas?

Thank you in advance

Sign in to reply to this post

Jason ByrnesWebAssist

no, it's not possible to have unique users folders for the image upload in HTML editor.

Sign in to reply to this post

Willi Schneider

Solution using session variables

Hi Alex

I'm using the following solution for PHP:

1. Configure your upload folder settings in the HTMLEditor user interface like this:

/images/business/'.$_SESSION["your_session_variable_name"].'/

You could even append several variables for more sophisticated security settings:

/images/business/'.$_SESSION["your_session_variable_name"].'/'.$_SESSION["your_second_session_variable_name"].'/

Just make sure you are using the above syntax.

2. Add this line:<?php session_start(); ?> on top of the following pages:

i: --> Your HTMLEditor form page
ii: --> /HTMLEditor/editor/filemanager/connectors/php/config.php
iii: --> /HTMLEditor/editor/plugins/kfm/configurtion.php

Make sure, you backup these files for your own safety, before you make any changes...

The settings get stored in the HTMLEditor GUI, so I can use them for all my forms.
Of course the user must be logged in properly.

HTH

Willi

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...