- Posts: 3
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- How to change to local folder outside web-folder? (v2.5.3)
How to change to local folder outside web-folder? (v2.5.3)
- Ranja
- 
				Topic Author 
- Offline
- New Member
		Less
		More
		
			
	
		
			
	
						17 years 2 months ago				#16183
		by Ranja
	
	
		
			
	
			
			 		
													
	
				How to change to local folder outside web-folder? (v2.5.3) was created by Ranja			
			
				I don't want to storage my audios and videos in image/stories-folder. I want to store it outside web-folder. But when changing local folder to ../../audio the AllVideo Plugin reads that as www.domainname.tld/../../audio/filename.mp3 instead of redirecting to http://home/myname/audio/filename.mp3
>:(
I've searched through the support forum, faqs etc with no luck. I see this question have been asked by others than me, but still remains UNanswered. I do hope someone will take the time and effort to answer, as I am sure the developers must have had in mind that most people would like to store their media files outside web map.
Thanks in advance!
					>:(
I've searched through the support forum, faqs etc with no luck. I see this question have been asked by others than me, but still remains UNanswered. I do hope someone will take the time and effort to answer, as I am sure the developers must have had in mind that most people would like to store their media files outside web map.
Thanks in advance!
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- 
				
- Offline
- Admin
		Less
		More
		
			
	
		- Posts: 6229
			
	
						17 years 2 months ago				#16184
		by JoomlaWorks
	
	
		
			
	
			
			 		
													
	
				Replied by JoomlaWorks on topic Re: How to change to local folder outside web-folder? (v2.5.3)			
			
				You need to hack the code of the plugin, although not recommended. In your case, I would go and use the "remote" features of the plugin and simply add something like
{mp3remote}www.domainname.tld/audio/filename.mp3{mp3remote}
					{mp3remote}www.domainname.tld/audio/filename.mp3{mp3remote}
Please Log in or Create an account to join the conversation.
- Ranja
- 
				Topic Author 
- Offline
- New Member
		Less
		More
		
			
	
		- Posts: 3
			
	
						17 years 1 month ago				#16185
		by Ranja
	
	
		
			
				
No, I think you misunderstood as one cannot do that, when the mp3-file is stored outside the web folder (level above domain.tld on my webserver). Doing what you suggest is no different than storing it in "remote" folder (images/stories/audio) inside domain area, and therefore does not solve anything.
I strongly suggest for the AllVideos Plugin developers to look at the coding for the local folders, so that one can write for example ../../audio in the local folder form.
					
	
			
			 		
													
	
				Replied by Ranja on topic Re: How to change to local folder outside web-folder? (v2.5.3)			
			You need to hack the code of the plugin, although not recommended. In your case, I would go and use the "remote" features of the plugin and simply add something like
{mp3remote}www.domainname.tld/audio/filename.mp3{mp3remote}
No, I think you misunderstood as one cannot do that, when the mp3-file is stored outside the web folder (level above domain.tld on my webserver). Doing what you suggest is no different than storing it in "remote" folder (images/stories/audio) inside domain area, and therefore does not solve anything.
I strongly suggest for the AllVideos Plugin developers to look at the coding for the local folders, so that one can write for example ../../audio in the local folder form.
Please Log in or Create an account to join the conversation.
- aussiemike
- 
				
- Offline
- New Member
		Less
		More
		
			
	
		- Posts: 10
			
	
						17 years 1 month ago				#16186
		by aussiemike
	
	
		
			
	
			
			 		
													
	
				Replied by aussiemike on topic Re: How to change to local folder outside web-folder? (v2.5.3)			
			
				Can't you just change the permissions on your folder so they are not writable?			
					Please Log in or Create an account to join the conversation.
- teddirez
- 
				
- Offline
- New Member
		Less
		More
		
			
	
		- Posts: 6
			
	
						17 years 3 weeks ago				#16187
		by teddirez
	
	
		
			
	
			
			 		
													
	
				Replied by teddirez on topic Re: How to change to local folder outside web-folder? (v2.5.3)			
			
				i wish to do the same thing as Ranja, my site resides in a subfolder on top of the tld (www.mysite.com/site) but i wish to store the wma's (that wont play yet anyway) in separate sub on the tld (www.mysite.com/media). Ideally i'd like to store them behind the /www directory if possible			
					Please Log in or Create an account to join the conversation.
- JoomlaWorks
- 
				
- Offline
- Admin
		Less
		More
		
			
	
		- Posts: 6229
			
	
						17 years 3 weeks ago				#16188
		by JoomlaWorks
	
	
		
			
	
			
			 		
													
	
				Replied by JoomlaWorks on topic Re: How to change to local folder outside web-folder? (v2.5.3)			
			
				We're soon releasing v2.6 of AllVideos. I'll make sure to add a new parameter to control the storage folders completely.  ;)			
					Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- How to change to local folder outside web-folder? (v2.5.3)