Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 23. Nov 2024, 01:10

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Custom Config
PostPosted: 30. Jun 2010, 08:36 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Hi

Is it possible to create a custom config just for one album and leave my_config as the global for everything else? I have one album that needs to be set up different to all the rest!

Cheers
Si

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: 30. Jun 2010, 09:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
sure - config.php in a folder. I use this for my demos where each folder has a different configuration.

See http://www.tinywebgallery.com/en/faq.php#h17

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Jun 2010, 09:32 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Perfect . Cheers Michael

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 16:18 
Offline

Joined: 21. Apr 2007, 14:54
Posts: 12
Hi,

I'm trying this but the config.php file paramaters seems to get ignored. I have a large collection of folders and people login to see one private folder I get a blank page with a page selector and only one folder showing up on page 2 of 5. So I figured is I set the $menu_x = 20; $menu_y = 20; it would get rid of the page selector... but the config.php in the folder seems to be ignored...

What am I doing wrong?

Thanks
Lars

_________________
There is no spoon;


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 16:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
are you sure you mean folders and not thumbnails?

20x20 would be to big for any screen.

- Michael


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 16:42 
Offline

Joined: 21. Apr 2007, 14:54
Posts: 12
I have 2 diffrent way people view my galleries a public and a private. On the private each user sees one folder with their photos, the problem is that after they have logged in they get a page selector but can't see their folder because it is listed on page 2 or later... I tried to change the main config to 20 and 20 and that solved the problem, but messed up the public side. In the private area there will be over 100 folders, but only one or two visible to any user at any time. So I wanted to use the config.php in the root folder of the private albums. But it just ignores it :(

Very fast reply, thanks :)

Lars

_________________
There is no spoon;


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 16:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
do you mean visible or accessable?

Because if oyu have so many folder maybe the user login mode is the better choice for you. There you can specify that users only see their folders.

And I just tested
$menu_x = 4
$menu_y = 20;
in a config.php in a folder an this works fine.

- Michael


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 16:55 
Offline

Joined: 21. Apr 2007, 14:54
Posts: 12
Sorry, I guess that was unclear, I'm not seeing all the folders, so page 1,3 are blank after client logs in, but one folder is listed on page two. I guess somehow the system adds invisible folders and the page selector. So if I increase the number of folders shown it all ends up on one page and only the folder they have access to is show. But if I put the config.php file in the root folder it doesn't seem to make the change...

_________________
There is no spoon;


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 17:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
do you use the user login mode?
Please try to give me all details.

- Michael


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 17:21 
Offline

Joined: 21. Apr 2007, 14:54
Posts: 12
It's a long time since I have set this one up. When people log in they are asked for user name and password. I also have 2 "root" folders, same install but 2 albums.

Have a look here #removed_broken_link

user: stampe
pass: lars77

_________________
There is no spoon;


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 17:28 
Offline

Joined: 21. Apr 2007, 14:54
Posts: 12
And this is my_config.php

$default_language = 'da';
$autodetect_maximum_thumbnails=true;
$thumb_cellpadding = 2;
$thumb_cellspacing = 2;
$show_number_of_pic = false;
$show_border='false';
$enable_frontend_upload = false;
$enable_download = false;
$enable_direct_download=false;
$enable_album_tree = false;
$show_tips_overview=false;
$show_tips_thumb=false;
$show_tips_image=false;
$show_captions = false;
$enable_counter=false;
$show_counter=false;
$show_today_counter = false;
$enable_counter_details=false;
$enable_counter_details_by_mouseover=false;
$hide_bottom=true;
$show_count_views = false;
$skip_thumbnail_page = false;
$activate_lightbox_thumb=true;
$activate_lightbox_thumb_full=true;
$activate_lightbox_image=true;
$use_original_on_thumbspage=true;
$enable_drop_shadow=false;
$resize_only_if_too_big=true;
$show_navigation_buttons_on_bottom=false;
$multi_root_mode=true;
$user_login_mode=true;
$user_login_mode_hide_gal=true;
$print_text_original=true;
$print_watermark = true;
$print_watermark_original=true;
$position= 5;

_________________
There is no spoon;


Top
 Profile  
 
 Post subject: Re: Custom Config
PostPosted: 19. Oct 2010, 18:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
o.k. - i have changed this now on my local machine. I was only counting the folders for the pager. Not the visible ones only. I'll make a small update till tomorrow.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy