SarahBeth Posted June 21, 2021 Report Share Posted June 21, 2021 When I search inside the "People" tab in the Admin area, I get a really nice view of the default image thumb on any individuals with media. Like this: Is there an option to have the "Thumb" show in the regular public name list? It currently looks like this when a non-Admin is looking: Thanks! Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 22, 2021 Report Share Posted June 22, 2021 Hi Sarah, no option is provided to do that. Must be a Mod... Michel Quote Link to comment Share on other sites More sharing options...
SarahBeth Posted June 22, 2021 Author Report Share Posted June 22, 2021 Thanks for the answer. I really like the option of seeing the thumbs. In a long list of the same names (I've got a lot of Johns and Richards), it helps to see the thumbs to lead you to more complete pages and key ancestors. Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 25, 2021 Report Share Posted June 25, 2021 On 6/22/2021 at 2:58 PM, SarahBeth said: Thanks for the answer. Sarah, try this and let me know... Michel Add_thumb_to_search_result_v13.0.4.beta1.cfg Quote Link to comment Share on other sites More sharing options...
SarahBeth Posted June 25, 2021 Author Report Share Posted June 25, 2021 59 minutes ago, Michel KIRSCH said: Sarah, try this and let me know... Michel Add_thumb_to_search_result_v13.0.4.beta1.cfg It's perfect! Thank you so much! You are amazing. Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted June 25, 2021 Report Share Posted June 25, 2021 4 hours ago, Michel KIRSCH said: try this and let me know... Michel Michel, Please, please do NOT add color font to %name:<font color="Red"><i>Add thumb to search result</i></font>% %version:<font color="Red"><i>v13.0.4.beta1</i></font>% Those of us you do not have perfect vision or are visually impaired (color-blind) have a difficult time to read those type of changes Thanks Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 25, 2021 Report Share Posted June 25, 2021 Hi Ken, I add color for the beta versions. Offical versions are not colored, of course. What color can i Add for you? Certainly depending of the background... Maybe bold and italic... Michel Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted June 25, 2021 Report Share Posted June 25, 2021 Michel, There is no reason to add any color if you use beta in the version number and cfg file names. I know most users do not understand being color-blind. I asked and it cannot be corrected during cataract surgery Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 25, 2021 Report Share Posted June 25, 2021 22 minutes ago, Ken Roy said: Those of us you do not have perfect vision This one so... Add_thumb_to_search_result_v13.0.4.beta1.cfg Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 25, 2021 Report Share Posted June 25, 2021 9 hours ago, SarahBeth said: It's perfect! Please, download the official version on https://tng.lythgoes.net/wiki/index.php/Add_thumb_to_search_result Michel Quote Link to comment Share on other sites More sharing options...
SarahBeth Posted June 25, 2021 Author Report Share Posted June 25, 2021 15 minutes ago, Michel KIRSCH said: Please, download the official version on https://tng.lythgoes.net/wiki/index.php/Add_thumb_to_search_result Michel Thank you! I have it installed and working. Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 25, 2021 Report Share Posted June 25, 2021 de nada ! Quote Link to comment Share on other sites More sharing options...
klooster Posted June 26, 2021 Report Share Posted June 26, 2021 Hi Michel, Thanks for the mod, works fine, BUT when I click on the thump is does NOT show the photo but the TNG login screen (when I am not logged in)?? PS: when I am logged in it shows theTNG admin page for the person Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 26, 2021 Report Share Posted June 26, 2021 Yes Cees, Actually, when clicking on the thumb, you are redirected to the Edit-media page. It's why you are asking for log in. I think it's better for the user's side to redirect to the "View media" page. If you're ok with that, i'll check and propose another mod. Michel Quote Link to comment Share on other sites More sharing options...
klooster Posted June 26, 2021 Report Share Posted June 26, 2021 Hi Michel, From a users viewpoint to redirect to the”view media” page would be a better idea in my opinion. Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 26, 2021 Report Share Posted June 26, 2021 Will check that this evening Cees. Michel Quote Link to comment Share on other sites More sharing options...
Rob Severijns Posted June 26, 2021 Report Share Posted June 26, 2021 Hi Michel, So only the guest and submitter go to the Login or view media page and all others go to the Login or Edit Media page? Rob Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 26, 2021 Report Share Posted June 26, 2021 Hi Rob, I change the behaviour of the link. When clicking on the thumb, every connected user goes to the showmedia page. Administrator goes to the admin_editmedia page via the Administration panel as usual. I send you he new mod by pm Michel Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 27, 2021 Report Share Posted June 27, 2021 The version 1a of the Mod, showing the media in showmedia.php instead of admin_editmedia.php is downlodable on the wiki : https://tng.lythgoes.net/wiki/index.php/Add_thumb_to_search_result Michel Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted June 27, 2021 Report Share Posted June 27, 2021 Michel, Your v13.0.4.1s version of the mod looks good and handles the old style default (treeID.personID.jpg) thumbnails correctly and does not attempt to go to showmedia.php. Well done Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted June 27, 2021 Report Share Posted June 27, 2021 Thanks Sarah for making the suggestion. And Thanks to Michel, as Captain Picard would say, 'making it so'. Nice little mod with a few well placed code lines which even work on my modified search page, which includes Scott DuPree's powerful Expand_Search mod. 😊 Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted June 27, 2021 Report Share Posted June 27, 2021 Hi Ron, I just send a new version of Expand search to Scott with small changes to avoid PHP8 notices and warnings... Michel Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted June 27, 2021 Report Share Posted June 27, 2021 Hi Michel, Thanks for helping Scott. Yes I noticed the warnings from the mod and look forward it's publication. There are of course numerous other mods that will need changes for PHP8 compliancy. I have been working on my private changes with PHP 8.07. BTW...you have an uppercase letter in the cfg file name, which is unconventional, and the download link doesn't indicate the full name, just the version.😉 Quote Link to comment Share on other sites More sharing options...
Philip Roy Posted June 28, 2021 Report Share Posted June 28, 2021 20 hours ago, Michel KIRSCH said: The version 1a of the Mod, showing the media in showmedia.php instead of admin_editmedia.php is downlodable on the wiki : https://tng.lythgoes.net/wiki/index.php/Add_thumb_to_search_result Michel Hmm...I'm seeing the page on the wiki say 1a, but the file I'm getting when downloading is still 13.0.4.1? Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted June 28, 2021 Report Share Posted June 28, 2021 ***deleted** Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.