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

GenoPro Support Forum




Adding Statcounter

Click to view RSS...
Author I want to be able to have more detailed records of visits to my site.
Posted Monday, February 26, 2007 - Post #16565
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
Poolzone is right; you have to upgrade to GenoPro 2007.  Some of the tags have been renamed for GenoPro 2007 and almost any code you will receive from others will not work unsing an old Beta.
Posted Monday, February 26, 2007 - Post #16562
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
Hi Boyd,    Firstly,  the hyperlink appears to be working correctly.  As you say, when you click on the words "Send me your feedback on this site" you open up your email client.

The problem seems to be that you are confused about the report Generator useage.  You need to study up on the help files in this regard.  But I do notice that you have upgraded to 2.0.0.2 and may be using the report generator skin from 2007.  You should rename the current Customised English Narative Report by putting 2007 after it's name (Customised English Narative Report 2007), then go back to the report generator and pull down the English Narative Report and click on Edit Skin. This will create a new skin called Customised English Narative Report.  This is the skin you should then use.  If you have made any changes to the previous skin you can copy them over, but do not replace entire files.

This probably explains why you are not seeing the desired results in your Reports.

Have a pleasant trip to Portugal. Don't get sunburnt.

Poolzone  a mere cog in a revolution

Posted Monday, February 26, 2007 - Post #16561
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: Thursday, September 5, 2024
Posts: 67, Visits: 221
Sorry - it's not a hyperlink - even though the words "Send me your feedback on this site" is a hyperlink to my email addy when I double click on the home.htm file.  I did exactly as you said, and my home'htm file looks exactly like your example above.

In the Skin Name window on the Report generator, should I be using:

English Narrative Report  {EN}

or

\Customized English Narrative Report\*  (English Narrative Report)  {EN}

from the drop down list?

I have been using the former all along.  I suppose it must be the right one if I was able to get the Statcounter to work (partially).

If I try to use the latter, the generation fails and I get this:

Cloning document boyd gray - the full tree033...
The privacy filter has removed 83 living individuals which represents 12% of the total document.
To turn off the privacy filter, visit the "Privacy" tab and uncheck the option "Remove All Living Individuals".
Opening configuration file Config.xml for skin '\Customized English Narrative Report\* (English Narrative Report)'...
Validating picture cache...
Error in Config.xml at line 114: Unable to parse '{Name.LastOrLast2:25}-{Name.FirstMiddle:35}-{id}.htm' (Invalid tag name 'Name.FirstMiddle')
Loading dictionary.xml...
[0.00] Processing template 'init.htm'...
[0.45] The tag 'PedigreeLink.pedigree_link' is no longer valid. Try 'PedigreeLink.PedigreeLink'
Error at line 254 (init.htm) : Object doesn't support this action: 'pedigree_link.id'
Microsoft VBScript runtime error 800A01BD

Sorry I am making this so difficult.

Boyd

PS (Don't rush your reply, assming you were going to dive one, - I am off to Portugal for a week - nervous exhaustion after all this programming!)

Edited: Monday, February 26, 2007 by GenoProSupport

Posted Monday, February 26, 2007 - Post #16560
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
boydgray26 (2/26/2007)
Iain,

What is the difference between your website and "the tree here at genopro" because that is what I am calling my website?

Boyd

Hi Boyd,

My web site is at www.beath.net and at the moment has the same tree as on the GenoPro site plus the password protected private trees.

I put the stat counter on my web site as there is already one at GenoPro.

I will be reducing the tree on my web site soon to just my ancestors and the directly connected families to save space.

By the way this is where I put my stat counter code in my home.htm just before the </body>

<center>
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=2305422;
var sc_invisible=0;
var sc_partition=21;
var sc_security="e06cdeaa";
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/frames.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img  src="http://c22.statcounter.com/counter.php?sc_project=2305422&amp;java=0&amp;security=e06cdeaa&amp;invisible=0" alt="free web stats" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
</center>
</body>
</html>

I hope this will help

Edited: Monday, February 26, 2007 by IainTait

Posted Monday, February 26, 2007 - Post #16558
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
I should be more careful when giving advice.   Go to the beginning of the line "Send me your feedback on this site</A>" and 'baclspace' so it joins the line above it.

]%>
</p><p>@[ Report.WriteText doc.Description ]@</p>
<A HREF=mailto:poolzone@optusnet.com.au>Send me your feedback</A>
<br/>
<%[

The only part that should show when you double click the home.htm file is the comment i.e. "Send me your feedback" which you can click to open your email client.

Iain is quite right in warning you about Robots picking up an email address posted as a hyperlink, or even written in the form of an email address. Your Spam can increase considerably.

Poolzone  a mere cog in a revolution

Posted Monday, February 26, 2007 - Post #16557
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: Thursday, September 5, 2024
Posts: 67, Visits: 221
Sigh, no good.  Going backwards in fact, as there is now no hyperlink when you double click on the home.htm file.  This is what it looks like:

<%[@ IncludeFile "Code/Util.vbs" ]%>
<%[
Set doc = ReportGenerator.Document
Set oStringDictionaryNames = Session("oStringDictionaryNames")
strTitle = Session("Title")

InitGlobalVariables

]%><?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="en"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>@[ Report.WriteText strTitle ]@ - Report Summary</title>
<meta name="description" content="@[WriteMetaDescriptionReport]@" />
<meta name="keywords" content="@[WriteMetaKeywordsReport]@" />
<link rel="stylesheet" href="style.css" type="text/css"/>
<script src="script.js" type="text/javascript"></script>
</head>
<body
 onload="document.getElementById('divEnableScripting').style.display='none'; top.document.title='@[Report.Write Util.JavaScriptEncode(strTitle)]@'; if (self == parent) document.getElementById('divFrameset').style.display='block';">
<p>@[ Report.WriteFormattedLn Dic("FmtHtmlHomeIntro"), strTitle, Individuals.Count, Families.Count ]@
<%[
strFamilyTreeGno = ReportGenerator.ExtraFiles("FamilyTree.gno")
If (strFamilyTreeGno <> "") Then
 Report.WriteFormattedBr Dic("FmtHtmlHomeBrowser"), strFamilyTreeGno, Dic.FormatString("FmtAltViewGnoFile", Util.HtmlEncode(strTitle))
End If
]%>
</p><p>@[ Report.WriteText doc.Description ]@</p>
<p><A HREF=mailto:boydgray26@utvinternet.com>
Send me your feedback on this site</A>
<br/>
<%[
iNameLast = oStringDictionaryNames.Count - 1
If (iNameLast > 19) Then
 iNameLast = 19  ' Keep only the first 20 families
End If
strFmtTemplate = "<a href='toc_individuals.htm#{0&t}' target='toc'>{0&t}</a>&nbsp;<small>({})</small>"
If g_fUseTreeIndexes Then strFmtTemplate = "<a href='toc_individuals.htm#{0&t}' onclick='explorerTreeOpenTo(parent.parent.toc, ""names"",""{0&j}"", 0, 1, ""2"");' target='toc'>{0&t}</a>&nbsp;<small>({})</small>"
cPlaces = Places.Count
]%>
<a name='MostPopular'></a>
<hr/>
<table class='table1'><tr><td@[Report.Write Util.IfElse(cPlaces > 0," width='49%'","")]@>
<h2>@[ Report.WriteTextDic "HomeMostPopularFamilyNames" ]@</h2>
<%[
strSep=""
For iName = 0 To iNameLast
 Report.WriteFormatted strSep & strFmtTemplate, oStringDictionaryNames.Key(iName), oStringDictionaryNames.KeyCounter(iName)
 strSep = ", "
Next

If g_fUseTreeIndexes Then
 Report.WriteBr Report.TagBr
 Report.WriteFormattedLn "<a href='toc_names.htm' target='popup' onclick='showPopUpFrame(""40%"");'><img src='images/toc_names.jpg' align='bottom' alt=''/>&nbsp;{}</a>", Dic("TocAZSurnameIndex")
End If

If cPLaces > 0 Then
 Report.WriteFormattedLn "</td><td width='2%'></td><td><h2>{}</h2>", Dic("TocIndexPlacesPopular")
 Places.SortBy("-Dependents.Count") ' Sort by most popular place
 iLast = Places.Count - 1
 If iLast > 19 Then iLast = 19

 strSep=""
 For i = 0 to iLast
   Set p = Places(i)
   Report.WriteFormatted strSep & "<a href='place-{0}.htm' onclick='showPopUpFrame("""");' title='{1&t}' target='popup'>{2&t}</a>&nbsp;<small>&nbsp;({3})</small>", p.id, p.Category, p, p.Dependents.Count
   strSep = ", "
 Next
End If
]%>

</td></tr></table>
<br/>
<div id="divEnableScripting"><hr/>
 <table width="80%" cellpadding="10">
  <tr>
   <td bgcolor="#FFFF00">@[Report.Write Dic("FmtHtmlHomeScripts")]@</td>
  </tr>
 </table><br/></div><hr/>
<p align="center"><small>@[Report.WriteFormatted Dic("FmtHtmlHomeSkin"), ReportGenerator.SoftwareVersion, FormatDateTime(Date(),1),
Util.IfElse(ReportGenerator.PathSkin, "", "custom "), ReportGenerator.SkinName, ReportGenerator.SkinVersion ]@.<br/><br/>

</small></p><div class="floatleft">
    <a href="http://validator.w3.org/about.html "target="_blank"><img
        src="images/valid-xhtml10.png"
        alt="Valid XHTML 1.0 Transitional" title="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
</div>
<p align="center"><a target="_blank" href="http://www.genopro.com/"><img src="images/genopro.logo.gif" alt="@[Report.Write Dic("AltGenoProLogo")]@" title="@[Report.Write Dic("AltGenoProLogo")]@" border="0" width="36" height="36"/></a></p>
<%[WriteHtmlFramesetSafeguard(oStringDictionaryNames.Count)]%>

<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=2094805;
var sc_invisible=0;
var sc_partition=19;
var sc_security="ac80c3cd";
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/frames.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img  src="http://c20.statcounter.com/counter.php?sc_project=2094805&amp;java=0&amp;security=ac80c3cd&amp;invisible=0" alt="free web page hit counter" border="0"></a> </noscript>
<!-- End of StatCounter Code -->

</body>
</html>

I wonder could I send you my home.htm file as an attachment and let you edit it?

Posted Monday, February 26, 2007 - Post #16556
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: Thursday, September 5, 2024
Posts: 67, Visits: 221
Iain,

What is the difference between your website and "the tree here at genopro" because that is what I am calling my website?

Boyd

Posted Monday, February 26, 2007 - Post #16555
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: Thursday, September 5, 2024
Posts: 67, Visits: 221
Hi (is it John?),

It DOES show a working hyperlink when you double click on the home.htm file - which when you left click on, opens Outlook Express, with my name in the To window, and when you double click on that, it is indeed my email address.  I removed the words you suggested and it still shows a hyperlink, only this time just saying mailtoboydgray26@utvinternet.com and again left clicking gives my name in the To window of OE and my email addy when you double click on my name.  So, it should be working on the site - but it isnt!  A bit like the counter which doesn't show either.

I will try your second suggestion.

Posted Monday, February 26, 2007 - Post #16554
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
boydgray26 (2/26/2007)
Hi Iain,

I think you are getting a tad confused.  I am defo not trying to use someone else's code to put Stacounter on my website.  I have registered with Statcounter, just as you did, set up my project with them, DID NOT CLICK INVISIBLE - chose the counter option - got my code, and thanl's to Poolzone, inserted it into the correct place in my "home.htm" file.  It now works in so far as I get the stats at Statcounter.  What isn't working yet is that there is no visible counter on my website.Boyd

I did not mean you, I was generalising as I had tried the code shown myself as a test and it didn't work which is why I went to the site.

I don't remember what I did exactly but my counter is visible at the bottom of my home.htm and is working on my web site but I haven't put it in my tree here at GenoPro as there is no need.

Edit.

I also have my email address in my home page which you can see is encrypted to avoid web crawlers.

I will try and find the tool that did this for me ages ago and post it.

I haven't found the java script but here is the web site for it <!-- HTML Source Code Protected By: <http://www.DesignerWiz.com> FREE HTML Source Code Encryption Protection -->

I hope this helps

Edited: Monday, February 26, 2007 by IainTait

Posted Monday, February 26, 2007 - Post #16553
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: Thursday, September 5, 2024
Posts: 67, Visits: 221
Hi Iain,

I think you are getting a tad confused.  I am defo not trying to use someone else's code to put Stacounter on my website.  I have registered with Statcounter, just as you did, set up my project with them, DID NOT CLICK INVISIBLE - chose the counter option - got my code, and thanl's to Poolzone, inserted it into the correct place in my "home.htm" file.  It now works in so far as I get the stats at Statcounter.  What isn't working yet is that there is no visible counter on my website.

We then moved on from there and Poolzone is now trying to help me make my email address a hyperlink by showing me what code to insert, again into the home.htm file.  But this is an entirely separate task and I am using the code I am sure he used to do it on his site, except, of course, I am changing his email address for mine.

But thanks for your help.  I suspect you got your Statcounter to work straight off (gnashing of teeth!) because you have some experience of website building and messing with codes.  I am a complete ingenue!

Boyd



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

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