phpDivinglog 2.2 development

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
terrylowe
Posts: 40
Joined: Sun Aug 12, 2007 03:33
Location: Hattiesburg, MS USA
Contact:

Re: phpDivinglog 2.2 development

Post by terrylowe »

It works beautifully! Thanks so much Inferno!!

Let me know if I can send you a log or what I could do to help you troubleshoot any other problems.

Terry

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

Re: phpDivinglog 2.2 development

Post by Inferno »

I have noticed a different issue now. The statistics don't appear to match the diving log database for dive types. It show me having done 5 cave dives which isn't true and doesn't show training dives which I added to the dive types. A lot of the other totals are inaccurate too.
Have to find a solution for this, the problem is that a user can define his own dive types and his own order. Right now these are types are fixed by an ID number

Two options:
1. Just get a defined list of divetypes (from the database), say the first six dive types and display the total of each dive

2. loop through all dive types an list them

Please let me know your views

ianr
Posts: 47
Joined: Thu Sep 17, 2009 11:44

Re: phpDivinglog 2.2 development

Post by ianr »

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.

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

Re: phpDivinglog 2.2 development

Post by Inferno »

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.
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
Posts: 47
Joined: Thu Sep 17, 2009 11:44

Re: phpDivinglog 2.2 development

Post by ianr »

If you display them all but we have only selected 10 of them for example will there be a large gap or would it only display the 10?

I'm struggling to visualise it. :)

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

Re: phpDivinglog 2.2 development

Post by divinglog »

Inferno asked me to split the Wordpress integration into a separate thread, for easier handling.

terrylowe
Posts: 40
Joined: Sun Aug 12, 2007 03:33
Location: Hattiesburg, MS USA
Contact:

Re: phpDivinglog 2.2 development

Post by terrylowe »

Inferno,

I know this is a simplistic question to ask, but I simply cannot find it.

In which file and which line of code can I change the code to get a different color background?

Currently my web page has a black background...but will be changing it again soon. My diving log has a white background and I'd love to be able to change it up some.

See what I am doing at http://www.terrylowe.com/

Thanks,


Terry

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

Re: phpDivinglog 2.2 development

Post by Inferno »

See my example here:

http://rob.lensen.nu/divelog_dev/index.php/list

Edit divelog.css and add background-color: black to body

http://www.davesite.com/webstation/css/chap04.shtml

terrylowe
Posts: 40
Joined: Sun Aug 12, 2007 03:33
Location: Hattiesburg, MS USA
Contact:

Re: phpDivinglog 2.2 development

Post by terrylowe »

Thanks again Inferno! The CSS guide was helpful as well.
I think I've nearly finished my site.

One MINOR thing...

My dive gallery page is not centered. How would I fix that?
Capture.JPG
Capture.JPG (42.75 KiB) Viewed 7761 times

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

Re: phpDivinglog 2.2 development

Post by Inferno »


terrylowe
Posts: 40
Joined: Sun Aug 12, 2007 03:33
Location: Hattiesburg, MS USA
Contact:

Re: phpDivinglog 2.2 development

Post by terrylowe »

Hi Inferno.

When I uploaded the new divelog.css file to my site, it re-introduced this error....
Capture.JPG
Capture.JPG (19.82 KiB) Viewed 7753 times
I was able to correct this by editing the divelog.css so that the width under the #content section is 750 rather than 700.

div#content
{
text-align: left;
width: 750px;



I downloaded the divegallery.tpl file and it is actually the divegallery.php file named as a tpl file...?

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

Re: phpDivinglog 2.2 development

Post by Inferno »

terrylowe wrote:Hi Inferno.

When I uploaded the new divelog.css file to my site, it re-introduced this error....
Capture.JPG
I was able to correct this by editing the divelog.css so that the width under the #content section is 750 rather than 700.

div#content
{
text-align: left;
width: 750px;



I downloaded the divegallery.tpl file and it is actually the divegallery.php file named as a tpl file...?
I copied the wrong file, try again now.

terrylowe
Posts: 40
Joined: Sun Aug 12, 2007 03:33
Location: Hattiesburg, MS USA
Contact:

Re: phpDivinglog 2.2 development

Post by terrylowe »

Hi Inferno,

I downloaded the new .tpl file and it did not correct the problem for me.

This is such a minor cosmetic issue that I feel guilty about even bringing it up. Spend more time with your family and diving!

I wanted to thank you again for your work with setting up this interface. I have been learning more php and css programming and it has been quite fun for me. 8)

Terry

zeroGsa
Posts: 12
Joined: Fri Apr 23, 2010 13:25
Location: FL, USA
Contact:

Re: phpDivinglog 2.2 development

Post by zeroGsa »

Sorry if this is already posted somewhere. I tried looking for it. Can someone direct me to where I can find downloading and installation/setup procedures for phpDivinglog 2.2 please?

terrylowe
Posts: 40
Joined: Sun Aug 12, 2007 03:33
Location: Hattiesburg, MS USA
Contact:

Re: phpDivinglog 2.2 development

Post by terrylowe »

zeroGSA,
I am a newbie to phpDivinglog 2.2 and was able to get my site up and going using GoDaddy. There could be some variation depending on who is hosting your site, but it could serve as a template for you.

viewtopic.php?f=10&t=1100

Terry

Post Reply