Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:22:30 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 [2] 3   Go Down
Print
Author Topic: New Module: Foldergallery  (Read 7673 times)
RonK

Offline Offline

Posts: 81


WWW
« Reply #25 on: July 07, 2009, 12:48:29 PM »

I have visited your website and it's picture gallery.
Your website is (and don't feel insulted) poory coded. All style sheets are in the source, not at one single spot, but all over the place. The page with the pictures has got many pictures to load too. Also your layout is made by tables, cells and rows and i have a feeling that the server of your webhost is responding a bit slow sometimes.
So when you click on a picture in the gallery, the page simply isn't ready loading with all needed files.
And the page definitely need the javascript file ...modules/foldergallery/scripts/shutter/shutter.js
This file is located at line 307 of the page. The whole page has 1545 lines of code...
That is really a lot.

So a short answer to your question, why the picture shows in an overlay after seeing 2 or 3 or 4 photos...
The javascript isnt loaded while you are allready started watching the pictures.

Hi D72,

i am not insulted. I asked for comments/help, and you took the time to do so. This will help me to improve my website(s).
Maybe I am mistaken, but I thought using WebsiteBaker would install the stylesheets in the right place. I looked at the source and see what you mean. I believe the stylesheets are included by the Foldergallery module. Maybe "jrast" can say something about that?!

The java shutter.js is at the right location and is loaded (eventually wink ).

Indeed the page is long because a lot of pictures are included per page.
You also mentioned the page is built with tables, but that is "decided" by the Foldergallery module.

I checked the issue again and indeed it has something to do with loading java and the rest of the page. When I wait untill the page is completely loaded, the pictures show up like they should.

When you have some additional hints and tips how to improve, please let met know.

Best regards,
Ron
Logged

RonK

Offline Offline

Posts: 81


WWW
« Reply #26 on: July 07, 2009, 12:52:30 PM »

that's absolutly true! JavaScript don't work till the whole page is loaded!

Hi jrast,

thank you for your answer. I already replied to D72 about it. You are both right.

Is there a way to load the page quicker (other than make it smaller) or load the javascript earlier?

Best regards,
Ron
Logged

D72

Offline Offline

Posts: 239


« Reply #27 on: July 07, 2009, 01:20:33 PM »

i'm in a hurry and have to go...
but to load the javascript sooner as it does right now you can remove the javascipt line from foldergallery into your template. and place it somewhere in the <head></head>
Mostly below the title. If that doesnt work, try to place your javascipt line on the very bottom of your template.
Just above the </body> tag.
To increase the load speed... there are a lot of things that need attention. it's not just a matter of "playing an hour" with it... a lot of things could always be better.
And WB it selfs isn't that super duper if youre talking about valid temapltes, speed loading content etc.
But it's acceptable. For the javascript, try to do what ive said. Maybe itll help.
Logged
RonK

Offline Offline

Posts: 81


WWW
« Reply #28 on: July 07, 2009, 01:44:24 PM »

Hi D72,

thanks for the feedback. I will try it.

Yes, I am aware that CMS's are not so fast in general. I maintained a website (www.tentdagenlopik. nl)that changes a couple of times during the summer, and information was delivered in Word format. When you convert Word to a webpage it becomes a mess. So I tried Joomla but find it is slow and has even more overhead than websitebaker. WebsiteBaker was the solution for that website, and all information was directly entered into the pages by the administrator of the site.

Because I had some spare time, no having to do the tentdagenlopik.nl webiste, I decided to do something with my own and websitebaker.
I like it because it has a small, but active community. Also it is still possible to add some of my own PHP code, when necessary. I used to code other websites directly into PHP (www.wdb-transport.nl and www.gereformeerdeke rklopik.nl); I know you are Dutch too, so you can understand what is on the sites.

I saw your Studio 25 is not using WebsiteBaker too. How are you involved, other than interest?

Best regards,
Ron
« Last Edit: July 07, 2009, 01:58:25 PM by RonK » Logged

D72

Offline Offline

Posts: 239


« Reply #29 on: July 07, 2009, 09:46:08 PM »

Hi Ron, please call me Dave Smiley
I also knew you are Dutch... so yes, i understand what the websites is saying you've mentioned.
I agree with your cms experiences. I was and i think i am still in there too.
I am always searching for simple, yet active communities behind a cms system.
I have tried everything i guess. And i men really everything.
I use another cms system wich is called CuteNews.RU. It's a re-build of the original CuteNews.
But CuteNews.RU is totally rebuild, on the platform of CuteNews. And believe me, it's really a stunning system.
It's in my opinion the easiest way to create a website including a cms system. Allthough the community is active, the creators of CuteNews.RU (these days better know as CNR) are a bit lack with progressing the CNR system.
They have to many cms side projects beside CNR. And that's a shame. So there are not that many plugins/modules.
And that's a shame. That made me deside to search for a cms beside CNR. In the first place i was trying CMS Made Simple. But that cms is bigger in size and not as friendly as WB is. So WB is from now on my second cms i use for projects as it also has a nice collection of modules and hacks wich i really like.
Also, i want to use a system, that clients can use without any explanation of me. And WB is definitely easy to understand for a client. I just don't have the time to spend hours to explain how the cms is working/
Personally i don't have php knowledge. When it comes to real php scripting, i am more like the cut and paste and rebuild an existing script.
Yes, the studio25 website is driven by CNR. All of my websites are running on CNR. And i will continue using it.
If clients have special things they want on a site i will using WB. But i am really in the learning stage of using WB.
There are still some issues that really suck about WB. But i'm hoping that they will be available in the near future or will be added in WB 2.8 wich is coming... soon i hope.
For now i am satisfied about he possibilities of WB.
What do you mean exactly by, how i am involved? I'm not really sure what you mean by that.

..that was a long reply... and also very off topic...
sorry about that

gr
Dave
« Last Edit: July 08, 2009, 09:18:42 AM by D72 » Logged
D72

Offline Offline

Posts: 239


« Reply #30 on: July 08, 2009, 12:17:14 AM »

Freddy Mercury...
Is there any progress with FolderGallery?
I am really looking forward and curious if there is any.

gr
Dave
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #31 on: July 08, 2009, 08:38:06 AM »

@dave

Wanna remember you that this forum here is for to talk about websitebaker. Advertising other cms as you have done in the post above is not really appreciated. Hope you will succeed in testing WB and as soon as possible switch all your pages to this fantastic system.

Matthias
Logged
RonK

Offline Offline

Posts: 81


WWW
« Reply #32 on: July 08, 2009, 08:48:59 AM »

I agree with your cms experiences. I was and i think i am still in there too.
I am always searching for simple, yet active communities behind a cms system.
I have tried everything i guess. And i men really everything.

Me too. I have tried several, but none I have tried have the simplicity of ease of WB. And it is reasonable fast (compared to others I used).

Quote
I use another cms system wich is called CuteNews.RU. It's a re-build of the original CuteNews.
OK, I'll take a look at it. The websites you designed look good.
Quote
So WB is from now on my second cms i use for projects as it also has a nice collection of modules and hacks wich i really like.
Also, i want to use a system, that clients can use without any explanation of me. And WB is definitely easy to understand for a client. I just don't have the time to spend hours to explain how the cms is working.
Exactly. And that is the strong point of WB. Ease of use. The www.tentdagenlopik. nl website was filled with data within a couple of days, and I only had to explain how you can add pictures by first uploading them to the media directory. She actually said: "when you know MS-Word, you can use WB".
I maintain also a church website which is completely written in PHP. But I have to spend to many time on it. So, I am looking for a CMS (probably WB) system which people can use to enter their own information per section.
Quote
Personally i don't have php knowledge. When it comes to real php scripting, i am more like the cut and paste and rebuild an existing script.
That is how it starts. And then you start to change things and eventually you write your own code. But it is a lot of work to write your own backend for the administrators of the website. And that is where a CMS comes in.
Quote
Yes, the studio25 website is driven by CNR. All of my websites are running on CNR. And i will continue using it.
If clients have special things they want on a site i will using WB. But i am really in the learning stage of using WB.
There are still some issues that really suck about WB. But i'm hoping that they will be available in the near future or will be added in WB 2.8 wich is coming... soon i hope.
What are your issues? The size of the code..., or styles being visible in the code?
I think the code is as good as the modules are.
Quote
For now i am satisfied about he possibilities of WB.
Me too.
Quote
What do you mean exactly by, how i am involved? I'm not really sure what you mean by that.
I ment; how are you using WB? I looked at your websites and could not find one that has been build with WB (or I was not looking good enough ;-0 ).
Quote
..that was a long reply... and also very off topic...
sorry about that
We talked about WB  grin
Quote
gr
Dave
Greetings, Ron
Logged

RonK

Offline Offline

Posts: 81


WWW
« Reply #33 on: July 08, 2009, 08:53:47 AM »

@dave

Wanna remember you that this forum here is for to talk about websitebaker. Advertising other cms as you have done in the post above is not really appreciated. Hope you will succeed in testing WB and as soon as possible switch all your pages to this fantastic system.

Matthias

Hi Matthias,

of course you are right.
But both of us do use WB. And it is good!
And by looking at other CMS's we might improve WB (or the others) with new features, ideas, modules etc.

We won't discuss further about it.

Best regards, Ron
Logged

D72

Offline Offline

Posts: 239


« Reply #34 on: July 08, 2009, 09:17:36 AM »

@dave

Wanna remember you that this forum here is for to talk about websitebaker. Advertising other cms as you have done in the post above is not really appreciated. Hope you will succeed in testing WB and as soon as possible switch all your pages to this fantastic system.

Matthias

Sorry, i understand what you're saying. allthough it was not my intention to promote other cms's
I'll have the links removed.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #35 on: July 08, 2009, 09:24:09 AM »

Hello,

-offtopic-
thanks for the fast reaction, appreciate it. WB 2.8 will come out soon and I'm pretty shure you will like all the new features and possibilitys.  grin. For your question about news-modul i will post you something in the other thread.
-end off offtopic-

lets come back to discussion about foldergallery

Matthias
Logged
D72

Offline Offline

Posts: 239


« Reply #36 on: July 08, 2009, 09:50:17 AM »

@dave

Wanna remember you that this forum here is for to talk about websitebaker. Advertising other cms as you have done in the post above is not really appreciated. Hope you will succeed in testing WB and as soon as possible switch all your pages to this fantastic system.

Matthias

Hi Matthias,

of course you are right.
But both of us do use WB. And it is good!
And by looking at other CMS's we might improve WB (or the others) with new features, ideas, modules etc.

We won't discuss further about it.

Best regards, Ron

I made a Dutch topic to continue our conversation as it's very offtopic. This topic is still about FolderGallery Wink

-> Click
Logged
D72

Offline Offline

Posts: 239


« Reply #37 on: July 08, 2009, 09:58:30 AM »

Hello,

-offtopic-
thanks for the fast reaction, appreciate it. WB 2.8 will come out soon and I'm pretty shure you will like all the new features and possibilitys.  grin. For your question about news-modul i will post you something in the other thread.
-end off offtopic-

lets come back to discussion about foldergallery

Matthias

No problem Matthias.
And i really, really curious about WB 2.8 features.
Is there any beta version available yet? I have tried to find a working link to a demo install but couldnt find any.
Is there any news you can mention about it's release date or progress state at the moment.
Maybe publishing a list with it's (new) features.
Things i concern and would like to see are truncated headlines, better and simple creation of seo urls (use without pages/posts/
But good to know that youre positive about it that it'll be released soon
If you're gonna reply my answer... we better do that in a different topic and maybe erase some replies in this one. There are to many offtopic replies i guess...
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #38 on: July 08, 2009, 11:23:56 AM »

And i really, really curious about WB 2.8 features.
Is there any beta version available yet?
Yes, in fact it's already a Release Candidate: http://project.websitebaker2.org/browser/trunk
Click on the little link on the center bottom of the page, that says "Zip Archive".

And don't forget to try the argos admin template you'll find in the templates section grin
« Last Edit: July 08, 2009, 11:25:31 AM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
jrast

Offline Offline

Posts: 315



« Reply #39 on: July 08, 2009, 06:09:53 PM »

Sorry, but in this moment i have not much time to develop the module.
Last week i desided that the next version will be for WB 2.8, because the actual version don't work with the new WB version. i'll re-code it totaly to get better code which is more flexible for new feautres. So, this will take some time, but the new foldergallery will be great!
Logged

- If life turns bad, just hang on! -
RonK

Offline Offline

Posts: 81


WWW
« Reply #40 on: July 09, 2009, 07:45:39 AM »

Sorry, but in this moment i have not much time to develop the module.
Hmm, I recognize it. So much fun to do, so less time.
Quote
So, this will take some time, but the new foldergallery will be great!

I can hardly wait. Take your time and the module will even be better than version 0.2 .

Goodluck, Ron
Logged

berta

Offline Offline

Posts: 11



WWW
« Reply #41 on: October 27, 2009, 01:27:05 PM »

I love your Foldergallery module and I already have it running on my site but I the one I downloaded is in German and unfortunately I have no idea... do you have an English version, or a way to change the titles to other languages (my site is in Turksih) . thanks a lot ! Berta
Logged

Berta
Vidar

Offline Offline

Posts: 36


« Reply #42 on: January 07, 2010, 11:09:17 AM »

Hey,
Foldergallery looks like just the thing I've been looking for. Unfortunately I'm stuck with a problem:

I put 6 folders with 2 images each to media /pics and folder gallery loaded those without a hitch. Those images were about 600x400 and 70k each, named location1image1.jpg location2image1 etc... Images were taken from a very old website that I'm redoing.

But I get a persistant error when trying to put more images to the gallery. I use picasa to shrink the images and I have tried 400x600, 800x600, 1024x768. After database resync I only get an error: Fehler beim Verzeichniss erstellen. With my awsome skills of german language (and a little help of google translate) I think it means "Failed to create directory".

The site is a test site that I'm building at my own apache server, so folder permission are not a problem. And after all, those first folder&images worked just fine.

Is there some guidelines for the size/resolution/filename of the images....

I'm at lost, but hoping to get this working cause folder gallery would suit my need perferctly!

Any help is hugely appreciated!
Logged
WebBird
Guest
« Reply #43 on: January 08, 2010, 10:43:14 AM »

I love your Foldergallery module and I already have it running on my site but I the one I downloaded is in German and unfortunately I have no idea... do you have an English version, or a way to change the titles to other languages (my site is in Turksih) . thanks a lot ! Berta

If you have v0.8, there's an Englisch language file in the "languages" folder you may translate into Turkish. Save it as TR.php into that folder.
Logged
WebBird
Guest
« Reply #44 on: January 08, 2010, 10:50:07 AM »

But I get a persistant error when trying to put more images to the gallery. I use picasa to shrink the images and I have tried 400x600, 800x600, 1024x768. After database resync I only get an error: Fehler beim Verzeichniss erstellen. With my awsome skills of german language (and a little help of google translate) I think it means "Failed to create directory".

The translation is correct.

The error is caused by functions.php, method generateThumb():

Code:
   if(!is_dir($thumbFolder)){
        $u = umask(0);
        if(!@mkdir($thumbFolder, 0777)){
            echo '<p style="color: red; text-align: center;">Fehler beim Verzeichniss erstellen</p>';
        }
        umask($u);
    }

Try to change that code to this:

Code:
   if(!is_dir($thumbFolder)){
        $u = umask(0);
        if(!@mkdir($thumbFolder, 0777)){
            echo '<p style="color: red; text-align: center;">Fehler beim Verzeichniss erstellen - Folder $thumbFolder</p>';
        }
        umask($u);
    }

This will show the folder that is going to be created. Make sure that it is a valid folder name. If it is, you may have a permission problem, or the folder is going to created as a subfolder of a non existing parent folder.

Let me know your findings. Wink
Logged
Vidar

Offline Offline

Posts: 36


« Reply #45 on: January 08, 2010, 01:42:03 PM »

Hey, thanks for the reply.
I changed the code, and the output was just "Fehler beim Verzeichniss erstellen - Folder $thumbFolder".

So I checked the file permissios once again, and finally found the problem. All the folders on my home testing server are created at the permissons: owner - root and root has all the read&write&modification privliges. I checked the folders and noticed that everything else is set as root but the thumbs folders created by the foldergallery are set for a group called "www-data". After manually creating thumbfolders with those permissions everything works.

This is somewhat strange 'cause I don't think I've changed anything on my system. I'm runnig Linux Mint (build on ubuntu) with Apache2 and php5.

Well, everything works on those permisson settings. I will have to check them again when I move the site to a live server.

Thank you for your help!
Logged
WebBird
Guest
« Reply #46 on: January 08, 2010, 02:34:23 PM »

I changed the code, and the output was just "Fehler beim Verzeichniss erstellen - Folder $thumbFolder".

Ooops, sorry, I missed the single quotes. rolleyes Variables are not resolved in that case. So here's a working code:

Code:
   if(!is_dir($thumbFolder)){
        $u = umask(0);
        if(!@mkdir($thumbFolder, 0777)){
            echo '<p style="color: red; text-align: center;">Fehler beim Verzeichniss erstellen - Folder '.$thumbFolder.'</p>';
        }
        umask($u);
    }

I checked the folders and noticed that everything else is set as root but the thumbs folders created by the foldergallery are set for a group called "www-data". After manually creating thumbfolders with those permissions everything works.

Folders and files created by a PHP Script running under Apache have the owner and group configured in the Apache httpd.conf. Take a look at the "User" and "Group" settings.
Logged
Vidar

Offline Offline

Posts: 36


« Reply #47 on: January 08, 2010, 04:38:38 PM »

Hmm, it still giving an error from time to time.

After updating the functions.php the error says that its actually trying to create a thumbs directory to a parent directory that has been deleted a while a go!  huh
But at the admin backend the folder structure is correct, there isn't any ghosts hanging around.

Can I "clear the cache" or something somehow... P
Logged
WebBird
Guest
« Reply #48 on: January 10, 2010, 06:41:08 PM »

There's no cache. Some basic settings are stored in the info.php. Also, take a look into your database. You should consider to uninstall and reinstall the module, too.
Logged
Paradontax

Offline Offline

Posts: 55



« Reply #49 on: February 16, 2010, 10:04:56 AM »

Hi,

U have made a very good gallery! TNX grin

But i'm having trouble with closing a picture under IE7 and 8. It will not close when you click on the red cross.
The picture is flickering and you have to close the whole browser.
Not everybody has dat problem only a few. could it be a cache or plugin problem?

Greetings,
Leo

Logged
Pages: 1 [2] 3   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!