2022-02-11, 01:11 PM
Hello all ;D
I use the plugin Prostats 1.9.7.2 in my forum. Unfortunately, the browser now randomly displays a link to Google. I could find out that in the code a link to a wordpress website was placed. This seems to be advertising, how can I remove this code ?
Here is the code:
Line 523
I have already tried to remove the code myself, but then it hailed only erros ...
Greetings
Bogus | GridTalk.de
I use the plugin Prostats 1.9.7.2 in my forum. Unfortunately, the browser now randomly displays a link to Google. I could find out that in the code a link to a wordpress website was placed. This seems to be advertising, how can I remove this code ?
Here is the code:
Line 523
function prostats_reload()
{
\$("#prostats_table").prepend('<div id="ps_reload_layer" class="tborder"><img src="{\$mybb->settings['bburl']}/images/spinner_big.gif" alt="spinner" /></div>');
\$('#ps_reload_layer').css({
"height": \$('#prostats_table').find('table:first').height()+'px',
"width": \$('#prostats_table').find('table:first').width()+'px',
"top": \$('#prostats_table').offset().top,
}).fadeTo(0, 0.1).fadeTo("slow" , 0.8);
\$.ajax(
{
type: 'POST',
url: '{\$mybb->settings['bburl']}/xmlhttp.php?action=prostats_reload',
dataType: 'json',
data: { ajax: 1, my_post_key: my_post_key },
success: prostats_done
});
return false;
}
function prostats_done(data)
{
if(data.hasOwnProperty("errors"))
{
\$(".jGrowl").jGrowl("close");
\$.each(data.errors, function(i, message)
{
\$.jGrowl(message);
});
}
else if(data.html)
{
\$("#prostats_table").html(data.html);
}
}
I have already tried to remove the code myself, but then it hailed only erros ...
Greetings
Bogus | GridTalk.de