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

GenoPro Support Forum




Excluding comments from a report for better privacy

Click to view RSS...
Author Checkbox to exclude some comments from a report
rdn
Posted Friday, August 18, 2006 - Post #12499
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Dan & Ron,

  Given the great suggestion for the escape character, I was wondering if this code can be placed as part of the standard report which will be shipped in subsequent versions. 

  This request also brings up another issue:  Because Ron's excellent report is a moving target, I have not as yet tried to translate it into Hebrew.  I would like to see a finalized version, along with the language additions Dan has been promising, before proceeding on my own. 

  Be that as it may, perhaps the standard report can have sections which can either call the regular section or exit to an external function, and then return.  for example:

#if exit_to_non_standard_code

   Call non_standard_code_1

#else

   <standard code>



Danny
rdn
Posted Monday, August 14, 2006 - Post #12450
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Thanks Ron,  Great idea !

Danny
Posted Sunday, August 13, 2006 - Post #12443
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 days ago @ 10:49 AM
Posts: 3,441, Visits: 26,645
rdn (7/6/2006)
Is this feature of a private comment going to be available soon?

Just browsing some earlier posts and came across this one. If you can't wait for GenoPro to implement private comments then there is a D.I.Y. solution that has been around since at least Beta 14b

Simply use a unique delimiter to separate your public comment from the private one. e.g. use the section mark § (hold down the ALT key and type 0167 on the numeric pad to get this character or copy and paste it).

The create yourself a customised report template (or use one you already have) and modify the 'annotate' functions WriteHtmlAnnotation & WriteHtmlAnnotationPicture in Util.vbs as follows

Change 1st line of WriteHtmlAnnotation
Sub WriteHtmlAnnotation(strAnnotationType, strAnnotationComment)
to
Sub WriteHtmlAnnotation(strAnnotationType, strAnnotationCommentFull)
 Dim strAnnotationComments, strAnnotationComment
 strAnnotationComments = split(strAnnotationCommentFull,"§")
 If Ubound(strAnnotationComments) >= 0 Then strAnnotationComment = strAnnotationComments(0)

and this line in WriteHtmlAnnotationPicture
  strDescription = Util.HtmlEncode(p.description)
to
  Dim strDescriptions
  strDescriptions = split(p.description,"§")
  If Ubound(strDescriptions) >= 0 Then strDescription = Util.HtmlEncode(strDescriptions(0))

It will then only report on the comment text appearing before the § character. Of course only comments that actually contain private notes need to have the § character present. If all of the comment is private then simply put § as the 1st character.

If you don't want to use § change the above code to use whatever unique delimiter you choose.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Saturday, August 12, 2006 - Post #12426
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 3.1.0.1

Last Login: Friday, November 3, 2023
Posts: 26, Visits: 97
I've always wanted a larger display window for the general comments field. There is just not enough space to work with (500 characters) for editing and cut/paste operations. The birth and death comments fields are three times the size (1500 characters), which would be a good size for the general comments field. Since I am not using any photos in my database, the space for pictures on the general tab is wasted. I will use notepad or word to manipulate large comments, or sometimes I use the birth comments field to edit and then cut/paste it to the general comments field. Why not have the whole properties dialog box resizeable?
Posted Thursday, July 6, 2006 - Post #11760
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: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
rdn (7/6/2006)
Is this feature of a private comment going to be available soon?

This is a post-version 2.0.  If we keep adding new features to GenoPro, we will never release GenoPro 2.0.

rdn
Posted Wednesday, July 5, 2006 - Post #11757
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Is this feature of a private comment going to be available soon?

Danny
rdn
Posted Wednesday, June 21, 2006 - Post #11653
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
What we are talking is quite advanced stuff.  I don't think any genealogy software currently supports something like that.

I totally agree.  GenoPro puts everyone else in the dust.  Keep on truckin'    !!!

Danny

Edited: Wednesday, June 21, 2006 by GenoProSupport

Posted Wednesday, June 21, 2006 - Post #11651
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: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
rdn (6/21/2006)
What are you going to do when the number of tags increase or even multiply (as they inevitably do)?

First, I don't think there will be many tags.  For instance, the tag [html] will indicate real HTML content is present within the comment.  This HTML content will use standard HTML tags such as <b>, <u> <a> and so on.  Maybe some shortcut HTML tags will be added such as [url=] and [img], but the core will be based on true HTML tags having angle brackets <>.

I think having the tags [private], [html] and [lang=] will be enough to handle all cases for private and public comments in all languages... the other tags will be optional.

A mini-toolbar can easily accomodate a dozen buttons.  Other functions can be available from a context menu and keyboard shortcuts.  What we are talking is quite advanced stuff.  I don't think any genealogy software currently supports something like that.

Edited: Wednesday, June 21, 2006 by GenoProSupport

rdn
Posted Wednesday, June 21, 2006 - Post #11649
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
What are you going to do when the number of tags increase or even multiply (as they inevitably do)?

Danny
Posted Wednesday, June 21, 2006 - Post #11648
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: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
rdn (6/21/2006)
I also like the tags.  The problem begins with non-programmers.  Are they going to need a Frontpage-like editor to be able to use the special tags?

Those tags will be available from mini-toolbar with buttons to insert the [private][/private], [html][/html], and [lang=][/lang] of the selected text.  This mini-toolbar would appear instead of the green and red buttons in the screenshot above.

Of course, there will be only one textbox for the comment, however this textbox could contains a combination of comments, public and private, in many languages.  One advantage of this design is it can also be used for other fields such as names.



Edited: Wednesday, June 21, 2006 by GenoProSupport



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!