http://www.next-level-arcade.com


Results 1 to 4 of 4
  1. #1
    Web Admin stangger5's Avatar
    Join Date
    Nov 2005
    Posts
    3,128
    Thanks
    580
    Thanked 773 Times in 460 Posts

    Auto Close Game Rating Window

    Find this in the arcade skin.

    PHP Code:
    function rating($game,$pagereload) { 
    Replace it with this:

    PHP Code:
    function rating($game) { 
    Find this:

    PHP Code:
    function rating_general($text,$pagereload) {
    global 
    $ibforums;

    $output="";

    if (
    $pagereload!=true)
    {
        
    $output .= "    <script type=\"text/javascript\">
        <!--
            opener.location.replace(window.opener.location.href);
        -->
        </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:

    PHP Code:
    function rating_general($text,$pagereload) {
    global 
    $ibforums;

     
    $output="";

    if (
    $pagereload!=true)
    {
        
    $output .= "    <script type=\"text/javascript\">
        <!--
            window.close();
         -->
        </script>"
    ;
    }

    return 
    $output;



  2. The Following 2 Users Say Thank You to stangger5 For This Useful Post:

    blind-eddie (02-06-2016), javilonas (06-23-2016)

  3. #2
    Affiliate/Friend blind-eddie's Avatar
    Join Date
    Sep 2011
    Location
    Detroit
    Posts
    581
    Thanks
    99
    Thanked 94 Times in 72 Posts
    Well, before I made the edit, I check all the game rating location that were edited and none are there anymore, not sure why.
    So, I added the edit and the rating popup does not auto close plus I was having an issue with the games accepting a rating.

    So, I removed the edit for now.

  4. #3
    Web Admin stangger5's Avatar
    Join Date
    Nov 2005
    Posts
    3,128
    Thanks
    580
    Thanked 773 Times in 460 Posts
    Left out one edit..

    I fixed the post above and fixed it on your site..

  5. #4
    Affiliate/Friend blind-eddie's Avatar
    Join Date
    Sep 2011
    Location
    Detroit
    Posts
    581
    Thanks
    99
    Thanked 94 Times in 72 Posts
    OK, Thanks. That was quick.

    Still having a few issues with Rate game links not where they were, no way to rate any game until after you play it on the comment page of score submission. If you do not rate it there, you can not rat anywhere plus on rated games the rating does not show on the high score page.
    Remember all the game rating edits you did a long time ago? They are gone, lol
    No hurry, look into it when you can.
    Thank you sir.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Link Exchange - Affiliates/Friends

Play-Arcade.netThe Game Landsbr3games.com