Welcome, Guest. Please login or register.
March 21, 2010, 03:06:00 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
110596 Posts in 15971 Topics by 9314 Members
Latest Member: Linuxkommunist
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  New Version of Gallery
Pages: [1] 2 3 ... 9 Go Down Print
Author Topic: New Version of Gallery  (Read 53774 times)
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« on: July 17, 2005, 12:37:13 PM »

After there occured different Bugs in Gallery-Modul wich are described

here http://www.websitebaker.org/2/forum/index.php?topic=688.msg4159#msg4159,
here http://www.websitebaker.org/2/forum/index.php?topic=666.msg4031#msg4031
here http://www.websitebaker.org/2/forum/index.php?topic=1199.msg7254#msg7254
Update:
here http://www.websitebaker.org/2/forum/index.php?topic=1201.msg7278#msg7278
and the wrong search table entries, described in Bug Tracker from WB 2.x

I've decided to create a Gallery-Modul that includes all this bugfixes. This Module resolves the following Bugs:

-- .../pages/pages/... problem (thanks to Attila)
-- Error when uploading .jpg Files (thanks to Quinto)
-- Number of pictures at second line (thanks to Quinto)
Update:
-- previous  link goes to first image (thanks to Raoulduke)
-- wrong Search Table Entries (thanks to Widlund)(changes in install.php)
-- uninstall the Modul deletes no Database Entries (changes in uninstall.php)
-- upload a image without a title causes a Redirection to a non existing file. (changed line 40 and 134 of save_image.php)

Added:(18.07.2005)
-- 100% Multilanguage Support. Look at language.php in /modules/gallery
Added: (21.07.2005)
-- png Support (thanks to Raoulduke). Look here for more Information
-- Bugfix with non existing search tables (thanks to Raoulduke). Look here for more Information
Added: (06.08.2005)
-- changed images per page now as a fill in. Look here for more Information

What else have to be done?
When you uninstall the modul, the folders /pages/gallery and /media/.gallery are not deleted. The Attempt to delete this folders with rm_full_dir in uninstall.php causes an error. You also normally don't have the rights to delete this folders with your ftp-programm. I think this is because you are not the owner of a file or folder which is generated from a php-script. Maybe if you have give chmod777 to your WB-Installation before installing this modul, you have the rights to delete this folders. For more information please look here.
« Last Edit: November 07, 2008, 01:09:34 PM by ruebenwurzel » Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
Hans

Offline Offline

Posts: 498


« Reply #1 on: July 17, 2005, 02:26:29 PM »

You guys are great!
Hans
Logged

Hans - Nijmegen - The Netherlands
raoulduke

Offline Offline

Posts: 49


« Reply #2 on: July 17, 2005, 03:18:06 PM »

Thanks a lot for this version, it works really well, but I noticed one bug: the Previous link always goes to the first image in the gallery. Is this intended (I think it should go to the previous image instead of the first)?

Edit: possible fix: change the ASC in line 224 in view.php to DESC, I think that should work. What do you think about that? Could you update the module with the fix Smiley ?
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
quinto

Offline Offline

Posts: 31


WWW
« Reply #3 on: July 17, 2005, 06:07:05 PM »

Quote from: raoulduke
Edit: possible fix: change the ASC in line 224 in view.php to DESC, I think that should work. What do you think about that? Could you update the module with the fix Smiley ?


Greaaat Tongue i hope ruebenwurzel will quickly include this change in the new version of the gallery module.
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #4 on: July 17, 2005, 09:01:36 PM »

@raoulduke

Thank you for the fix. Works great. Cheesy  I have included it in the new gallery-modul and I also have updated my first thread.
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
wwwMARKLEYcouk

Offline Offline

Posts: 287



WWW
« Reply #5 on: July 18, 2005, 01:34:21 PM »

excellent fix thanks Smiley
BUT
my images wont display Sad i'm using windows and cos the name of the gallery folder is ".gallery" it wont display Sad must be something to do with windows directory cos you cant create a folder with a "." at the start. which files do i need to edit to stop this from happening cos my images work with the "." in the folder name.
Logged

http://www.markley.co.uk
webhosting packages available
fienieg
Guest
« Reply #6 on: July 18, 2005, 03:09:37 PM »

Thanks ruebenwurzel it works great now!
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #7 on: July 18, 2005, 04:33:36 PM »

@mysticfreeman
you mean that you don't see your images in the Mediasection from Admin-Panel? On your Webpage you see the Images?

Ryan wrote this modul and I think he know, why he set the images in a path with a "." at the beginning. So when the modul works, why you wanna change this?

If you wanna try it with another path (without "." at the beginning), look at the code from modify_image.php and save_image.php. There you find on different places ".gallery".
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
raoulduke

Offline Offline

Posts: 49


« Reply #8 on: July 18, 2005, 07:31:16 PM »

The gallery now works great, I am already thinking to move over because it's now adapted to my needs and all bugs I could find are ironed out. I have one last, big, request: would it be possible to add PNG support to the gallery, so that images can also be posted in PNG format?

I use PNGs an awful lot for my program screenshots and I can't really find the time to add PNG support to the gallery myself anytime soon. Are there any takers? It would really be fantastic if someone'd do this!
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #9 on: July 18, 2005, 08:19:27 PM »

For my German Websites I have added a 100% multilanguage Support. The Gallery-Modul now have Version-Number 1.5 . In this Version there is a new file "language.php" in modules/gallery Folder. There are only two entries for options in the admin Panel. All other changes works with the default Language files.

I've updated the first post of this thread.

Have fun  Cheesy
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
jschor

Offline Offline

Posts: 110


« Reply #10 on: July 18, 2005, 09:05:22 PM »

I tried to install version 1.5 of the gallery module. According to wb the installation is succesful but it does not show up in the pull down menues where you can choose the required module.

Another item is that i set world writeable options in settings, but now it is not possible to reset this. when i empty the box (v) wb says saved succesfully but when i look i hasn't changed.

I hope you can help me.
Logged
Argos
Forum administrator
*****
Offline Offline

Posts: 1350


WWW
« Reply #11 on: July 18, 2005, 11:39:24 PM »

Like the guestbook, contact form and many other modules, this gallery is nice, but too rudimentary to use on professional client sites. For the gallery I have this wishlist for rather important options:
- option to have the picture open in a popup when clicking on the thumbnail
- to be able to view the thumbnails in the admin
- to automatically resize source pics to final size, that you can set in the admin like you can do with thumbs
- to be able to create groups

Don't get me wrong, I really appreciate the work that is done voluntarily by all the coders involved in WSB, but I feel many modules just lack the professionalism that is needed for paying clients. I like the core WSB, but it's a pity I still need to use other scripts in wrapper modules.
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl/portfolio (mostly WB sites)
----------------------------------------------------------------
Please don't request personal support, use the forums!
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #12 on: July 19, 2005, 07:43:26 AM »

@jshor
If installation was successful and you don't see it in the pull down menues, maybe you have to do a browser refrech to got the newest Site from the Server. The same seems to be with your settings Window. You also can delete your Browsers cache. Hope this helps.

@Argos
that's are all good ideas and I'm according you, that if this would be implemented, the gallery-modul got a realy great Modul. But I'm not a programmer, I only can put things together. So I hope some of the PHP-Gurus could do this.
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
wwwMARKLEYcouk

Offline Offline

Posts: 287



WWW
« Reply #13 on: July 19, 2005, 09:33:12 AM »

@ruebenwurzel
On the website itself they dont display Sad im thinking it may simply be the fact that im running on a windows machine but dont know. now that you meantion it though i cant see the folder in my media admin section either but it IS there..

I have modified the files save_image.php, view.php and modify_image.php by taking out the "." in the gallery folder name. All works fine now for me on windows environment and the gallery media files shows in the media section..

was very strange as the ".gallery" was present, images were present inside the folder and all file permissions were set. smiply put though, the file would not show in a browser, kept saying that the file was not available.

anyway, nice module Smiley
Logged

http://www.markley.co.uk
webhosting packages available
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #14 on: July 19, 2005, 02:02:48 PM »

@mysticfreeman
I've tested the modul on a winxp, Apache, Mysql, PHP machine and it works with ".gallery". Did you use IIS ?. However, when it works, it is ok. Look at delete_image.php,  there are some ".gallery" entries too.
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
wwwMARKLEYcouk

Offline Offline

Posts: 287



WWW
« Reply #15 on: July 19, 2005, 02:08:24 PM »

yes i am using IIS5.1 with php installed and mysql (obviously Cheesy) but the ".gallery" simply will not work for me for some reason Sad

i shall take a look at the delete_image.php too thanks Smiley
Logged

http://www.markley.co.uk
webhosting packages available
raoulduke

Offline Offline

Posts: 49


« Reply #16 on: July 19, 2005, 06:44:08 PM »

OK, if everyone promises to not touch the module until thursday evening I will try to add PNG support myself and maybe I'll pour in some other fixes / features as well. So, do we have a deal?

I'm not promising anything but I don't want any duplicate work, so I'm asking in advance.
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #17 on: July 19, 2005, 07:06:06 PM »

I promise  Cheesy  Cheesy  Cheesy
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
quinto

Offline Offline

Posts: 31


WWW
« Reply #18 on: July 19, 2005, 09:38:31 PM »

OK i promise too...
Logged
raoulduke

Offline Offline

Posts: 49


« Reply #19 on: July 20, 2005, 12:54:41 PM »

OK, I will only get to uploading the modules this evening, but I'd like to let you know in advance that PNG support is added and it's working perfectly. Just so you know Smiley
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
raoulduke

Offline Offline

Posts: 49


« Reply #20 on: July 20, 2005, 06:59:46 PM »

Excuse me for the double post, but here ya go, download the module with PNG support from the Fools Gold download page:
http://www.ffnn.nl/pages/projects/fools-gold/downloads.php

I hope you enjoy this addition as much as I do!
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #21 on: July 21, 2005, 12:06:34 AM »

Your great raoulduke.  Cheesy

All works very well now. I've updatet my first post, so everyone can enjoy your addition.

Keep on rockin
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
raoulduke

Offline Offline

Posts: 49


« Reply #22 on: July 21, 2005, 08:27:42 AM »

Hey - while testing yesterday evening I found out that the search function broke? Anyone care to take responsibility for the fact that there's some non-existing tables and columns in the search definition? I'll update my module today and post again when it's fixed - no need for anyone else to do this as I've got it done already, just waiting to upload it.

The non-existing tables are something like gallery_groups and gallery_comments and the columns are images.short and images.long or something, which should be "title" and "description". Anyway, I've got things under control and'll upload it later today.

Update:
I finished the packaging and retested the search function, it doesn't break anymore, you can get it from (version is 1.6.1):
http://www.ffnn.nl/pages/projects/fools-gold/downloads.php
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
jschor

Offline Offline

Posts: 110


« Reply #23 on: July 25, 2005, 01:48:14 PM »

i tried to install version 1.6.1 of the gallery module (by the way, does it show up in the pull down menu as Image Gallery?) and i get the following error message when i want to change the settings and some simular when i want to add an image. Any idea?

Warning: main(/home/schor/domains/hjvisuals.nl/public_html/wb/modules/admin.php): failed to open stream: No such file or directory in /usr/home/schor/domains/hjvisuals.nl/public_html/wb/modules/gallery/modify_settings.php on line 27

Warning: main(/home/schor/domains/hjvisuals.nl/public_html/wb/modules/admin.php): failed to open stream: No such file or directory in /usr/home/schor/domains/hjvisuals.nl/public_html/wb/modules/gallery/modify_settings.php on line 27

Fatal error: main(): Failed opening required '/home/schor/domains/hjvisuals.nl/public_html/wb/modules/admin.php' (include_path='.:/usr/local/lib/php') in /usr/home/schor/domains/hjvisuals.nl/public_html/wb/modules/gallery/modify_settings.php on line 27
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #24 on: July 25, 2005, 02:40:39 PM »

hmm

please look at your modules directory. There must be a "admin.php". The error you have is, that this requiered File is not been found.

If there is no "admin.php" in modules directory look at the original WB files and upload it with your ftp-programm.

Hope this helps
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
Pages: [1] 2 3 ... 9 Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!