Jump to content
TNG Community

Search for Connections Mod


theKiwi

Recommended Posts

5 minutes ago, ton van lil said:

Only the gender symbols are streched

Must be something from your side, they look fine here...

icons.PNG

Link to comment
Share on other sites

  • Replies 598
  • Created
  • Last Reply

Top Posters In This Topic

  • mjaro

    210

  • tngrlkrz

    117

  • Ken Roy

    91

  • theKiwi

    54

Top Posters In This Topic

Posted Images

11 minutes ago, ton van lil said:

 Only the gender symbols are streched.

 

Clear your cache, or force reload the page a couple of times should fix that - the css isn't right.

Roger

Link to comment
Share on other sites

8 minutes ago, theKiwi said:

This is the WordPress site and it's working fine there.

Great! Thanks for testing and translation.

I know the reason of the differences you noticed: for the primaryperson there is different TNG function used then for remaining persons (this is the way Relationship tab uses and I followed). I'll make it identical, good idea!

Michał

Link to comment
Share on other sites

I did notice on my site that it doesn't seem to respect the setting for showing the thumbnail - if I set that option to false , it still shows the thumb image?

Roger

Link to comment
Share on other sites

Michel KIRSCH

Same as Roger for me. (after refresh the cache too)

Michel

(Bed time : good night everybody !!)

 

Link to comment
Share on other sites

2 minutes ago, Michel KIRSCH said:

French translations in attach

Thanks Michel - and have you run the mod? Is it working for you?

Link to comment
Share on other sites

3 minutes ago, Michel KIRSCH said:

Same as Roger for me. (after refresh the cache too)

Michel

(Bed time : good night everybody !!)

 

You are right, again ;)  Good night!

Link to comment
Share on other sites

2 hours ago, ton van lil said:

Only the gender symbols are streched

They will look like that until you refresh and clear your cache.

2 hours ago, theKiwi said:

it doesn't seem to respect the setting for showing the thumbnail

Thumb option is working for me OK,....

But when I choose no gender icons, icons are removed, but  getting 3 'x's after all person names except start person, with or without the gender icons.  In connections.php, looks like some sort of place filler is not getting replaced, since 'xxx' literal is in several code lines.  Is there something I missed doing?  Cache cleared after install, and after any change to edit options.

image.png

image.png

Lastly, seeing a shadowed vertical bar where the person has no image, and thus no thumb to display.

image.png

All testing without any private changes. TNG 13.03.  Happens on all templates I tried.

Link to comment
Share on other sites

3 hours ago, Michel KIRSCH said:

Same as Roger for me. (after refresh the cache too)

OK I figured out what's happening - the showPic=true is part of the URL, and if you change the setting and refresh the page it won't pick up the change in the setting because the setting is in the URL. But if you change the setting and then enter the page again from a new search, then it the setting is respected.

Roger

Link to comment
Share on other sites

50 minutes ago, theKiwi said:

enter the page again from a new search

Ahh.  I guess that's what I have done early on in testing, after I noticed it didn't take the settings with a reload, is to click the connection tab again.   I mistakenly thought you were saying the thumb setting to false in Edit Options wasn't working.

Have you tried removing the gender icons in Edit Options?  That's when I get the 'xxx's.  Though I plan to always have them.

Link to comment
Share on other sites

31 minutes ago, tngrlkrz said:

Have you tried removing the gender icons in Edit Options?  That's when I get the 'xxx's.  Though I plan to always have them.

Yes I get the same thing  - the starting person's box is OK, but all the rest have the xxx

image.png

Roger

Link to comment
Share on other sites

Apologies to everyone for the stupid "xxx" - an intermediate edition had replaced the final one 😞. (thamks to Ron for detecting!)

Other anomalies need more investigations...

Michał

Link to comment
Share on other sites

31 minutes ago, klooster said:

HOW TO CHANGE THE DOT INTO A STAR ??

Cees, in the mod directory, in your language file you can replace line 36 with

$text['pri'] = "(&#9733) ";

I mean e.g.  /mods/languages/English_custtext.php or any other file in this directory.

Michał

 

 

 

Link to comment
Share on other sites

Thanks Michal,

4 hours ago, mjaro said:

Cees, in the mod directory, in your language file you can replace line 36 with

$text['pri'] = "(&#9733) ";

Can you make the star the default for the staring person?

The following are my color changes for Template 20 templatestyle.css

%target:templates/template20/css/templatestyle.css%

%location:%
/* templatestyle.css for template 20 overrides to TNG genstyle.css   */
%end:%

%insert:after%

/* Connections Mod style overrides */
#pathlist {
	--bgr: #EEF1F7; /* background of main cell (and invisible box border) */
	--bg2: #D1DBEB; /* background of person box */
	--cl1: #9BB1C5; /* box shadow */
	--cl2: #304050; /* text inside box */
}
%end:%

 

Link to comment
Share on other sites

Just a question (not for me, as I completely abandoned the TNG css and made my own, but it might be helpful for other people using TNG and this mod)...

Why are the font, background colours etc hardcoded in the mod? Wouldn't it be better to somehow replicate the colours and fonts etc used by the user in his/her activated theme? If that is at all possible, of course. Or to help them, maybe include a list like Ken provided on the Wiki page, so they know which lines to add to their custom css?

Link to comment
Share on other sites

Here is my custom css for the Connections mod:

/* START TNG MOD SEARCH CONNECTIONS */

.pers {
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size: 14px ;
color: #000000 ;
line-height: 1.4 ;
font-weight: 400 ;
background-color: #FFF6CA ;
}

.pers a:link {
color: #000000 ;
}
div.spantxt {
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size: 14px ;
font-size: 16px ;
color: #000000 ;
background-color: #E8D9B0 ;
}
.spantxt a:link {
font-size: 17px ;
color: #000000 ;
}
.paths {
background-color: #F4EFDA ;
}
/* END TNG MOD SEARCH CONNECTIONS */

Link to comment
Share on other sites

Still seeing the vertical bars, if no image (and thumb) associated with a person.  I don't display 'dummy' place fillers.  (NB: have removed the containers)

burke vbars.jpg

Link to comment
Share on other sites

1 hour ago, Ken Roy said:

Can you make the star the default for the staring person?

The following are my color changes for Template 20 templatestyle.css

OK, no problem setting the star.

Applying css colors that fit to templates is rather individual taste. Probably the best solution is to share your mod (or Cees' one). (I know there are mods that deal with multiple templates)

I also see that I should include the general languages/(language)/custtext.php at the end of each my mod's language file. Then the regular way of overriding any text can be applied (including the star). How do you think?

Michał

 

Link to comment
Share on other sites

48 minutes ago, tngrlkrz said:

seeing the vertical bars

Aren't they shadows of non-existing (broken?) gender thumbs? 

Link to comment
Share on other sites

8 minutes ago, mjaro said:

Aren't they shadows of non-existing (broken?) gender thumbs? 

Not sure..notice it is a shadow of a bar.  Not a huge problem, since I usually will have thumbs set not to display.  I will take a look at the gender code.

Link to comment
Share on other sites

On 2/25/2021 at 7:24 AM, mjaro said:

please find corrected zip. (mod dir name unchanged)

The xxx at the end of the names is gone :-)

In the search form the date beside each name is now the same style :-) 

Everything looks good to me :-)

[Website Example Removed as Website is Defunct]

Congratulations and Well Done and Thank You!!!!

Roger

Link to comment
Share on other sites

Just now, tngrlkrz said:

Not sure..notice it is a shadow of a bar.  Not a huge problem, since I usually will have thumbs set not to display.  I will take a look at the gender code.

it seems like it's the shadow of what would be the default image if no person image - it's only on the boxes that don't have an image - should they be the default image?

You say that's turned off - is it with this setting

image.png

On my site with that set to No, I don't get the shadow - just the empty space now

image.png

With it set to Yes, I get this

image.png

Roger

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.


×
×
  • Create New...