Results 1 to 15 of 15

Thread: Hit counter

  1. #1
    Join Date
    Jun 2007
    Posts
    255

    Default Hit counter

    Hit Counter problem.

    it works but not when someone click on the blue link ( link with numbers)

    Browse by categories: Free Directories

    it counts if they go by detail

    how can i repair this?
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Probably because they open in a new window. Did you try disabling that and seeing if that was the issue?

  3. #3
    Join Date
    Jun 2007
    Posts
    255

    Default

    yes bruce that is causing it.

    how can i fix this?

    i would like to have it open a new window.
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    I just tested this on Deluxe, and opening in a new window does track the hits.

    But I noticed something, you need to use $tpl_base and not the full path in the trackclick script. If you're using the full path then it won't track hits for some reasons.

    For 5.x I don't know if there is a workaround other than removing the target="_new".

  5. #5
    Join Date
    Jun 2007
    Posts
    255

    Default

    Quote Originally Posted by Bruceper View Post
    I just tested this on Deluxe, and opening in a new window does track the hits.

    But I noticed something, you need to use $tpl_base and not the full path in the trackclick script. If you're using the full path then it won't track hits for some reasons.

    For 5.x I don't know if there is a workaround other than removing the target="_new".

    i just changed it back.

    Where can i find the target="_new" to remove?
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    should be in rows.html

    Try removing it, and see if the hit counter works or not. Then place it back and test it again.

    From what I can see, it shouldn't matter if it opens in a new window or not.

  7. #7
    Join Date
    Jun 2007
    Posts
    255

    Default

    i added the open new window again.

    the only target i see in rows is this one: <a href="<%$url%>" target="_blank
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  8. #8
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    that would be it. target=_new, target=_top, target=_blank, target=_self are all valid.

    Your difficulties lately seem to resolve around HTML issues. I'm not trying to say anything bad but perhaps you should look for a free online course about HTML so you can improve your skills. This would make like much easier for you if you want to modify Indexu.

  9. #9
    Join Date
    Jun 2007
    Posts
    255

    Default

    Quote Originally Posted by Bruceper View Post
    that would be it. target=_new, target=_top, target=_blank, target=_self are all valid.

    Your difficulties lately seem to resolve around HTML issues. I'm not trying to say anything bad but perhaps you should look for a free online course about HTML so you can improve your skills. This would make like much easier for you if you want to modify Indexu.
    it's ok bruce i am trying and learning and will take all hints and tips

    i tried all you suggested but whatever i do the clicks wont count.

    so i changed it back to the normal settings, other suggestions?
    Last edited by piet; 03-27-2009 at 02:28 PM.
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  10. #10
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    do the clicks count even when back to normal? If the answer is no then you're missing the trackclick script in the footer

  11. #11
    Join Date
    Jun 2007
    Posts
    255

    Default

    yes, back to normal the clicks count.
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  12. #12
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    ok, now try adding target="_new" in detail_link.html. Then clear the template cache, click on a link and see if it counts up.

  13. #13
    Join Date
    Jun 2007
    Posts
    255

    Default

    done it counts up on normal setting.
    but not on open new window.
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  14. #14
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    It looks like you're out of luck then.

  15. #15
    Join Date
    Jun 2007
    Posts
    255

    Default

    thank for the help given bruce.

    i will keep trying to get it to work.
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

Similar Threads

  1. Hit counter problem
    By giannisff in forum v5.x
    Replies: 2
    Last Post: 10-17-2008, 12:14 PM
  2. counter not updating
    By lewisw in forum v5.x
    Replies: 15
    Last Post: 05-05-2006, 09:34 AM
  3. How do I remove go.php counter?
    By kservik in forum v5.x
    Replies: 25
    Last Post: 06-16-2005, 06:12 PM
  4. Additional Counter
    By bestfx in forum v3.2
    Replies: 0
    Last Post: 01-19-2004, 09:15 PM
  5. Link ID counter - where is it ?
    By Frank71 in forum v5.x
    Replies: 8
    Last Post: 10-06-2003, 11:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •