Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
Favorite Bug? Details »»
Favorite Bug?
Version: , by Ryan McBain Ryan McBain is offline
Developer Last Online: Dec 2022 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-26-2006 Last Update: Never Installs: 0
 
No support by the author.

When you are logged into my arcade and go to the favorite section, the page is messed up. See for yourself when you are logged in.

http://www.ryanmcbain.com/forums/arc...dule=favorites

Test account

Name: test
password: test

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-26-2006, 06:57 PM
Muderman24 Muderman24 is offline
 
Join Date: May 2004
Location: Florida
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps you should provide a test acct so people don't have to register to help you.
Reply With Quote
  #3  
Old 05-26-2006, 11:51 PM
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Location: Earth
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Muderman24
Perhaps you should provide a test acct so people don't have to register to help you.
Sorry...

Account name: test
password: test

anyone?
Reply With Quote
  #4  
Old 05-27-2006, 06:34 PM
Muderman24 Muderman24 is offline
 
Join Date: May 2004
Location: Florida
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you changed the "mod_favorites.php" file in anyway?
Reply With Quote
  #5  
Old 05-27-2006, 06:50 PM
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Location: Earth
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Muderman24
Have you changed the "mod_favorites.php" file in anyway?
no I have not
Reply With Quote
  #6  
Old 05-27-2006, 07:06 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, that really looks weird *lol*

Please provide FTP-Access and I will look if that is a problem of ibPro's Skin or your Style
Reply With Quote
  #7  
Old 05-27-2006, 07:20 PM
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Location: Earth
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrZeropage
Ok, that really looks weird *lol*

Please provide FTP-Access and I will look if that is a problem of ibPro's Skin or your Style
I have to edit my mod_favorites. Any ideas?

PHP Code:
<?php

class module
{
    var 
$html "";

    function 
module()
    {
        global 
$main$DB$ibforums$std;

        
$main->arcade->authorize();

        if( 
$main->arcade->user['arcade_access'] != || !$main->arcade->user['id'] )
        {
            
$std->boink_it($ibforums->base_url."act=Arcade");
        }

        
$temp unserialize($main->arcade->user['favs']);

        if( !
is_array($temp) )
        {
            
$temp = array();
        }

    
$stylecolumns $main->arcade->settings['games_pr'];

        
$favs $temp;
    
$game_counter 1;

        if( isset(
$ibforums->input['gameid']) )
        {
            
$DB->query("SELECT g.gcat, c.c_id, c.password
                        FROM ibf_games_list AS g
                        LEFT JOIN ibf_games_cats AS c
                        ON (g.gcat = c.c_id)
                        WHERE gid="
.intval($ibforums->input['gameid']));
            
$this_game $DB->fetch_row();
            if( 
$this_game['password'] != "" )
            {
                
$the_cookie 'cat_pass_'.$this_game['c_id'];
                
$pass $_COOKIE[$the_cookie];
                if( 
$this_game['password'] != $pass )
                {
                    
$std->boink_it($ibforums->base_url."act=Arcade&amp;module=favorites");
                }
            }

            
$gid $ibforums->input['gameid'];

            
$DB->query("SELECT gid FROM ibf_games_list WHERE gid=".$gid);
            if( 
$DB->get_num_rows() )
            {
                if( 
in_array($gid $favs) )
                {
                    
$new_favs = array();
                    foreach( 
$favs as $gameid )
                    {
                        if( 
$gameid != $gid )
                        {
                            
$new_favs[] = $gameid;
                        }
                    }

                    
$new_favs serialize($new_favs);
                    
$update_string $new_favs;
                }
                else
                {
                    
$favs[] = $gid;
                    
$favs serialize($favs);
                    
$update_string $favs;
                }

                
$db_string $DB->compile_db_update_string( array( 'fav_games'        =>    $update_string,  ) );

                
$DB->query("UPDATE ibf_members SET ".$db_string." WHERE id=".$main->arcade->user['id']);
            }

            
$std->boink_it($ibforums->base_url."act=Arcade&module=favorites");
        }

        
$main->arcade->top_links($main->html);
        
$this->html .= $main->arcade->extra_links;

        
$favs_string "(0)";
        if( 
count($favs) > )
        {
            
$favs_string "(".implode("," $favs).")";
        }

        
$highscores = array();
        
$scores_query $DB->query("SELECT champ_gid, champ_name, champ_score FROM ibf_games_champs WHERE champ_gid IN ".$favs_string." ORDER BY champ_gid");
        while( 
$row $DB->fetch_row($scores_query) )
        {
            
$row['champ_score'] = $row['champ_score'];
            
$highscores$row['champ_gid'] ] = array(  'name' => $row['champ_name'], 'score' => $row['champ_score']);
        }

        
$personal_highs = array();
        
$scores_query $DB->query("SELECT mid, gid, score AS the_score, MAX(score) FROM ibf_games_scores WHERE gid IN ".$favs_string." AND mid=".$main->arcade->user['id']." GROUP BY score");
        while( 
$row $DB->fetch_row($scores_query) )
        {
            
$personal_highs$row['gid'] ] = $row['the_score'];
        }

        
$games_query $DB->query("SELECT * FROM ibf_games_list WHERE gid IN ".$favs_string"
                                    ORDER BY "
.$main->arcade->settings['g_display_sort']." ".$main->arcade->settings['g_display_order']);
        if( 
$DB->get_num_rows($games_query) )
        {
            
$rowcol "row2";

            if( 
$main->arcade->settings['show_new'] )
            {
                
$time time()-($main->arcade->settings['show_new']*$main->arcade->settings['show_new_frame']);
            }

           while( 
$row $DB->fetch_row($games_query) )
            {
    
$gamesplit "";
                if( 
$main->arcade->settings['skin'] != )
                {
                    
$rowcol = ($rowcol == "row1") ? "row2" "row1";
                }

                
$rating "";
                
$rating $ibforums->lang['rating'];
                
$raters unserialize($row['g_raters']);
                if( empty(
$row['g_raters']) )
                {
                    
$rating .= $ibforums->lang['no_votes'];
                }
                else
                {
                    
$amount count($raters).$ibforums->lang['rates'];
                    for( 
$a $a <= $row['g_rating'] ; $a++ )
                    {
                        
$rating .= "<img src='./arcade/images/star1.gif' title='".$amount."' alt='".$amount."' />";
                    }
                    
$leftover = (5-$row['g_rating']);
                    for( 
$a $a <= $leftover $a++ )
                    {
                        
$rating .= "<img src='./arcade/images/star2.gif' title='".$amount."' alt='".$amount."' />";
                    }
                }

                if( 
$main->arcade->user['id'] != && !isset($raters[$main->arcade->user['id']]) )
                {
                    
$rating .= $main->html->rate_link($row['gid']);
                }

                
$main->arcade->make_links($row['gid'] , $row['gtitle']);

                if( 
$row['added'] > $time && $main->arcade->settings['show_new'] )
                {
                    
$main->arcade->links['click'] .= "&nbsp;<img src='./arcade/images/new.gif' title='New' alt='New' />";
                }

                
$pbesttext '';
                if( 
$personal_highs$row['gid'] ] == "" )
                {
                    
$pbesttext $ibforums->lang['n_a'];
                }
                else
                {
                    
$pbesttext $main->arcade->do_arcade_format($personal_highs$row['gid'] ], $row['decpoints']);
                }

                
$top $highscores$row['gid'] ];
        
$top['score'] = $main->arcade->do_arcade_format($top['score'],$row['decpoints']);

                
$row['gtitle2'] = $row['gtitle'];

                if( 
$main->arcade->user['arcade_access'] == && $main->arcade->user['id'] )
                {
                    
$row['gtitle'] = "<a href='".$ibforums->base_url."act=Arcade&amp;module=favorites&amp;gameid=".$row['gid']."'>".$ibforums->lang[remove_from].$ibforums->lang[favorites]."</a>";
                }

        
$row['gtime'] = $main->arcade->thatdate($row['gtime']);
        
$row['gtotalscore'] = $main->arcade->do_arcade_format($row['gtotalscore'],$row['decpoints']);

    
$bestquery=$DB->query("SELECT g.bestscore, g.bestmid, u.name FROM ibf_games_list AS g, ibf_user AS u WHERE g.gid=".$row['gid']." AND g.bestmid=u.userid");
    
$bestdata=$DB->fetch_row($bestquery);

    
$top['score'] = $main->arcade->do_arcade_format($bestdata['bestscore'],$row['decpoints']);
    
$top['name'] = $bestdata['name'];

    if (
$top['score'] != "0")
    {
    
$top['name'] = "<img src=\"./arcade/images/crown.gif\"> <b> " $top['name'] . " </b> <img src=\"./arcade/images/crown.gif\">";
    
$top['score'] = $ibforums->lang['tourneyinfo_txt1']."<b>" $top['score']. "</b>".$ibforums->lang['tourneyinfo_txt2'];
    }
    else
    {
    
$top['name'] = "<i>".$ibforums->lang['noscorestored']."</i>";
    
$top['score'] = "&nbsp;";
    }

    
//game actual highscore
        
$ordering = ($row['highscore_type'] == "high") ? "DESC" "ASC";

    
$this_query $DB->query("SELECT * FROM ibf_games_scores WHERE gid=".$row['gid']." ORDER BY score ".$ordering.", datescored ASC");
    
$actualhighscore $DB->fetch_row($this_query);
    
$actualtop['score'] = $main->arcade->do_arcade_format($actualhighscore['score'],$row['decpoints']);    

    if (
$actualtop['score'] != "0")
    {
    
$actualtop['name'] = "<img src=\"./arcade/images/trophy.gif\"> <b> " .$actualhighscore['name']. " </b> <img src=\"./arcade/images/trophy.gif\">";
    
$actualtop['score'] = $ibforums->lang['tourneyinfo_txt1']."<b>" $actualtop['score']. "</b>".$ibforums->lang['tourneyinfo_txt2'];
    }
    else
    {
    
$actualtop['name'] = "<i>".$ibforums->lang['noscorestored']."</i>";
    
$actualtop['score'] = "&nbsp;";
    }
    
            
//is game new?
//    $newgame = "";
//            if( $the_game['added'] > $time && $this->arcade->settings['show_new'] )
//            {
//                $this->arcade->links['click'] .= "&nbsp;<img src='./arcade/images/new.gif' title='New' alt='Neues Spiel' />";
//    $newgame = "<img src='./arcade/images/new.gif' title='New' alt='Neues Spiel' />";
//            }
// ----MrZero


                
if ($main->arcade->settings['use_shop'] || $main->arcade->settings['use_inpoints']) {
                
$cimg "";
                if (
$row['shop_gpoints'] > 0)
                    
$cimg "&nbsp;<img src='./arcade/images/atb_coin.gif' alt='Minimum Score: ".$main->arcade->do_arcade_format($row['shop_minscore'],0)."\nGame Points: ".$main->arcade->do_arcade_format($row['shop_gpoints'],0)."\nArcade Points: ".$main->arcade->do_arcade_format($row['shop_points'],0)."\nMax Payout: ".$main->arcade->do_arcade_format($row['shop_maxpoints'],0)."' title='Minimum Score: ".$main->arcade->do_arcade_format($row['shop_minscore'],0)."\nGame Points: ".$main->arcade->do_arcade_format($row['shop_gpoints'],0)."\nArcade Points: ".$main->arcade->do_arcade_format($row['shop_points'],0)."\nMax Payout: ".$main->arcade->do_arcade_format($row['shop_maxpoints'],0)."' />";
                if (
$row['gcost'] == 0)
                    
$row['gcost'] = "<b>".$ibforums->lang['free']."</b>";
                if(
$main->arcade->settings['skin'] != 0)
                    
$row['gcost'] = $ibforums->lang['cost_to_play'].": ".$row['gcost'].$cimg."<br />";
                else
                    
$row['gcost'] = "<li>".$ibforums->lang['cost_to_play'].": ".$row['gcost'].$cimg."</li>";
            }
            else
                
$row['gcost'] = '';


      if (
$game_counter == $stylecolumns
      {
             
$gamesplit "</tr><tr>";
             
$game_counter 0;
      }

                
$the_games .= $main->html->row($row,$gamesplit,$top,$pbesttext,$main->arcade->links,$rowcol,$rating,$actualtop,$newgame,$stylecolumns);
    
$game_counter++;
            }
        }
        else
        {
            
$the_games .= $main->html->no_favs();
        }

        
$this->html .= $main->html->favorites($the_games,$stylecolumns);

        
$main->arcade->get_active($main->html);
        
$this->html .= $main->arcade->active;

        
$this->html .= $main->html->copyright($main->version,$ibforums->lang['timeformat1']);
        
$main->arcade->print_it($this->html $ibforums->lang['favorite_games'] , $ibforums->lang['favorites']);
    }
}

$module = new module;

?>
Reply With Quote
  #8  
Old 05-27-2006, 07:58 PM
Muderman24 Muderman24 is offline
 
Join Date: May 2004
Location: Florida
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ryan McBain
I have to edit my mod_favorites. Any ideas?

PHP Code:
<?php

class module
{
    var 
$html "";

    function 
module()
    {
        global 
$main$DB$ibforums$std;

        
$main->arcade->authorize();

        if( 
$main->arcade->user['arcade_access'] != || !$main->arcade->user['id'] )
        {
            
$std->boink_it($ibforums->base_url."act=Arcade");
        }

        
$temp unserialize($main->arcade->user['favs']);

        if( !
is_array($temp) )
        {
            
$temp = array();
        }

    
$stylecolumns $main->arcade->settings['games_pr'];

        
$favs $temp;
    
$game_counter 1;

        if( isset(
$ibforums->input['gameid']) )
        {
            
$DB->query("SELECT g.gcat, c.c_id, c.password
                        FROM ibf_games_list AS g
                        LEFT JOIN ibf_games_cats AS c
                        ON (g.gcat = c.c_id)
                        WHERE gid="
.intval($ibforums->input['gameid']));
            
$this_game $DB->fetch_row();
            if( 
$this_game['password'] != "" )
            {
                
$the_cookie 'cat_pass_'.$this_game['c_id'];
                
$pass $_COOKIE[$the_cookie];
                if( 
$this_game['password'] != $pass )
                {
                    
$std->boink_it($ibforums->base_url."act=Arcade&amp;module=favorites");
                }
            }

            
$gid $ibforums->input['gameid'];

            
$DB->query("SELECT gid FROM ibf_games_list WHERE gid=".$gid);
            if( 
$DB->get_num_rows() )
            {
                if( 
in_array($gid $favs) )
                {
                    
$new_favs = array();
                    foreach( 
$favs as $gameid )
                    {
                        if( 
$gameid != $gid )
                        {
                            
$new_favs[] = $gameid;
                        }
                    }

                    
$new_favs serialize($new_favs);
                    
$update_string $new_favs;
                }
                else
                {
                    
$favs[] = $gid;
                    
$favs serialize($favs);
                    
$update_string $favs;
                }

                
$db_string $DB->compile_db_update_string( array( 'fav_games'        =>    $update_string,  ) );

                
$DB->query("UPDATE ibf_members SET ".$db_string." WHERE id=".$main->arcade->user['id']);
            }

            
$std->boink_it($ibforums->base_url."act=Arcade&module=favorites");
        }

        
$main->arcade->top_links($main->html);
        
$this->html .= $main->arcade->extra_links;

        
$favs_string "(0)";
        if( 
count($favs) > )
        {
            
$favs_string "(".implode("," $favs).")";
        }

        
$highscores = array();
        
$scores_query $DB->query("SELECT champ_gid, champ_name, champ_score FROM ibf_games_champs WHERE champ_gid IN ".$favs_string." ORDER BY champ_gid");
        while( 
$row $DB->fetch_row($scores_query) )
        {
            
$row['champ_score'] = $row['champ_score'];
            
$highscores$row['champ_gid'] ] = array(  'name' => $row['champ_name'], 'score' => $row['champ_score']);
        }

        
$personal_highs = array();
        
$scores_query $DB->query("SELECT mid, gid, score AS the_score, MAX(score) FROM ibf_games_scores WHERE gid IN ".$favs_string." AND mid=".$main->arcade->user['id']." GROUP BY score");
        while( 
$row $DB->fetch_row($scores_query) )
        {
            
$personal_highs$row['gid'] ] = $row['the_score'];
        }

        
$games_query $DB->query("SELECT * FROM ibf_games_list WHERE gid IN ".$favs_string"
                                    ORDER BY "
.$main->arcade->settings['g_display_sort']." ".$main->arcade->settings['g_display_order']);
        if( 
$DB->get_num_rows($games_query) )
        {
            
$rowcol "row2";

            if( 
$main->arcade->settings['show_new'] )
            {
                
$time time()-($main->arcade->settings['show_new']*$main->arcade->settings['show_new_frame']);
            }

           while( 
$row $DB->fetch_row($games_query) )
            {
    
$gamesplit "";
                if( 
$main->arcade->settings['skin'] != )
                {
                    
$rowcol = ($rowcol == "row1") ? "row2" "row1";
                }

                
$rating "";
                
$rating $ibforums->lang['rating'];
                
$raters unserialize($row['g_raters']);
                if( empty(
$row['g_raters']) )
                {
                    
$rating .= $ibforums->lang['no_votes'];
                }
                else
                {
                    
$amount count($raters).$ibforums->lang['rates'];
                    for( 
$a $a <= $row['g_rating'] ; $a++ )
                    {
                        
$rating .= "<img src='./arcade/images/star1.gif' title='".$amount."' alt='".$amount."' />";
                    }
                    
$leftover = (5-$row['g_rating']);
                    for( 
$a $a <= $leftover $a++ )
                    {
                        
$rating .= "<img src='./arcade/images/star2.gif' title='".$amount."' alt='".$amount."' />";
                    }
                }

                if( 
$main->arcade->user['id'] != && !isset($raters[$main->arcade->user['id']]) )
                {
                    
$rating .= $main->html->rate_link($row['gid']);
                }

                
$main->arcade->make_links($row['gid'] , $row['gtitle']);

                if( 
$row['added'] > $time && $main->arcade->settings['show_new'] )
                {
                    
$main->arcade->links['click'] .= "&nbsp;<img src='./arcade/images/new.gif' title='New' alt='New' />";
                }

                
$pbesttext '';
                if( 
$personal_highs$row['gid'] ] == "" )
                {
                    
$pbesttext $ibforums->lang['n_a'];
                }
                else
                {
                    
$pbesttext $main->arcade->do_arcade_format($personal_highs$row['gid'] ], $row['decpoints']);
                }

                
$top $highscores$row['gid'] ];
        
$top['score'] = $main->arcade->do_arcade_format($top['score'],$row['decpoints']);

                
$row['gtitle2'] = $row['gtitle'];

                if( 
$main->arcade->user['arcade_access'] == && $main->arcade->user['id'] )
                {
                    
$row['gtitle'] = "<a href='".$ibforums->base_url."act=Arcade&amp;module=favorites&amp;gameid=".$row['gid']."'>".$ibforums->lang[remove_from].$ibforums->lang[favorites]."</a>";
                }

        
$row['gtime'] = $main->arcade->thatdate($row['gtime']);
        
$row['gtotalscore'] = $main->arcade->do_arcade_format($row['gtotalscore'],$row['decpoints']);

    
$bestquery=$DB->query("SELECT g.bestscore, g.bestmid, u.name FROM ibf_games_list AS g, ibf_user AS u WHERE g.gid=".$row['gid']." AND g.bestmid=u.userid");
    
$bestdata=$DB->fetch_row($bestquery);

    
$top['score'] = $main->arcade->do_arcade_format($bestdata['bestscore'],$row['decpoints']);
    
$top['name'] = $bestdata['name'];

    if (
$top['score'] != "0")
    {
    
$top['name'] = "<img src=\"./arcade/images/crown.gif\"> <b> " $top['name'] . " </b> <img src=\"./arcade/images/crown.gif\">";
    
$top['score'] = $ibforums->lang['tourneyinfo_txt1']."<b>" $top['score']. "</b>".$ibforums->lang['tourneyinfo_txt2'];
    }
    else
    {
    
$top['name'] = "<i>".$ibforums->lang['noscorestored']."</i>";
    
$top['score'] = "&nbsp;";
    }

    
//game actual highscore
        
$ordering = ($row['highscore_type'] == "high") ? "DESC" "ASC";

    
$this_query $DB->query("SELECT * FROM ibf_games_scores WHERE gid=".$row['gid']." ORDER BY score ".$ordering.", datescored ASC");
    
$actualhighscore $DB->fetch_row($this_query);
    
$actualtop['score'] = $main->arcade->do_arcade_format($actualhighscore['score'],$row['decpoints']);    

    if (
$actualtop['score'] != "0")
    {
    
$actualtop['name'] = "<img src=\"./arcade/images/trophy.gif\"> <b> " .$actualhighscore['name']. " </b> <img src=\"./arcade/images/trophy.gif\">";
    
$actualtop['score'] = $ibforums->lang['tourneyinfo_txt1']."<b>" $actualtop['score']. "</b>".$ibforums->lang['tourneyinfo_txt2'];
    }
    else
    {
    
$actualtop['name'] = "<i>".$ibforums->lang['noscorestored']."</i>";
    
$actualtop['score'] = "&nbsp;";
    }
    
            
//is game new?
//    $newgame = "";
//            if( $the_game['added'] > $time && $this->arcade->settings['show_new'] )
//            {
//                $this->arcade->links['click'] .= "&nbsp;<img src='./arcade/images/new.gif' title='New' alt='Neues Spiel' />";
//    $newgame = "<img src='./arcade/images/new.gif' title='New' alt='Neues Spiel' />";
//            }
// ----MrZero


                
if ($main->arcade->settings['use_shop'] || $main->arcade->settings['use_inpoints']) {
                
$cimg "";
                if (
$row['shop_gpoints'] > 0)
                    
$cimg "&nbsp;<img src='./arcade/images/atb_coin.gif' alt='Minimum Score: ".$main->arcade->do_arcade_format($row['shop_minscore'],0)."\nGame Points: ".$main->arcade->do_arcade_format($row['shop_gpoints'],0)."\nArcade Points: ".$main->arcade->do_arcade_format($row['shop_points'],0)."\nMax Payout: ".$main->arcade->do_arcade_format($row['shop_maxpoints'],0)."' title='Minimum Score: ".$main->arcade->do_arcade_format($row['shop_minscore'],0)."\nGame Points: ".$main->arcade->do_arcade_format($row['shop_gpoints'],0)."\nArcade Points: ".$main->arcade->do_arcade_format($row['shop_points'],0)."\nMax Payout: ".$main->arcade->do_arcade_format($row['shop_maxpoints'],0)."' />";
                if (
$row['gcost'] == 0)
                    
$row['gcost'] = "<b>".$ibforums->lang['free']."</b>";
                if(
$main->arcade->settings['skin'] != 0)
                    
$row['gcost'] = $ibforums->lang['cost_to_play'].": ".$row['gcost'].$cimg."<br />";
                else
                    
$row['gcost'] = "<li>".$ibforums->lang['cost_to_play'].": ".$row['gcost'].$cimg."</li>";
            }
            else
                
$row['gcost'] = '';


      if (
$game_counter == $stylecolumns
      {
             
$gamesplit "</tr><tr>";
             
$game_counter 0;
      }

                
$the_games .= $main->html->row($row,$gamesplit,$top,$pbesttext,$main->arcade->links,$rowcol,$rating,$actualtop,$newgame,$stylecolumns);
    
$game_counter++;
            }
        }
        else
        {
            
$the_games .= $main->html->no_favs();
        }

        
$this->html .= $main->html->favorites($the_games,$stylecolumns);

        
$main->arcade->get_active($main->html);
        
$this->html .= $main->arcade->active;

        
$this->html .= $main->html->copyright($main->version,$ibforums->lang['timeformat1']);
        
$main->arcade->print_it($this->html $ibforums->lang['favorite_games'] , $ibforums->lang['favorites']);
    }
}

$module = new module;

?>

I don't think you have to, I was wondering if you did. I think it may be your style, I switch to the v3arcade game list setting and iit works just fine on mine.
Reply With Quote
  #9  
Old 05-28-2006, 03:36 AM
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Location: Earth
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep I think it has something to do with my style as well. I know if I edited the mod_favorites that I could fix it. But for now I switched to the other skin and I don't have that problem.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:49 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04845 seconds
  • Memory Usage 2,663KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete