Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
globetrotter
Imagevue Expert
Topic Author
Posts: 844
Joined: 18 Oct 2006, 13:16

Contentfolder Error

17 Oct 2008, 13:26

When I select in admin a folder like content/AnotherFolder/ then something strange happens when I go to Manage my pictures I get a empty (white) screen.
The only way to repair this problem is to delete the file configUser.xml in the config directory.
Rene
http://www.globetrotternet.nl/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

17 Oct 2008, 23:26

you're right ... We will look into.

Perhaps you can explain what you are trying to do? I mean, why set another contentfolder when using "content" would give you admin access throughout the folders anyway? Is it for the gallery?

I know there may be some confusion regarding this ...
 
User avatar
globetrotter
Imagevue Expert
Topic Author
Posts: 844
Joined: 18 Oct 2006, 13:16

18 Oct 2008, 17:16

I want to have a public contentfolder, like content/public/ and a private contentfolder like content/private/

See also: viewtopic.php?t=3786
Rene
http://www.globetrotternet.nl/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

20 Oct 2008, 06:25

Just lingering on the functionality of this ... is there any reason why you can't simply use "content" as contentfolder, and manage both your "public" and "private" content from same admin/login?

You can still use gallery/?contentfolder=content/public/ and gallery/?contentfolder=content/private/ for the gallery frontend.

Of course I can see there is a bug that shouldn't be there, no discussion about that ...
 
User avatar
globetrotter
Imagevue Expert
Topic Author
Posts: 844
Joined: 18 Oct 2006, 13:16

20 Oct 2008, 07:19

It is no problem when I can use the folders like: gallery/?contentfolder=content/public/ and gallery/?contentfolder=content/private/.

I can also make a hidden directory in the public gallery, but it is not possible to open a hidden directory, even when I know the correct link?
Rene
http://www.globetrotternet.nl/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

20 Oct 2008, 07:41

globetrotter wrote:I can also make a hidden directory in the public gallery, but it is not possible to open a hidden directory, even when I know the correct link?
Hidden folders are basically only hidden from the menu. If someone knows the path/location, they could open it through the gallery of by direct URL in browser.
 
User avatar
globetrotter
Imagevue Expert
Topic Author
Posts: 844
Joined: 18 Oct 2006, 13:16

20 Oct 2008, 08:00

I have made a hidden folder in my test gallery, but I can not see this pictures when I go to this url: http://test.globetrotternet.nl/#/content/Tests/Babes/ Or do I something wrong?

EDIT: There are 2 subdirectories in this hidden directory. When I go to: http://test.globetrotternet.nl/#/conten ... 20Brookes/ I can see the pictures.
Rene
http://www.globetrotternet.nl/
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

20 Oct 2008, 09:16

While this is obviosly a bug, maybe you misunderstood the contentfolder idea, actually it should be changed only if you dont like default content/ foldername.
firedev.com
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

20 Oct 2008, 15:06

Okay, here is the explanation:

"Contentfolder" in Config supposed to be of string type for you to type-in new name for "content/" folder in case you don't like the name of it. And it has to be first level sub-folder.

Imagine having one gallery showing unrelated galleries in different pages of your site. So you just point each swf to correspoding folder under "Contentfolder" and you having 2 separate gallerys.

Am I right you want to have 2 separate config files or something?
yoursite.com#/content/travel/Thailand/
yoursite.com#/content/pictures/Wedding/

PS. Actually if we implement some multiple "Contentfoldersnow" I can envision URLs like:
yoursite.com#/travel/Thailand/
yoursite.com#/nature/Animals/

I promise we'll come back to that question after release.

For now I changed default contentfolder type to string (how it supposed to be) and updated v2.zip in downloads. And we also fixed this bug, but what was your original plan, how you want to use it?
firedev.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

21 Oct 2008, 02:58

globetrotter wrote:I have made a hidden folder in my test gallery, but I can not see this pictures when I go to this url: http://test.globetrotternet.nl/#/content/Tests/Babes/ Or do I something wrong?

EDIT: There are 2 subdirectories in this hidden directory. When I go to: http://test.globetrotternet.nl/#/conten ... 20Brookes/ I can see the pictures.
According to the scripts, there are no images in the first folder link:
http://test.globetrotternet.nl/?a=files ... sts/Babes/

There are however many image the the second folder link:
http://test.globetrotternet.nl/?a=files ... 20Brookes/

That explains why the first link shows nothing, while the second link shows photos.
 
User avatar
globetrotter
Imagevue Expert
Topic Author
Posts: 844
Joined: 18 Oct 2006, 13:16

21 Oct 2008, 02:59

pain wrote:For now I changed default contentfolder type to string (how it supposed to be) and updated v2.zip in downloads. And we also fixed this bug, but what was your original plan, how you want to use it?
I just want to have more contentfolders (like in V1), so I can make more 'seperate' galleries on one webadres. So I can have a public gallery and a private gallery, where normal viewers can not see my private pictures.
Rene
http://www.globetrotternet.nl/
 
User avatar
globetrotter
Imagevue Expert
Topic Author
Posts: 844
Joined: 18 Oct 2006, 13:16

21 Oct 2008, 03:03

mjau-mjau wrote:
globetrotter wrote:I have made a hidden folder in my test gallery, but I can not see this pictures when I go to this url: http://test.globetrotternet.nl/#/content/Tests/Babes/ Or do I something wrong?

EDIT: There are 2 subdirectories in this hidden directory. When I go to: http://test.globetrotternet.nl/#/conten ... 20Brookes/ I can see the pictures.
According to the scripts, there are no images in the first folder link:
http://test.globetrotternet.nl/?a=files ... sts/Babes/

There are however many image the the second folder link:
http://test.globetrotternet.nl/?a=files ... 20Brookes/

That explains why the first link shows nothing, while the second link shows photos.
I can make a textpage with links to the picture directories in the directory: http://test.globetrotternet.nl/?a=files ... sts/Babes/
Rene
http://www.globetrotternet.nl/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

21 Oct 2008, 03:13

globetrotter wrote:I can make a textpage with links to the picture directories in the directory: http://test.globetrotternet.nl/?a=files ... sts/Babes/
Not quite sure what you mean ...

Anyway, I don't understand why you can't use the "contentfolder" parameter. For example, you have two galleries:

content/public/
content/private/

For the public gallery, make your url:
gallery/?contentfolder=content/public/

For the private gallery, make your url:
gallery/?contentfolder=content/private/

Both those galleries will display a menu created from subfolder of each contentfolder. To make sure the "private" folder doesn't display when someone accesses "gallery/?contentfolder=content/", you can set the "private" folder to hidden, and it won't display in the menu.

Moreover, if you don't want to display url parameters "?contentfolder=content/private/", you can make a copy of the "index.php" source, call it "private.php", and embed the contentfolder directly in the document:
Code
var flashVars = {
	contentfolder: 'content/private/', ...
 
User avatar
globetrotter
Imagevue Expert
Topic Author
Posts: 844
Joined: 18 Oct 2006, 13:16

21 Oct 2008, 03:30

mjau-mjau wrote:
globetrotter wrote:I can make a textpage with links to the picture directories in the directory: http://test.globetrotternet.nl/?a=files ... sts/Babes/
Not quite sure what you mean ...
Sorry...I did copy the wrong link. I made a textpage in a hidden directory over here: http://test.globetrotternet.nl/#/content/Tests/Babes/
mjau-mjau wrote:Anyway, I don't understand why you can't use the "contentfolder" parameter. For example, you have two galleries:

content/public/
content/private/

For the public gallery, make your url:
gallery/?contentfolder=content/public/

For the private gallery, make your url:
gallery/?contentfolder=content/private/

Both those galleries will display a menu created from subfolder of each contentfolder. To make sure the "private" folder doesn't display when someone accesses "gallery/?contentfolder=content/", you can set the "private" folder to hidden, and it won't display in the menu.

Moreover, if you don't want to display url parameters "?contentfolder=content/private/", you can make a copy of the "index.php" source, call it "private.php", and embed the contentfolder directly in the document:
Code
var flashVars = {
	contentfolder: 'content/private/', ...
Yes, I can use the contentfolder parameter! But it did't work in a earlier version. I will try it again later.

And I can also use the option with the hidden folder.

Thank you for all the help and information!
Rene
http://www.globetrotternet.nl/
 
Gizmo
Posts: 21
Joined: 19 Feb 2009, 12:19

23 Aug 2010, 03:39

mjau-mjau wrote:Moreover, if you don't want to display url parameters "?contentfolder=content/private/", you can make a copy of the "index.php" source, call it "private.php", and embed the contentfolder directly in the document:
Code
var flashVars = {
	contentfolder: 'content/private/', ...
Hey!

I know this is an old thread, but I can't manage to do that...
How am I supposed to embed it exactly?

I'm sure I did it wrong, but here is what I tried:
Code
<?php include_once('imagevue.php');

var flashVars = {
   contentfolder: 'content/private/';
}
?>
http://www.trouni-photography.net