![]() |
Nice that works!
Big THX! |
never mind :o
|
Now that we have the games rated, what would be nice is a top rated list and a most popular (most played)
|
Will this sql query work if i use table prefix for my forum? My forum uses vb3_ as prefix and i think, that this will not work for me. ??
|
Thx. GenSec.
[high]* Intex clicks INSTALL.[/high] |
Quote:
It creates only one new table without prefix: "game_rate". If you want to add prefix to "game_rate" it's very simple. Just rename this table ;) |
Quote:
Find in arcade.php Code:
// Selects all games from the database Code:
if ($_GET['show'] == "best") Code:
$gamecount = $DB_site->num_rows($result_allgames); Code:
} |
Most popular is another hack :)
|
Thanks... but that returned no items (perhaps because of the category hack?). I have two instances of // select all games
the first one returns a parse error and the second no results... |
I keep getting this error when i try to run the query in Admincp =(
Query ALTER TABLE `vb3_games` ADD `votetotal` smallint(5) UNSIGNED DEFAULT '0' NOT NULL ; ALTER TABLE `vb3_games` ADD `votenum` smallint(5) UNSIGNED DEFAULT '0' NOT NULL ; CREATE TABLE `vb3_game_rate` ( `gamerateid` int(11) NOT NULL auto_increment, `gameid` int(11) NOT NULL default '0', `userid` int(10) NOT NULL default '0', `vote` smallint(5) default NULL, `ipaddress` char(15) NOT NULL default '', PRIMARY KEY (`gamerateid`) ) TYPE=MyISAM AUTO_INCREMENT=8 vBulletin Message An error occurred while attempting to execute your query. The following information was returned. error number: 1064 error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; ALTER TABLE `vb3_games` ADD `votenum` smallint(5) UNSIGNED |
All times are GMT. The time now is 09:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|