Jump to content
TNG Community
theKiwi

Search for Connections Mod

Recommended Posts

manofmull

Further to my last, I had to delete (not just ininstal) the FGWTabs mod in order for it to be removed from the following list.

It would appear that yet another mod is preventing the installation of Connections. Can anyone narrow it down?

File genlib.php is modified by:
AdminMenuLink.cfg   Show modifications
Connections_v13.0.2.2.cfg   Show modifications
OpenMyPage_mod_v13.0.0.4b.cfg   Show modifications
comments_v13.0.0.2a.cfg   Show modifications
count_ancestors_n_descendants_v13.0.0.4.cfg   Show modifications
hide_google_buttons_v13.0.0.1.cfg   Show modifications
living_color_v13.0.0.20.cfg   Show modifications
menu_row_stats_counters_v.10.1.0.0.cfg   Show modifications
openstreetmap_v13.0.0.7b.cfg   Show modifications
person_map_v13.0.1.9b.cfg   Show modifications
person_media_title_v13.0.0.1.cfg   Show modifications
redundant_person_tabs_v12.0.0.0.cfg   Show modifications
showfolio_v13.0.0.18.cfg   Show modifications
submit_photo_tab_V11.0.0.0.cfg   Show modifications
submitphoto_V9.0.0.2.cfg   Show modifications
surname_statistics_v13.0.0.2.cfg   Show modifications
user_footer_copyright_v12.1.0.9.cfg   Hide modifications

Share this post


Link to post
Share on other sites
Ken Roy

Thanks also for now using the TNG small photo function.  The chart now shows pictures where available, and now honors the option - Use default thumbnails:

Share this post


Link to post
Share on other sites
theKiwi

The new version installs fine on my testing site with the Fixed Family Tab Mod uninstalled, and then installed afterwards.

Roger

Share this post


Link to post
Share on other sites
manofmull

Roger

I don't have FFT installed. It was the Submit Photo/Doc Tab mod which I've removed.

No need for that now as there's a submit link under the person's name.

Excellent mod by the way!

Share this post


Link to post
Share on other sites
mjaro

Thankyou all for testing!

I see I should give up my favourite function of my mod, i.e. the change of the tab order :( . I'll do this in a pivate mod for my site... Then the mod will be less conflicting. 

Here is a cfg version without this conflicting change (as was softly advised a few days ago by Ron).

Michał

Connections_v13.0.2.2a.cfg

Share this post


Link to post
Share on other sites
tngrlkrz
8 hours ago, Michel KIRSCH said:

 testing the add_cousins_button_to_user Mod. 

I know : it was in jan 2020, a loooong year ago :-)

Yes, I do remember, and good riddance to 2020 indeed.  I believe I suggested switching who is 1st and 2nd, and the speed to results was much improved with your mod's use of the relationship mod.  However, Michal's results seem to be obtained quite fast either way. His algorithms are surely different than those employed by relationship.php.

Share this post


Link to post
Share on other sites
mjaro
On 2/12/2021 at 11:40 PM, Ken Roy said:

Publishing personal mods is always a learning process on the first one. 

Oh, now I see it all too well ...

Ken please give me more easy directions how to introduce to Wiki the new mod name (and put the new zip for it)... 

Michał

Share this post


Link to post
Share on other sites
mjaro
On 2/13/2021 at 3:54 PM, theKiwi said:

I have a couple of other comments about the next update...

Roger, you probably saw that I follow your comments.

On 2/13/2021 at 3:54 PM, theKiwi said:

put comments in nextpaths.css i

I've added some now. The defined colors I use across my template to keep color consistency; only two of them are actually used in the Connections files. Merriweather font I've chosen because it is narrower then others (from Google - currently free of charge...).

Thank you once more for helpful comments !

Michał

Share this post


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

Oh, now I see it all too well ...

Ken please give me more easy directions how to introduce to Wiki the new mod name (and put the new zip for it)... 

Michał

Michal,

Do you want me to Move (rename) your existing mod?  Then you can just upload the replacement zip file?

Share this post


Link to post
Share on other sites
mjaro

Perfect solution for me ;) (probably faster also for you ;);) ) !!

 

Share this post


Link to post
Share on other sites
Ken Roy

It is done.   Wiki page is now Connections  I left a redirect so if user click their previous link it will take them to the new page.  Just upload your new mod and replace the download link

Share this post


Link to post
Share on other sites
mjaro

Ken, I got lost uploading/deleting/reuploading zip file (I uploaded as File: then remembered that you adviced to use Media: and.... mess). Sorry again, help me!

Share this post


Link to post
Share on other sites
mjaro

Here is the file. (deleted)

 

Share this post


Link to post
Share on other sites
Ken Roy

Michal,

you can use the Upload File in the left sidebar of the TNG Wiki.  Or if you use [[File:file-name.zio in the mod wiki article, you should then change it to [[Media:file-name.zip|file-name.zip]] so that the user gets a Save As dialog box when they click on the link.

I also removed {{restricted}} template since your mod is directly downloaded from the TNG wiki, that is you are not using the Click Counter iii to restrict your downloads to logged in users.

I know it is a lot to learn, but you are doing great. 

You man want to delete the download link from the post above to avoid confusion

Share this post


Link to post
Share on other sites
mjaro

Ken, thanks a lot for your patience for me newbie !

Share this post


Link to post
Share on other sites
theKiwi
2 minutes ago, manofmull said:

The Connections tab is missing a tiny icon that all other tabs have.

 

Mine has it - it's what the sprites image included with the Mod is for

image.png

Roger

Share this post


Link to post
Share on other sites
mjaro

The icon (called "sprite") will show if you copy tng_small_icon_sprites.gif  from the mods/Connections folder to the main TNG img folder (replacing original file of this name). You have to do this "by hand" (i.e., FTP) because ModManager cannot overwrite files.

Share this post


Link to post
Share on other sites
manofmull

Roger

It dawned on me that was what the sprite was for BUT my img folder has one of that name already, although it's a different size.

Not sure what to do  now

EDIT ok done but I may have to clear cache as I still can't see it

EDIT2 got it now after cache clean😁

Share this post


Link to post
Share on other sites
theKiwi

Thanks Michal - you can see it in action here

http://tngwp.lisaandroger.com/genealogy/nextpaths.php?maxR=99&maxL=33&showTxt=true&sortpathsby=true&primarypersonID=I16&savedpersonID=I1&tree=Roger

I've made myself a private Mod to alter the Connections.css file to suit my site's existing theme - i.e. colours and sans-serif font - a Google font called BenchNine seems to be a bit narrower than plain old Arial.

Some other suggestions for improvement in the structure of the Mod...

1 - use only lower case letters for the folder and file names (connections.css) and the .cfg file name - that way on a Linux host system the files will sort in order with all the other Mods rather than at the end because of the upper case C

2 - rename the files nextpaths, nextpaths2, and nextpathsform to connections, connections2, and connectionsform so that they too all remain together in a list in the file browser. And then in the URL bar of a browser, (at least in English) the file name in the URL will match the name of the tab in TNG.

3 - is there any requirement on the filename of Yens-BFS due to using someone else's code for this? - you could perhaps use connections-Yens-BFS to get that file too to sort into the main TNG files list with the other files "connected" to the Mod.

Here in the text string

image.png

should there be a . after the 41? I think it's telling me it was a "41 step search"?

Again thanks for a GREAT Mod - very impressive for a first time.

Roger

Share this post


Link to post
Share on other sites
manofmull
3 hours ago, tngrlkrz said:

 testing the add_cousins_button_to_user Mod. 

Ron/Michel

Does this refer to the Cousins mod or another?

Share this post


Link to post
Share on other sites
manofmull
18 minutes ago, theKiwi said:

I've made myself a private Mod to alter the Connections.css file to suit my site's existing theme

Existing theme for the mod would be good. I'm using template 18

Michal, can you do this? (I certainly can't)

Share this post


Link to post
Share on other sites
theKiwi
1 hour ago, manofmull said:

Existing theme for the mod would be good. I'm using template 18

 Michal, can you do this? (I certainly can't)

It would require quite a bit of change - I'd actually prefer that TNG moved to the way this Mod is coded, using variables for the various colours, so each colour is defined only once, so that each variable (colour) is defined only once, and so can be changed in only 1 place.
Of course that would be a massive amount of work for Darrin.
Roger

Share this post


Link to post
Share on other sites
mjaro

Roger - it's nice that your site is running my mod! (BTW I see that you haven't used the new sprite in Connections tab?). I checked (sorry) how fast the Connections run and I'm surprised that it is several times slower than in my hosted site. Interesting why... (is it your production site?)

 The question of numbering: The search function returns a new path at every call ('search step"), but most of the findings are filtered-out as negligible (I partially explained this in the previous page; it's a pity that post aren't numbered) . So the the meaning of the info you cited is: There were 41 path found so far, and the 41st of them is the 2nd one that is worth displaying. (I know very little English. Could you please suggest how this message should be?)

Your further suggestions are undoubtedly apt - I'm going to follow them. Should the mod name / title be also lowercased? 

Thanks,

Michał

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

×