stangger5
02-06-2016, 12:40 AM
Find this in the arcade skin.
function rating($game,$pagereload) {
Replace it with this:
function rating($game) {
Find this:
function rating_general($text,$pagereload) {
global $ibforums;
$output="";
if ($pagereload!=true)
{
$output .= " <script type=\"text/javascript\">
<!--
opener.location.replace(window.opener.location.hre f);
-->
</script>";
}
$output .= " <div class=\"tborder\" align=\"center\">
<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\">
<tr>
<td class=\"tcat\">{$ibforums->lang['rate_message']}</td>
</tr>
<tr>
<td class=\"alt1\">{$text}</td>
</tr>
</table>
</div><br />";
return $output;
}
replace it with this:
function rating_general($text,$pagereload) {
global $ibforums;
$output="";
if ($pagereload!=true)
{
$output .= " <script type=\"text/javascript\">
<!--
window.close();
-->
</script>";
}
return $output;
}
function rating($game,$pagereload) {
Replace it with this:
function rating($game) {
Find this:
function rating_general($text,$pagereload) {
global $ibforums;
$output="";
if ($pagereload!=true)
{
$output .= " <script type=\"text/javascript\">
<!--
opener.location.replace(window.opener.location.hre f);
-->
</script>";
}
$output .= " <div class=\"tborder\" align=\"center\">
<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\">
<tr>
<td class=\"tcat\">{$ibforums->lang['rate_message']}</td>
</tr>
<tr>
<td class=\"alt1\">{$text}</td>
</tr>
</table>
</div><br />";
return $output;
}
replace it with this:
function rating_general($text,$pagereload) {
global $ibforums;
$output="";
if ($pagereload!=true)
{
$output .= " <script type=\"text/javascript\">
<!--
window.close();
-->
</script>";
}
return $output;
}