phpDivingLog

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Re: Dutch translation for phpDiveLog

Post by Inferno » Thu Jul 26, 2007 08:59

Nameless wrote:
Inferno wrote: Current devopment looks like this:
http://rob.lensen.nu/divelog_dev/
Well, you asked for opinions earlier and quite frankly, I don't like the new datagrid. :oops:
Comments are no problem, that's what I'm asking for and without comments I will continue what I think is best.
Not only will it be harder to maintain a single theme throughout the complete site, but it makes one page look bulky and all other pages delicate.
Can you explain this one?
If you look on this page, you can see the table integrated: http://rob.lensen.nu/duiken (not complete yet, but just to give you an idea)
I really liked the original simple layout and adding another framework (you did add Smarty before) makes things difficult for those who would like to contribute to the project (like me) but don't have the time to learn how to use that framework (like me). :wink:
I disagree this one, since changing things with smarty is really easy if you compare makeing changes in old version. In the old version you had to make changes in php code, now you can just edit html code.
I would prefer leaving the layout as simple as possible. That would leave room for the simple and fast development of different themes and it would free time for 'real' improvements like e.g. multiuser support, which I find more important than the look of a single table... :lol:
Agree, however before makeing such improvement, the base has to be good. That's why I started this way.

So if more people don't want the grid layout, Iwill revert to the simple table layout with smarty template (I love subversion...). I can also implement an choice option, so you can choose between grid and simple table.

I really appreciate comments!

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

Post by Inferno » Thu Jul 26, 2007 20:40

Made a poll about the datagrid, please answer

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

Post by Inferno » Mon Jul 30, 2007 22:57

Just development update:
  • started implementing multi user support
    move to an object orientated structure
    started working on the embed functionality
Right now multi user support will be implemented in following way:
  • Users have the same database
    Every user has a specific prefix for the database tables
    dives of a user are accessed via index.php/2/82 (this is user 2 and dive nr 82)
    In the config you have to choose between multiuser or single user. When set in single user, the urls are simple as index.php/3 for dive 3
Questions, just ask
Last edited by Inferno on Thu Aug 02, 2007 18:41, edited 1 time in total.

mhedstrom
Posts: 46
Joined: Wed Jun 06, 2007 23:21

Post by mhedstrom » Thu Aug 02, 2007 18:34

This is great to hear, about multiuser support. I gave up trying to hack mine for it since I don't have enough time to mess with it, so I'll be eagerly looking forward to a new version.

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

Post by Inferno » Mon Aug 13, 2007 20:40

Coding is still taking place.

In the meanwhile I created a project on sourceforge.net
see: https://sourceforge.net/projects/phpdivinglog/

@Lloyd should I add you to the list people who can edit the project?

lloyd_borrett
Posts: 228
Joined: Sun Jun 11, 2006 09:24
Location: Frankston South, Victoria, Australia
Contact:

Post by lloyd_borrett » Thu Sep 06, 2007 06:45

That sounds like a good idea Rob.

Best Regards, Lloyd Borrett.

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

Alpha/Beta release coming soon

Post by Inferno » Sat Sep 15, 2007 21:04

Lots of coding is done already to make a new release of phpDivinglog.

The major new features are working, but most things need polishing.

At the moment I'm working on making a alpha/beta release so people can test the new features.

Major new things are:
- Multi user support
- Choose between grid layout or old fashioned table layout
- Template system

To make these things possible lots of code has changed. phpDivinglog is now a object oriented program.

If you can't wait for the release, just check out the SVN repositry
#svn co http://rob.lensen.nu/svn/phpdivinglog

I hope to have the release ready next week (before 22-9-2007)

mhedstrom
Posts: 46
Joined: Wed Jun 06, 2007 23:21

Post by mhedstrom » Sat Sep 15, 2007 22:48

This is great to hear. Hopefully it'll be ready for alpha/beta by the time we get back from our trip. I'll definitely be on the alpha test list for this. Thanks for the hard work you're doing!

lloyd_borrett
Posts: 228
Joined: Sun Jun 11, 2006 09:24
Location: Frankston South, Victoria, Australia
Contact:

Post by lloyd_borrett » Sat Sep 15, 2007 23:04

G'day,

Which CVS client program do you recommend we use?

Best Regards, Lloyd Borrett.

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

Post by Inferno » Sun Sep 16, 2007 00:15

lloyd_borrett wrote:G'day,

Which CVS client program do you recommend we use?

Best Regards, Lloyd Borrett.
CVS client won't work :P Subversion client will work :)

For linux just install subversion client, for windows you can install http://tortoisesvn.tigris.org/ or get a tarball via WebSVN http://rob.lensen.nu/WebSVN/

mhedstrom
Posts: 46
Joined: Wed Jun 06, 2007 23:21

Post by mhedstrom » Sun Sep 16, 2007 02:29

Ah well, I downloaded it via Subversion, but there's some templates missing in the tpl directory (the diver_overview.tpl) and don't know what else. I'll just have to wait until you release the alpha. :)

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

Post by Inferno » Sun Sep 16, 2007 08:01

mhedstrom wrote:Ah well, I downloaded it via Subversion, but there's some templates missing in the tpl directory (the diver_overview.tpl) and don't know what else. I'll just have to wait until you release the alpha. :)
You are right, it was to late to commit my local changes... I will give a shout if the svn version is working

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

Alpha 1 released

Post by Inferno » Fri Sep 21, 2007 21:21

Hello all,

Just finished the first alpha release for the new phpDivinglog

Alpha version is on sourceforge:
http://sourceforge.net/project/showfile ... _id=203211

Or get it direct from subversion (fixes will be in here)
#svn co http://rob.lensen.nu/svn/phpdivinglog/trunk

Lots of code is changed compared to previous versions. Maybe some things are missed in the code conversion.

Major things:
- Multiple divers in one DB
- Option to choose table or grid layout
- Smarty template engine
- Most of the code is now Object Oriented
- Make comments in suitable for phpDocumentor

Please test this release and submit your bugs/comments

Installation is also slightly changed. The "html" folder should be in your webdirectory.
Most easy way is making a symlink of the html folder to divelog in your webroot like: http://yourdomain.com/divelog
Last edited by Inferno on Sat Sep 22, 2007 01:01, edited 1 time in total.

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

Post by Inferno » Sat Sep 22, 2007 01:00

Some fixes already done (thx Lloyd):

Bug fixes:
- navigation bar not being repeated at the bottom of the view of a dive
- the title bar "<title> tag" isn't changing to tell me what the dive is.
- separating the setting for the dive profile chart out of the code into config
- Change the text in grid mode to display "Displaying dives" instead of "Displaying rows"
- Fix images in grid display

Todo
- Add " sorted by xxxx" to grid display
- More debug!!

Feature
- Charts in divestats page

#svn co http://rob.lensen.nu/svn/phpdivinglog/trunk
OR
#svn up

People who have questions about installation:
The "html" folder should be in your webroot and can have any name. Just make sure to change config.inc.php accordingly. It is most easy to have a symlink.

Structure:
/home/www/yourusername/phpdivinglog
/home/www/yourusername/phpdivinglog/smarty
/home/www/yourusername/phpdivinglog/html
/home/www/yourusername/phpdivinglog/tpl
/home/www/yourusername/phpdivinglog/sql
/home/www/yourusername/phpdivinglog/pear

Your webroot:
/home/www/yourusername/wwwroot/divelog => symlink to /home/www/yourusername/phpdivinglog/html

OR copy /home/www/yourusername/phpdivinglog/html to /home/www/yourusername/wwwroot/divelog and change config.inc.php

You can test the alpha version on my website:
http://rob.lensen.nu/divelog_dev/

Current settings:
- Grid mode
- Multi user mode

IaMtHeOnE
Posts: 9
Joined: Tue Sep 25, 2007 16:20
Location: Weert, The Netherlands
Contact:

Post by IaMtHeOnE » Tue Sep 25, 2007 23:03

Hello Rob,

I have tried to install the v2 but it wont display anything at all. v1.9 works completely.

Furthermore, I am running Typo 3 as CMS and i have used an pluging that gets the output of an php script and embeds it into a page in my site. however the links in v1.9 to the other pages of the log or the dive numbers wont work couse it wil load my front page or after editing the index.php it will load the page in a new window.

So what's my point here? Can you make sure that the v2 will give it's output in one index.php? so the dive statistics will also load in the index.php for example?

And another note is that is is nice that the v1.9 and older and v2.0 van run semantanely together using one db.

If you want to see what i mean please request an account on ruud.borghouts.net or see my scripts at ruud.borghouts.net/logboek/v2.0a1/ or /v1.9/ for the original version.

The implementated version in my site needs an account.

With kind regards,

Ruud Borghouts

Post Reply