phpDivinglog 2.2 development
Re: phpDivinglog 2.2 development
Thanks Terry! This helps a lot! One question though, the link on this page takes me to a site to download phpDivinglog 2.1.2. This thread is talking about phpDivinglog 2.2. Is that available for download somewhere?
Re: phpDivinglog 2.2 development
Perfect! Got it up and running. Thanks again Terry!
Re: phpDivinglog 2.2 development
Up and running?? It took me a LOT longer than that. Congrats.
Would love to see the final product if it isn't private....
Terry
Would love to see the final product if it isn't private....
Terry
Re: phpDivinglog 2.2 development
My original dive logs (in HTML) are exported to:
http://www.mugga.net/scuba
The new phpDivinglog2.2 output is accessible here:
http://www.mugga.net/divelog
Using the Diving Log 5.0 / MySQL / phpDivinglog2.2 combination is WAY easier to maintain! Just need to get a little more functionality and I think I can replace it for good.
Still trying to figure out the following:
1. How to get my images to show up.
2. How to get comments broken up into paragraphs.
3. How to get my water temperature graphs.
4. How to get this to work with a remote MySQL server so I can run it on my GeekDiver.com site.
I am having fun getting this all figured out and set up though! Plus, I am inspiring my dive buddies and students to maintain good logs with awesome software!!
http://www.mugga.net/scuba
The new phpDivinglog2.2 output is accessible here:
http://www.mugga.net/divelog
Using the Diving Log 5.0 / MySQL / phpDivinglog2.2 combination is WAY easier to maintain! Just need to get a little more functionality and I think I can replace it for good.
Still trying to figure out the following:
1. How to get my images to show up.
2. How to get comments broken up into paragraphs.
3. How to get my water temperature graphs.
4. How to get this to work with a remote MySQL server so I can run it on my GeekDiver.com site.
I am having fun getting this all figured out and set up though! Plus, I am inspiring my dive buddies and students to maintain good logs with awesome software!!
Re: phpDivinglog 2.2 development
1. Looks you already fixed this? Since I can see your pictureszeroGsa wrote: Still trying to figure out the following:
1. How to get my images to show up.
2. How to get comments broken up into paragraphs.
3. How to get my water temperature graphs.
4. How to get this to work with a remote MySQL server so I can run it on my GeekDiver.com site.
I am having fun getting this all figured out and set up though! Plus, I am inspiring my dive buddies and students to maintain good logs with awesome software!!
2. Have to look into this, don't know how the data is in the mysql database
3. You want to have the water temp graph next to the dive depth? I don't know if this data is stored in the mysql database, if so I can make a graph of it
4. Should be no problem, just adjust your config.inc.php and make sure mysql can be reached from remote, say port 3306 is opened
Re: phpDivinglog 2.2 development
Hi Rob
All profile data is exported to MySQL. The temperature graph is in the Profile2 data stored. The description is here: viewtopic.php?f=10&t=652
Please note that not all computers store this data, so the Profile2 field could be empty, NULL or contains just zeros.
Sven
All profile data is exported to MySQL. The temperature graph is in the Profile2 data stored. The description is here: viewtopic.php?f=10&t=652
Please note that not all computers store this data, so the Profile2 field could be empty, NULL or contains just zeros.
Sven
Re: phpDivinglog 2.2 development
Thanks guys!!
1. You are correct! I found, if I select the option to remove the path to the image while doing the export from Diving Log and place the photos in the images/pictures directory, they show up. Sorry for being slow.
2. If you look at "Diving Log Online" by vasco_nl, he is importing it with paragraph formatting. Looking at the HTML, I see two <BR> entries between each paragraph. Not sure if he's adding them. You can see it here: http://www.mugga.net/divinglog/index.ph ... ail&id=276
3. Diving Log shows the temp graph below the profile graph. My Citizen program shows it overlaying the profile. I would be happy with either one. It's just fun to look back and see the thermoclines I went through. You can see in this graph, the temp dots are all over the place: http://www.mugga.net/scuba/20100417-2-HudsonGrotto.html
4. Any luck getting the program to run with a remote MySQL server? I still have been unable to figure this one out. I have been able to make many modifications to the format, just can't get it to run remotely.
Thanks again to everyone!! It is so nice to own products that are so well supported (by both the manufacturer and the community)!
1. You are correct! I found, if I select the option to remove the path to the image while doing the export from Diving Log and place the photos in the images/pictures directory, they show up. Sorry for being slow.
2. If you look at "Diving Log Online" by vasco_nl, he is importing it with paragraph formatting. Looking at the HTML, I see two <BR> entries between each paragraph. Not sure if he's adding them. You can see it here: http://www.mugga.net/divinglog/index.ph ... ail&id=276
3. Diving Log shows the temp graph below the profile graph. My Citizen program shows it overlaying the profile. I would be happy with either one. It's just fun to look back and see the thermoclines I went through. You can see in this graph, the temp dots are all over the place: http://www.mugga.net/scuba/20100417-2-HudsonGrotto.html
4. Any luck getting the program to run with a remote MySQL server? I still have been unable to figure this one out. I have been able to make many modifications to the format, just can't get it to run remotely.
Thanks again to everyone!! It is so nice to own products that are so well supported (by both the manufacturer and the community)!
Re: phpDivinglog 2.2 development
Can you test:zeroGsa wrote:Thanks guys!!
1. You are correct! I found, if I select the option to remove the path to the image while doing the export from Diving Log and place the photos in the images/pictures directory, they show up. Sorry for being slow.
2. If you look at "Diving Log Online" by vasco_nl, he is importing it with paragraph formatting. Looking at the HTML, I see two <BR> entries between each paragraph. Not sure if he's adding them. You can see it here: http://www.mugga.net/divinglog/index.ph ... ail&id=276
3. Diving Log shows the temp graph below the profile graph. My Citizen program shows it overlaying the profile. I would be happy with either one. It's just fun to look back and see the thermoclines I went through. You can see in this graph, the temp dots are all over the place: http://www.mugga.net/scuba/20100417-2-HudsonGrotto.html
4. Any luck getting the program to run with a remote MySQL server? I still have been unable to figure this one out. I have been able to make many modifications to the format, just can't get it to run remotely.
Thanks again to everyone!! It is so nice to own products that are so well supported (by both the manufacturer and the community)!
http://rob.lensen.nu/devdoc/phpDivinglo ... ta8.tar.gz
http://rob.lensen.nu/devdoc/phpDivinglog-2.2-beta8.zip
Fixed the formating
Last edited by Inferno on Fri May 07, 2010 07:19, edited 1 time in total.
Re: phpDivinglog 2.2 development
I uploaded the new beta phpDivinglog and get the following error...
Fatal error: Only variables can be passed by reference in D:\Hosting\6090303\html\dive\classes.inc.php on line 1491
I installed the older beta and it works again
Terry
Fatal error: Only variables can be passed by reference in D:\Hosting\6090303\html\dive\classes.inc.php on line 1491
I installed the older beta and it works again
Terry
Re: phpDivinglog 2.2 development
A typoterrylowe wrote:I uploaded the new beta phpDivinglog and get the following error...
Fatal error: Only variables can be passed by reference in D:\Hosting\6090303\html\dive\classes.inc.php on line 1491
I installed the older beta and it works again
Terry
http://rob.lensen.nu/devdoc/phpDivinglo ... ta8.tar.gz
http://rob.lensen.nu/devdoc/phpDivinglog-2.2-beta8.zip
Re: phpDivinglog 2.2 development
This looks great!
Re: phpDivinglog 2.2 development
Yes....works now! Thanks inferno!
Re: phpDivinglog 2.2 development
Hi,Inferno wrote:Sorry for the programmers talk . But with looping through them I mean, that I will display available dive types which are in Diving log, since you can define your own as well. So this means you can have 30 different types, but the question is then do I want them displayed all or only the first six.ianr wrote:The first option seems easiest as it limits it to the basic list in the divelog software.
My preference would be to show all of the dive types if possible but I'm not sure what you mean by looping thorugh them.
Did you manage to get any further with this? This is the only real downside to an excellent tool and it would finish things off nicely if we could iron out this wrinkle in the code.
Thanks
Re: phpDivinglog 2.2 development
Didn't had time to do this. But I will make a start with this asap. My goal is the end of the week.