|
|
Customers FamilyTrees.GenoPro.com Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Thursday, December 19, 2024
Posts: 214,
Visits: 3,616
|
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 9:20 AM
Posts: 3,396,
Visits: 26,180
|
The code hasn't changed in a long time, in fact not since the secure HTTPS protocol became more popular. The script only checked for http: not https:
Use the attached genomap.svg script in Narrative Common\Code folder to correct this.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
genomap.svg
(113 views,
89.98 KB)
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.0
Last Login: 10 hours ago
Posts: 1,583,
Visits: 31,684
|
The easier way to link the files is to use the system built into GenoPro; I have just tried it and it worked. Select an individual in the first file; open Properties; select the Hyperlink tab; browse to the new file. This will create an internal (PC only) link which will open the other file centered on the same individual. If you open the properties here and open the Family tab you can copy the Permanent ID. Return to the first file, open the Hyperlink tab of properties and add to the external hyperlink the phrase ?id= followed by the Permanent ID (where I used copy/paste ) Apologies for being over detailed but this might help others. Also I realise it does not address your problem of creating a link that works generally but this should be the sort of format you need
|
|
|
Customers FamilyTrees.GenoPro.com Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Thursday, December 19, 2024
Posts: 214,
Visits: 3,616
|
thanks for the changes and for the answers
Vittorino Lepore  "Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"
|
|
|
Customers FamilyTrees.GenoPro.com Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Thursday, December 19, 2024
Posts: 214,
Visits: 3,616
|
I tried the genomap.svg fix: the external link from the genomap SVG was changed. But the problem was not this. Sorry if I had not explained the problem well. The problem concerns the html page of every individual! With some difficulty, I realized that the correction must be made in util.vbs to the line 984. I tried this correction and it seems to me that it works: line 984: If strLink = "http:" or strLink = "https" or strLink = "file:" or mid(Lcase(obj.Hyperlink.Target),1,7) = "mailto:" Then strLink = obj.Hyperlink.Target Else ....................Greetings
Vittorino Lepore  "Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"
Edited: Monday, September 24, 2018 by
vlepore
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 9:20 AM
Posts: 3,396,
Visits: 26,180
|
Yes I misread your original post and also had forgotten about any external hyperlink also appearing in the Additional Information section of the Individual's page and so I wrongly assumed you were referring to the GenoMap link.
Thanks for the update and I have attached the amended Util.vbs here in case anyone else needs it before an update appears in a GenoPro update.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Util.vbs
(235 views,
121.94 KB)
Edited: Thursday, September 27, 2018 by
genome
|
|
|
Customers FamilyTrees.GenoPro.com Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Thursday, December 19, 2024
Posts: 214,
Visits: 3,616
|
Thanks Ron. I do not know why, but now Google maps also work without API key. Greetings
Vittorino Lepore  "Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 9:20 AM
Posts: 3,396,
Visits: 26,180
|
Yes Google Maps API seems to work initially but then the grey overlay returns after about 5 to 10 map requests.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Wednesday, January 15, 2025
Posts: 256,
Visits: 1,727
|
Thank you for including the code for Line 984.
For some reason, Windows Defender kept identifying the Util.vbs file as containing a Trojan when I attempted to download it.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 9:20 AM
Posts: 3,396,
Visits: 26,180
|
That is really strange. I got exactly the same thing when I tried to download it. I tried converting to a zip and uploaded that but on download Windows Defender blocked that too.
I even got the error when trying to re-save the file from my text editor. So eventually I tried amending the script slightly by adding a comment line above line 984. ' check if external hyperlink If strLink = "http:" Or strLink = "file:" Or mid(Lcase(obj.Hyperlink.Target),1,6) = "https:" Or mid(Lcase(obj.Hyperlink.Target),1,7) = "mailto:" Then strLink = obj.Hyperlink.TargetThis time Windows Defender stayed silent and I was able to upload the (slightly) changed file. I can only assume a checksum of the original file coincidentally matched that of a known virus. Any way you should be able to download it now.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|