All Games in Dropdown List (phpqa MOD)
This addon gives your arcade a dropdown list of links to all games listed alphabetically. This will allow your users to find and play all games easier.
[Demo Here]
Instructions:
Open Arcade.php and find:(around line 439)
$parse_stamp = gmdate($datestamp, $s[5]+3600*$settings['timezone']);
echo "<a href='Arcade.php?action=profile&user=$s[1]'>$s[1]</a></i> scored <i>$s[2]</i> in <a href='Arcade.php?id=$s[6]'><i>$s[7]</i></a> on $parse_stamp<hr>";
}
?>
Right After Add:
<center>
<?php
$list_files_query = mysql_query("SELECT gameid, game FROM phpqa_games ORDER BY game");
echo '<strong>Quick List:</strong><br />
<select name="games" WIDTH="150" STYLE="width: 150px" id="games" onchange="switchme()">
<option selected>Select Game</option>';
while ($list_files_row = mysql_fetch_array($list_files_query)) {
echo '
<option WIDTH="150" STYLE="width: 150px" value="Arcade.php?play='.($list_files_row['gameid']) .'#game">'. $list_files_row['game'] .'</option>';
}
echo '</select>';
?>
<script type="text/javascript">
function switchme(){
if(document.getElementById('games').value != "){
window.location = document.getElementById('games').value;
}
}
</script>
</center>
Save and upload the file.


This wont work. I tried it 3 times.
What errors are you having? Many other sites have installed this so far. Also, I notice that you’ve copied my background image. -.-
Thanks for that …….. works great!
See here;
http://irishtaxi.org/arcade/Arcade.php?
I wonder if you could help me?
I want to add a link back to my home page; http://irishtaxi.org/
from the arcade, can you show me how?
Discovered how to do the link back thing, the drop down list wasn’t linking to the games so I deleted it , any reason why this happened?