<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TinyMCE Forum - "dynamic" rootpath]]></title>
		<link>http://www.tinymce.com/forum/viewtopic.php?id=872</link>
		<description><![CDATA[The most recent posts in "dynamic" rootpath.]]></description>
		<lastBuildDate>Tue, 13 Sep 2005 19:04:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: "dynamic" rootpath]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=4563#p4563</link>
			<description><![CDATA[<p>The ${user} user approach is very simple. Simply set up a session key correctly and it&#039;s done. Building a own authenticator is more complex but gives you higher flexibility since such plugin can modify any of the config values on the fly.</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Tue, 13 Sep 2005 19:04:32 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=4563#p4563</guid>
		</item>
		<item>
			<title><![CDATA[Re: "dynamic" rootpath]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=4562#p4562</link>
			<description><![CDATA[<p>OK, I&#039;m not quite sure whether my PHP skills are good enough for that but I&#039;ll give it a shot.<br />I&#039;ll let you know if I made some progress or not.</p>]]></description>
			<author><![CDATA[dummy@example.com (re_phil)]]></author>
			<pubDate>Tue, 13 Sep 2005 15:48:48 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=4562#p4562</guid>
		</item>
		<item>
			<title><![CDATA[Re: "dynamic" rootpath]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=4561#p4561</link>
			<description><![CDATA[<p>I suggest you write your own authenicator if you have enough PHP skills. You could also do this by using the session authenicator and then switch the user session key to vaious values and set it to a empty string when the root is logged in.</p><p>More info about the user key:<br /><a href="http://tinymce.moxiecode.com/filemanager/docs/option_authenticator_session_user_key.html">http://tinymce.moxiecode.com/filemanage &#133; r_key.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Tue, 13 Sep 2005 13:56:43 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=4561#p4561</guid>
		</item>
		<item>
			<title><![CDATA[Re: "dynamic" rootpath]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=4558#p4558</link>
			<description><![CDATA[<p>Am I getting it right that I can use this function to modify each users rooth path ?</p><p>I have the following issue:</p><p>Several users log in. Each user is responsible for it&#039;s own area. Therefor I want to make it possible to specify folders that the users can access. <br />For examply User &quot;user123&quot; is the one who takes care of the imprint. The Folder /downloads/imprint/ should be the only folder he has access to, thus his root folder. Same with the image manager. /images/ is the normal images folder but the user should see /images/imprint/ as his root folder. </p><p>Another user &quot;user456&quot; is then responsible for contact and has only &quot;/downloads/contact/&quot; and &quot;/images/contact/ as his folder. And so on.</p><p>An administrator of the website, however, should be able to access all the folders so his roots would be &quot;/downloads/&quot; and &quot;/images/&quot;.</p><p>Please let me know how this can be realized. Thank you very much in advance.</p><p>The corresponding user folders are known by my own scripts.</p>]]></description>
			<author><![CDATA[dummy@example.com (re_phil)]]></author>
			<pubDate>Tue, 13 Sep 2005 13:20:23 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=4558#p4558</guid>
		</item>
		<item>
			<title><![CDATA[Re: "dynamic" rootpath]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=2824#p2824</link>
			<description><![CDATA[<p>This could be done by creating a authenicator class and setting a session before. When the &quot;post&quot; page loads set a session value for example:</p><div class="codebox"><pre><code>$_SESSION[&#039;post_root&#039;] = &quot;/attachments/post74545&quot;;</code></pre></div><p>Then in the authenicator plugin you will be able to grab this value and insert it into config like:</p><div class="codebox"><pre><code>function init(&amp;$config) {
    $config[&#039;general.rootpath&#039;] = $_SESSION[&#039;post_root&#039;];
}</code></pre></div><p>There are a description on how to create authenicators in the manuals and there is also a example plugin in the plugin directory that shows how this is done. Hope this gives you some idea how to do this.</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Mon, 20 Jun 2005 09:27:01 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=2824#p2824</guid>
		</item>
		<item>
			<title><![CDATA["dynamic" rootpath]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=2823#p2823</link>
			<description><![CDATA[<p>Hi,<br />I&#039;m trying to install MCFileManager and have an issue..</p><p>I&#039;m implementing it as a stand-alone (although I have tinymce installed too). I&#039;m using it as a means to let users &quot;attach&quot; files to their posts. On the question post page, there&#039;s a link &#039;Attach Files&#039; and when clicked on, MCFileManager launches. The uploaded files for each post would be stored in a folder designated just for that post. .e.g.</p><p>/attachments/post343/<br />/attachments/post344/<br />/attachments/post884/<br />... etc ...</p><p>The rootpath is set to /attachments but it has to be /attachments/&lt;postid&gt; depending on the variable &lt;postid&gt; which is known by my own PHP script.</p><p>The user posting (e.g. post #333) should not be able to go back into /attachments. They are to be confined in /attachments/post333/.</p><p>Keep in mind that &lt;post id&gt; is different everytime a user makes a post so the script has to somehow be able to specify a different rootpath every time there&#039;s a post.</p><p>What is the best way to achieve this?</p><p>Please let me know if you need further clarification.</p>]]></description>
			<author><![CDATA[dummy@example.com (onyx)]]></author>
			<pubDate>Mon, 20 Jun 2005 08:49:08 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=2823#p2823</guid>
		</item>
	</channel>
</rss>
