GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Custom skin for selective password-protection

Click to view RSS...
Author
PEH
Posted Friday, January 26, 2007 - Post #16018
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
Gamma
GenoPro version: 3.1.0.1

Last Login: Saturday, May 4, 2024
Posts: 15, Visits: 65
In a previous post http://support.genopro.com/FindPost15188.aspx I asked whether I could write different individuals into different directories, with a view to selectively password-protecting them. I have now succeeded in doing this. As this may be useful to others I have made the skin available at http://roots.havercan.net/GenoPro-Skins. You can see it working at http://roots.havercan.net/havercan/.

The skin also allows URLs that are entered in the annotation in GenoPro comment boxes to become active hyperlinks when the HTML report is generated.

I read some hints in the SDK pages that it was intended to make downloadable skins available as .skn files, but I didn't find any information about how to construct such files, or how to unpack them if you ever built one. Anyway, I think the .skn filetype is used elsewhere for other purposes. So I just packed up the skin as a regular zip file.


Edited: Friday, January 26, 2007 by PEH
Posted Friday, January 26, 2007 - Post #16019
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Thursday, January 16, 2025
Posts: 4,886, Visits: 22,775
PEH (1/26/2007)

I read some hints in the SDK pages that it was intended to make downloadable skins available as .skn files, but I didn't find any information about how to construct such files, or how to unpack them if you ever built one. Anyway, I think the .skn filetype is used elsewhere for other purposes. So I just packed up the skin as a regular zip file.

Wow, thanks for your contribution with an improved report skin.

By the way, the .skn file format has been dropped for the following reasons:

  • The .skn extension was creating confusion to the end user.  Having a file of "unknown" extension is always a mystery; it is much better to have something like .zip or a regular folder containing the files.
  • Sometimes two reports skins would have the same name, one from a .skn and one from a folder.  For instance, a skin file named "MyReport.skn" and a folder named "\MyReport\" would result in such a scenario.  GenoPro would pick the folder over the .skn file name, nevertheless it would be confusing.
  • During the past 5 years, not a single user sent me a .skn file as an email attachment.  Everyone who sent an updated skin, either ZIPped it, RARed it, or sent all the files separately as email attachment.
  • I needed to re-write the code to support the new .skn files with Unicode. instead I prefer to use the new code supporting .zip format.  At the time the .skn files were designed, GenoPro was not supporting the .zip file format.
  • We plan to write a webservice to make it easy for people to download and install additional skins.  With one click, you will be able to view a list of report skins in a Table Layout (grid) format.  Double-clicking on one of them would download and install the skin on your computer.  Users will be able to submit skins to our server and also vote on the quality of each skin.
PEH
Posted Friday, January 26, 2007 - Post #16024
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
Gamma
GenoPro version: 3.1.0.1

Last Login: Saturday, May 4, 2024
Posts: 15, Visits: 65
Glad you like the skin. I'd like to do some more work on it later. I'd originally intended to have multiple private folders to allow for partitioning between different audiences, but I couldn't originally see how to do it. I only discovered rather late how genomap.htm creates multiple instances of itself. I'd also like to make the hyperlinks to the public and private pages show in different colours, so someone without the password doesn't fall into a password prompt by mistake. But these changes may not be for some time.

I understand about withdrawing the .skn file format, but you should remove the documentation about it too (on the "Report Configuration Settings" page in the SDK documentation).

It would be great to have a single repository for user-developed skins. It would be interesting to see what customizations others are doing.
Posted Friday, January 26, 2007 - Post #16031
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
Great idea, I had a complicated task when I made my pass word protected trees a couple of years ago.

I don't have urls in my comments so don't have a problem with the hyperlinks, but I would like to know how you generate your pass word invite popup as I would like to try it out on my computer before personalising the skin.

I had to use special html pages to get my pass words up and running and I even scrambled the source code so that the pass words can't be read from the source.

PEH
Posted Saturday, January 27, 2007 - Post #16040
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
Gamma
GenoPro version: 3.1.0.1

Last Login: Saturday, May 4, 2024
Posts: 15, Visits: 65
The enhanced privacy skin does not perform the password protection itself: it just splits the tree into separate directories so that you can selectively protect those. The actual password specifications are done in the webserver. For Apache webservers this is done in the .htaccess configuration file. See http://httpd.apache.org/docs/2.2/howto/htaccess.html for details. This assumes that your web hosting service gives you control over the configuration files. Since you are using familytrees.genopro.com you'll have to use the password protection facilities available through that service. I don't use this, so I can't advise you.
Posted Saturday, January 27, 2007 - Post #16043
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
Thanks for the tips.

Unfortunately I am not very hot on this type of thing and couldn't quite get my head round the web site you suggested.

How many files do I need, what are they called and what do they contain?

I can adapt html but I can only copy and paste Java script and others as I can't write it from scratch.

I have a system of html pages to protect my private trees in their separate folders but I have to generate full reports for each tree as I can't selectively make people private as your system does.

Your system wouls help me save space and duplications.



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 4 - 1 guest, 2 members, 0 anonymous.
Refresh