phpDivinglog 2.2 development

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
TheULi
Posts: 40
Joined: Tue Dec 04, 2007 08:18
Location: Sottrum / Germany
Contact:

Post by TheULi » Sun Apr 27, 2008 20:20

Inferno wrote: LOL someone give me money so I can test it on wide screen :lol:

Since looking at your screenshot you have a widescreen, and when I look 1280x1024 and 1400x1050 I see no problem. Even looking at your gallery :)

Have to search for it
okay.. it's a notebook display with 1900x1200 ;-) very small.
I changed to 1280x1024.. but it's the same.
Diving Log 4.0.11, Suunto Vytec DS, phpDivingLog 2.2
++++++++++++++
Mein Online-Logbuch

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno » Mon Apr 28, 2008 12:31

This problem is the case only with firefox 2 and not with firefox 3, which I'm using....

Fix:

Code: Select all

===================================================================
--- divegallery.tpl     (revision 205)
+++ divegallery.tpl     (working copy)
@@ -54,7 +54,7 @@
     {/foreach}

 {if $page_numbers.total > 1}
-<table width="100%" cellspacing="0" cellpadding="0">
+<table style="clear: both;" width="100%" cellspacing="0" cellpadding="0">
     <tr>
            <td colspan="5" align="center">{$pager_links}</td>
     </tr>

TheULi
Posts: 40
Joined: Tue Dec 04, 2007 08:18
Location: Sottrum / Germany
Contact:

Post by TheULi » Mon Apr 28, 2008 15:32

you are the best!! :oops:
Diving Log 4.0.11, Suunto Vytec DS, phpDivingLog 2.2
++++++++++++++
Mein Online-Logbuch

TheULi
Posts: 40
Joined: Tue Dec 04, 2007 08:18
Location: Sottrum / Germany
Contact:

Post by TheULi » Sun Jun 29, 2008 18:13

Hi Rob,

i updated to the new dl 4.0.11 and change the directory-structur of my photos. Every dive has now an own folder on the server.

There´s a problem with the resizer. It went into a loop, because no thumbs are created.

path in the sql db:
pictures/tg0001/tg0001_01.jpg

i changed the path in the config.inc.php for all images to "images/"

regards
Uli
Diving Log 4.0.11, Suunto Vytec DS, phpDivingLog 2.2
++++++++++++++
Mein Online-Logbuch

TheULi
Posts: 40
Joined: Tue Dec 04, 2007 08:18
Location: Sottrum / Germany
Contact:

Post by TheULi » Fri Jul 18, 2008 14:10

@inferno:

Rob, do you have any ideas for that??

regards
Uli
Diving Log 4.0.11, Suunto Vytec DS, phpDivingLog 2.2
++++++++++++++
Mein Online-Logbuch

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno » Fri Jul 18, 2008 17:43

missed that one, will look at it.

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno » Tue Aug 19, 2008 11:23

Since phpmydatagrid stopped development I'm trying a new version of grid system.

What do you think of this layout:
http://rob.lensen.nu/divelog_dev/index.php/list
(only divelog is working yet)

Any comments?

TheULi
Posts: 40
Joined: Tue Dec 04, 2007 08:18
Location: Sottrum / Germany
Contact:

Post by TheULi » Tue Aug 19, 2008 11:39

Inferno wrote: Any comments?
i think this grid is a good replacement.
Diving Log 4.0.11, Suunto Vytec DS, phpDivingLog 2.2
++++++++++++++
Mein Online-Logbuch

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno » Mon Oct 20, 2008 16:36

I found some spare time so I continued on 2.2 you can see the results here:

http://rob.lensen.nu/divelog_dev/

- New grid implemented
- Highslide upgrade to use slideshow
- Divelog overview changed to show if a dive has photos
- lots other fixes

If you really want to test, checkout latest trunk.

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno » Fri Oct 31, 2008 14:51

Ok time for more testing by other people.

Beta 1 for phpDivinglog 2.2 can be downloaded here:

2.2 Beta 1 tar.gz
2.2 Beta 1 zip

Live version can be viewed here: http://rob.lensen.nu/divelog_dev/index.php

Changelog:
- Moved a bunch of settings to settings.php since those can confuse only and makes updates more easy
- Changed table_prefix implementation, reduces lot of function calls
- Divegallery with Highslide implementation
- Photo's can be resized by phpDivinglog
- Highslide implemented for displaying photos
- Make backgroundcolor of profile configurable
- W3C strict compliant
- Switched to other grid implementation
- In the dive overview a camera icon is displayed if dive has photos

Many other things which I'm forgotten!

As you can see in the live version it is fully integrated in Wordpress. See the files header.php and footer.php for an example.

TODO The different languages need to be updated...

Please test and report any problems[/b]

divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog » Fri Oct 31, 2008 17:41

Great work Rob! You can send me the German language file so I can make the needed translations.

Sven

TheULi
Posts: 40
Joined: Tue Dec 04, 2007 08:18
Location: Sottrum / Germany
Contact:

Post by TheULi » Mon Nov 03, 2008 13:56

Hi Rob!

so, I've tested the new version.

I found something strange. After clicking the dive gallery this error appears.

Code: Select all

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'images/thumb_pictures/tg0001/tg0001_01.jpg' for writing in /homepages/46/d13485098/htdocs/divelog/includes/image-resize.php on line 331
then I manually create the directory "thumb_pictures" and "tg0001" and so on for all my dives.
I think it is useful that phpdivelog creates the directories, it needs :)

cu
Uli
Diving Log 4.0.11, Suunto Vytec DS, phpDivingLog 2.2
++++++++++++++
Mein Online-Logbuch

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno » Mon Nov 03, 2008 14:19

TheULi wrote:Hi Rob!

so, I've tested the new version.

I found something strange. After clicking the dive gallery this error appears.

Code: Select all

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'images/thumb_pictures/tg0001/tg0001_01.jpg' for writing in /homepages/46/d13485098/htdocs/divelog/includes/image-resize.php on line 331
then I manually create the directory "thumb_pictures" and "tg0001" and so on for all my dives.
I think it is useful that phpdivelog creates the directories, it needs :)

cu
Uli
Will have a look on that, found also that the photo icon was not added to subversion

Since this file is missing:
http://www.thomas-alfeld.de/divelog/ima ... o_icon.gif

You can download it here (till next release):
http://rob.lensen.nu/divelog_dev/images/photo_icon.gif

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Post by Inferno » Mon Nov 03, 2008 15:12

divinglog wrote:Great work Rob! You can send me the German language file so I can make the needed translations.

Sven
http://rob.lensen.nu/WebSVN/filedetails ... nglish.php

This file needs to be translated, we already have:

portuguese.php
romanian.php
simplified-chinese.php
spanish.php

For grid stuff.

Missing for the main:

german

$_lang['dive_gallery'] = "Dive Gallery";
$_lang['dive_gallery_linktitle'] = "Show the Dive Gallery";

Danish needs some work as well.

divinglog
Site Admin
Posts: 5090
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog » Sat Nov 08, 2008 17:10

I've sent you the german.php file with the translation. Here are the 2 others you've posted above:

$_lang['dive_gallery'] = "Tauchgangsgallerie";
$_lang['dive_gallery_linktitle'] = "Tauchgangsgallerie anzeigen";

I'm not sure if this is a suitable translation. Are these for a photo gallery (photos attached to dives?)

Post Reply