Jump to content
TNG Community
theKiwi

Search for Connections Mod

Recommended Posts

mjaro
13 minutes ago, Ken Roy said:

So do not take all my suggestions as negative

Not at all, Ken. I see your advices only positive!

Now I know that programming for my own needs is the pure fan, and programming for a public use is full of stress...

Share this post


Link to post
Share on other sites
mjaro

I'm almost ready to release the next update:

  • mod folder name includes mod version
  • new mod option: sorting paths by length / by number of marriages / not sorted (then they appear in the order as they were found, usually = by length
  • bullets preceding fullname in each box come from mod languages (can easily be modded eg. to be empty)
  • warning on family with no childern should disappear (back?)
  • mod languages are (to be*) corrected
  • box shadow (gives more "TNG look")
  • multiple internal improvements

*  only Norwegian and Polish are "ready to release",  for the rest I added a few new words by myself and I hope receiving corrections if needed; also need to find ANSI sequence to display this bullet "".

I attach zip file. If there is anybody that could look if it works not only on my site... (I believe it should work OK!)

Michał

connections_v13.0.2.3a.zip

Share this post


Link to post
Share on other sites
manofmull

Michal

I unzipped the file and notice there is no connections.css

Is this correct?

Share this post


Link to post
Share on other sites
Ken Roy

Michal,

I am not sure about your box shadow since it is not shown on all boxes.   

Michael,

5 minutes ago, manofmull said:

I unzipped the file and notice there is no connections.css

You must not have been running the previous version since the css definitions moved to genstyle.css

Share this post


Link to post
Share on other sites
mjaro
5 minutes ago, manofmull said:

Michal

I unzipped the file and notice there is no connections.css

Is this correct?

Yes. The content of css file is now copied to genstyle.css to be more TNG-typical.

On the other hand, this change requires that the user has to clear browser cache to make css working after unistalling old and then installing new version!

Michał

Share this post


Link to post
Share on other sites
manofmull
4 minutes ago, Ken Roy said:

Michal,

I am not sure about your box shadow since it is not shown on all boxes.   

Michael,

You must not have been running the previous version since the css definitions moved to genstyle.css

Ken

I am using v3 and the download includes connections.css file

Share this post


Link to post
Share on other sites
fluffy82
37 minutes ago, mjaro said:

mod languages are (to be*) corrected

If you need Dutch input, let me know!

Share this post


Link to post
Share on other sites
mjaro
2 minutes ago, fluffy82 said:

If you need Dutch input, let me know!

Of course YES! I'ii be very glad to include Dutch translations.

Michał

Share this post


Link to post
Share on other sites
mjaro
37 minutes ago, Ken Roy said:

I am not sure about your box shadow since it is not shown on all boxes. 

Wrrrr. You are right. There is one line missing in the cfg (to be copied to genstyle)

Aftter #pathlist .pers {

should be  before its closing }

    box-shadow: 4px 4px 4px var(--cl1);

Edit: And the color variable  definition should be put earlier

    --cl1: #bba28c; /* box shadow */

Sorry :( 

Edited by mjaro
missing --cl1

Share this post


Link to post
Share on other sites
Michel KIRSCH
4 hours ago, mjaro said:

Is it possible that the warning is dependent on the PHP version?

Most of the time, this is server or ISP dependent.

Michel

Share this post


Link to post
Share on other sites
tngrlkrz

Michal,

Shadows now working fine, but no shadows on the top boxes; essentially those with connecting lines, which happens only when there is step up from a box and step down  to a box from an upper box. You likely avoided in order to keep the lines are visible.  TNG's other charts can shadow all boxes because the shadow is less, and the vertical space between boxes is not as small.  So it's understandable. 

I tested with a 3px instead of 4px shadow and it looks a bit better in the compressed diagrams.

And '*', though not so noticeable, but better than the '@', but should be easy to modify, thanks!

Ron

Share this post


Link to post
Share on other sites
tngrlkrz

Some sort of issue with v3a.  With a close relationship, such as grandchild to grandparent, getting a 'hang' on the connection search.

image.png

 

Share this post


Link to post
Share on other sites
mjaro
1 hour ago, tngrlkrz said:

And '*', though not so noticeable, but better than the '@',

I've found even better alternative: ● 

Share this post


Link to post
Share on other sites
mjaro
57 minutes ago, tngrlkrz said:

Some sort of issue with v3a.  With a close relationship, such as grandchild to grandparent, getting a 'hang' on the connection search.

image.png

 

I see. I had left direct line unchanged after changing other cases. In 10 minutes I'll supply corrected file.

Share this post


Link to post
Share on other sites
mjaro
8 minutes ago, mjaro said:

I see. I had left direct line unchanged after changing other cases. In 10 minutes I'll supply corrected file.

Here it is. 

Sorry for errors, thank you for testing!

connections.php

Share this post


Link to post
Share on other sites
tngrlkrz

That fixed it, direct connections now fine. Thanks.

Share this post


Link to post
Share on other sites
mjaro
2 hours ago, tngrlkrz said:

no shadows on the top boxes; essentially those with connecting lines.

Is it still bad? It is not intentional.

Ron, could you please look at the browser if such a box receives css from genstyle.php  #pathlist .paths  (the last item in it is the shadow)

For me it gets it and looks as other boxes.

Share this post


Link to post
Share on other sites
manofmull

Michal

I have 3a installed now.

I prefer the *

The boxes are not hyperlinked, just the names again.

Share this post


Link to post
Share on other sites
mjaro
5 minutes ago, manofmull said:

The boxes are not hyperlinked, just the names

The correction is still on the wait list :( 

Share this post


Link to post
Share on other sites
manofmull
30 minutes ago, mjaro said:

The correction is still on the wait list :( 

Michal

No problem, no rush.

I forgot to mention one thing and that's the TNG obsession with shadows!

I hate the box shadows with a severe loathing and again hope you make them optional.

Whatever you decide, it's a very popular mod with my site members.

Share this post


Link to post
Share on other sites
tngrlkrz
1 hour ago, mjaro said:

Is it still bad? It is not intentional.

Ron, could you please look at the browser if such a box receives css from genstyle.php  #pathlist .paths  (the last item in it is the shadow)

For me it gets it and looks as other boxes.

No not bad at all.  Yes, coming from genstyle.php.  Shadows are only absent if there is a pair,  person and spouse, side by side below, requiring connecting lines to those two boxes. Otherwise the top box is shadowed.  I am fine with that.

Share this post


Link to post
Share on other sites
tngrlkrz
25 minutes ago, manofmull said:

TNG obsession with shadows!

But you expect mod authors  to offer an option when TNG does not?  I would want the mod to have the same look, as Michal states it.

Share this post


Link to post
Share on other sites
manofmull

Ron

Just stating a preference. I did say to Michal < Whatever you decide >.

OK they're not so bad in the charts but TNG went OTT when added to pics and thumbs.

I had a moan to Darrin a year back and got the excessive shadowing removed (excluding charts).

I also remember someone else in the forum complaining, who said that everything appears to be sitting on buttons, and I happened to agree.

FWIW I'm getting shadows on some but not all boxes. I happen to think they're not needed at all.

 

Share this post


Link to post
Share on other sites
Kare
1 time siden, manofmull skrev:

FWIW I'm getting shadows on some but not all boxes. I happen to think they're not needed at all.

Have you considered what the USERS of your website want?

Share this post


Link to post
Share on other sites
manofmull
43 minutes ago, Kare said:

Have you ever considered what the USERS of your website want?

I won't say silly but it's certainly a moot point.

I have 240 members. If they didn't like the site they wouldn't join or support it.

Earlier in the thread people moaned about the mod container which I and the author like.

Why is it I'm jumped on when I make a suggestion?

I'm happy with the mod no matter what shape it is.

It was me who suggested to Darrin to make charts draggable with zoom and he liked and implemented the idea.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×