Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Robert Heller

    (@robertpheller)

    OK, it appears that GplusBadge is totally borked. The older versions don’t work either. I even installed it another fairly ‘vanila’ site and it also spits out raw HTML. I’m going to disable the widget for now and wait for an update…

    Thread Starter Robert Heller

    (@robertpheller)

    OK, I have found the problem. In getPageFile() (in gplusbadgehelper.php) there are two echo statements that should not be there. When I commented them out, the plugin works correctly. Here is the patched function:

    protected function getPageFile($url) {
                    // empty the html property (although it's probably empty anyway$
                    $html = '';
    
                    // get the data
                    $html = file_get_contents($url);
                    //echo htmlentities($html);
                    //echo "<br/>";
    
                    return $html;
            }

    Thanks for your work on this RobertPHeller. Seems the developer took a bit of a vacation.

    When he gets back, I hope he looks into why the circle counts don’t update…

    Plugin Author skipser

    (@skipser)

    Hi All,

    Sorry for the delay. Yes I took a small break!!

    All issues fixed and uploaded version 1.6. Please upgrade to make everything work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: GplusBadge] The plugin is displaying its HTML as raw code.’ is closed to new replies.