Visits Page – Hover over Flag gives "xxx"
-
When I hover over a flag on the Visits page all I ever get is “xxx”.
I’m using newstatpress.1.0.9
The code for this is in includes/nsp_visits.php e.g. nsp_Spy()
foreach($lines as $line_num => $nation) { list($id,$title)=explode("|",$nation); if($id===$rk->nation) break; }
$lines comes from def/domain.dat
Its format is lines like:
New Zealand|nz|The order in the dat file is different to that expected by the code. I solved this problem for me by swapping $id and $title in the code:
list($title,$id)=explode("|",$nation);
Would you be able to incorporate this fix (or a swapped .dat file) in a later version please?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Visits Page – Hover over Flag gives "xxx"’ is closed to new replies.