Support » Plugins and Hacks » Mechanic Visitor Counter » [Plugin: Mechanic Visitor Counter] Bug that I can't fix

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aditya Subawa

    (@adityasubawa)


    simple, patch your plugin

    tip: row 137:::

    $tothitsgbr = sprintf(“%06d”, $tothitsgbr);
    /*
    for ($i = 0; $i <= 9; $i++) {
    $tothitsgbr = str_replace($i, “<img src=’http://www.roma921.com/wp-content/plugins/mechanic-visitor-counter/styles/$style/$i$ext’ alt=’$i’>”, $tothitsgbr);
    }
    */
    $str = str_split($tothitsgbr);
    $new_str = ”;
    foreach($str as $k => $v)
    {
    $new_str .= ‘<img src=”http://www.roma921.com/wp-content/plugins/mechanic-visitor-counter/styles/’.$style.’/’.$v.”.$ext.'”>’;
    }
    //image
    $imgvisit= “<img src='”.plugins_url (‘counter/visit.png’ , __FILE__ ). “‘>”;
    $imgtotal=”<img src='”.plugins_url (‘counter/line_chart.png’ , __FILE__ ). “‘>”;
    $imghits=”<img src='”.plugins_url (‘counter/hits.png’ , __FILE__ ). “‘>”;
    $imgtotalhits=”<img src='”.plugins_url (‘counter/bar_chart.png’ , __FILE__ ). “‘>”;
    $imgonline=”<img src='” .plugins_url (‘counter/online.png’ , __FILE__ ). “‘>”;
    //align
    ?>
    <div align=”<?php echo $align ?>”><?php /*echo $tothitsgbr*/ echo $new_str ?>

    <div><table width=’100′>

    sonthanhha

    (@sonthanhha)


    Install this plugin:
    SB Welcome Email Editor can not function because another plugin is conflicting.

    How can I fix this problem? Thank!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Mechanic Visitor Counter] Bug that I can't fix’ is closed to new replies.