hits out not counting

Can't get it installed? Not sure how a feature works? Then post here.

hits out not counting

Postby toolman » 2009-07-22 08:48 am

Hi there,
I have made a fresh install of the latest version, but hits out is not counting/updating.

Does anyone have any ideas whats causing this?

Thanks!
toolman
Newbie
 
Posts: 4
Joined: 2009-07-15 02:46 pm

Re: hits out not counting

Postby toolman » 2009-07-22 02:59 pm

Hi,
The url is http://www.showpoms.com/topsites.
I have tested in both IE and FF.
toolman
Newbie
 
Posts: 4
Joined: 2009-07-15 02:46 pm

Re: hits out not counting

Postby ridna » 2009-08-12 08:48 am

In file wrapper.html is a code:
Code: Select all
image.src= '{$list_url}/index.php?a=out&u=' + username;

This code in Firefox not working. :(

I just changed the $TMPL['url'] in file ./sources/misc/skin.php (Line 33) to solve this problem:
Code: Select all
//Change $url !!!
    $TMPL['url'] = $TMPL['list_url']."/?a=out&u=".$TMPL['username']."&go=1";

and delete line 12 (image.src= '{$list_url}/index.php?a=out&u=' + username;) in wrapper.html
ridna
Newbie
 
Posts: 2
Joined: 2007-08-06 03:55 pm

Re: hits out not counting

Postby Wasserlasser69 » 2009-10-14 08:11 pm

When I change the code this way I get an error message.
Any idea why?

Thx
Wasserlasser69
Newbie
 
Posts: 1
Joined: 2009-10-14 08:07 pm

Re: hits out not counting

Postby ridna » 2009-10-23 12:03 pm

I suggest the best solution to this problem:
In file /skins/wrapper.html need to change function out():
Code: Select all
<script type="text/javascript">
function out(link,username)
{
  link.setAttribute('href','{$list_url}/index.php?a=out&u=' + username+'&go='+link.getAttribute('href'));
}
</script>

and in all files scins/*.html with external links
Code: Select all
<a href="{$url}" onclick="out('{$username}');">
need to change:
Code: Select all
<a href="{$url}" onclick="out(this,'{$username}');">
ridna
Newbie
 
Posts: 2
Joined: 2007-08-06 03:55 pm

Re: hits out not counting

Postby Basti » 2009-10-24 09:43 pm

Working awsome ridna, thanks :)
Basti
Advanced Member
 
Posts: 1619
Joined: 2004-06-20 06:17 pm
Location: Germany

Re: hits out not counting

Postby patriotslist » 2012-11-22 09:13 am

Should this still work in firefox? I am unable to get it to register for clicks out. Thanks!
patriotslist
Advanced Member
 
Posts: 31
Joined: 2009-05-18 11:44 am


Return to Support

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron