Good Idea.
I was modify upper code for PuArcade and I post it for You

.
To function WriteGamesTable in cls.puarcade.php file add:
| Code: |
}elseif ($fid == 9990) {
$query = "SELECT id,numplayed,description,imagename,published,gamename,title,reverse_score,scoring,window,height,width,contentratingid,folderid FROM #__puarcade_games WHERE id NOT IN ( SELECT gameid FROM #__puarcade WHERE userid='$my->id' ) and scoring <> '0' and published='1' order by title ASC ".$limit;
|
To function ShowGames in puarcade.html.php file add:
| Code: |
elseif($fid == 9990){
$pageheading = "Games without Your scores";
}
|
To function processShowGameSelections in class.puarcade.php file add:
| Code: |
} elseif ($fid == 9990){
if ($showpathway==1){
echo "<div align=\"left\"><a href=\"".sefRelToAbs('index.php?option=com_puarcade&Itemid='.$Itemid)."\"> ";
echo stripslashes($title)." </a><img src=\"images/M_images/arrow.png\"/>";
echo "<a href=\"".sefRelToAbs('index.php?option=com_puarcade&fid=9990&Itemid='.$Itemid)."\">Games without Your scores</a>";
echo "<br/><br/></div>";
}
$query = "SELECT count(*) from #__puarcade_games WHERE id NOT IN ( SELECT gameid FROM #__puarcade WHERE userid='$my->id' ) and scoring <> '0' and published='1'";
$database->setQuery( $query );
$count = $database->loadRow();
include_once( "includes/pageNavigation.php" );
$pageNav = new mosPageNav( $count[0], $limitstart, $limit );
puarcade_html::WriteSpecialFolderLinks($Itemid);
puarcade_html::ShowGames($Itemid,$pageNav,$flat,$fid);
|
and link for this You can add where You wish
| Code: |
echo "<a href=".sefRelToAbs("index.php?option=com_puarcade&Itemid=".$Itemid."&fid=9990").">Show Games where You have not Your scores</a>";
|