Ho dimenticato di allegare lo stile xls per l'installer ^.^" ops
Ho aggiornato la MOD, ora ci son tutti i files necessari.
PS. Ho provato a pubblicare la 1.11.17 ma ho ricevuto un miliardo di errori relativi a funzioni mysql di php utilizzate nella mia MOD.
L'errore parlava di hardcored function... E che era necessario usare un Substrato al loro posto.
Che caspita vuole dire?
Cioè... Non mi fa usare neanche gli echo!! Ma come cavolo faccio a sviluppare una MOD così??
LOG:
Codice: Seleziona tutto
[ NOTICE ] Please note that all checks are done by an automated tool. In some cases a FAIL/WARNING can be valid/allowed usage of a function.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 28:
CODE: SELEZIONA TUTTO
mysql_connect($dbhost,$dbuser,$dbpasswd);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 31:
CODE: SELEZIONA TUTTO
@mysql_select_db($dbname) or die( "Unable to select database, check /confing.php and be sure to fill forms with the correct informations. Make sure also to have created the database's tables.");
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 45:
CODE: SELEZIONA TUTTO
mysql_query("SELECT * FROM " . $table_prefix . "jqrposts WHERE id = " . $post_id);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 47:
CODE: SELEZIONA TUTTO
if(mysql_affected_rows() == 0) {
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 50:
CODE: SELEZIONA TUTTO
mysql_query("INSERT INTO " . $table_prefix . "jqrposts (id, val) VALUES (" . $post_id . ", 0);");
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 58:
CODE: SELEZIONA TUTTO
$post_select = mysql_query("SELECT val FROM " . $table_prefix . "jqrposts WHERE id = " . $post_id);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 59:
CODE: SELEZIONA TUTTO
$post_votes = mysql_fetch_array($post_select, MYSQL_ASSOC);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 69:
CODE: SELEZIONA TUTTO
$first_time = mysql_query("SELECT * FROM " . $table_prefix . "jqrusers WHERE post_id = " . $post_id . " AND user_id = " . $user_id ) or die(mysql_error() . "<br/>" . $first_time);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 71:
CODE: SELEZIONA TUTTO
if(mysql_num_rows($first_time) == 0) {
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 74:
CODE: SELEZIONA TUTTO
mysql_query("INSERT INTO " . $table_prefix . "jqrusers (post_id, user_id) VALUES (" . $post_id . ", " . $user_id . ");");
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 89:
CODE: SELEZIONA TUTTO
mysql_query("UPDATE " . $table_prefix . "jqrposts SET val = val " . $operation . " WHERE id = " . $post_id);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 92:
CODE: SELEZIONA TUTTO
$post_select = mysql_query("SELECT val FROM " . $table_prefix . "jqrposts WHERE id = " . $post_id);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 93:
CODE: SELEZIONA TUTTO
$post_votes = mysql_fetch_array($post_select, MYSQL_ASSOC);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: You are using a hardcoded MySQL function at line 112:
CODE: SELEZIONA TUTTO
mysql_close();
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using die() at line 31:
CODE: SELEZIONA TUTTO
@mysql_select_db($dbname) or die( "Unable to select database, check /confing.php and be sure to fill forms with the correct informations. Make sure also to have created the database's tables.");
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using die() at line 69:
CODE: SELEZIONA TUTTO
$first_time = mysql_query("SELECT * FROM " . $table_prefix . "jqrusers WHERE post_id = " . $post_id . " AND user_id = " . $user_id ) or die(mysql_error() . "<br/>" . $first_time);
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using echo() at line 61:
CODE: SELEZIONA TUTTO
echo $post_votes['val'];
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using echo() at line 96:
CODE: SELEZIONA TUTTO
echo $post_votes['val'];
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using echo() at line 101:
CODE: SELEZIONA TUTTO
echo "voted";
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using echo() at line 117:
CODE: SELEZIONA TUTTO
echo "<h1 style='font-size: 60px; text-align: center;'>Go out from there stupid lamer!</h1>
<p style='text-align: center;'>JQueratings - phpBB MOD by Remedy Memory - <a href='http://www.allise.net'>Allise.net</a></p>";
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using $_GET at line 22:
CODE: SELEZIONA TUTTO
$post_id = $_GET['post_id'];
request_var() should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using $_GET at line 23:
CODE: SELEZIONA TUTTO
$type = $_GET['type'];
request_var() should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/rate.php: Using $_GET at line 24:
CODE: SELEZIONA TUTTO
$user_id = $_GET['user_id'];
request_var() should be used instead.
[ WARNING ] jqueratings_1_11_17/root/jqueratings/rate.php: A call to include or require is missing $phpbb_root_path in call at line 20:
CODE: SELEZIONA TUTTO
include ("../config.php");
[ WARNING ] jqueratings_1_11_17/root/jqueratings/rate.php: A call to include or require is missing $phpEx in call at line 20:
CODE: SELEZIONA TUTTO
include ("../config.php");
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 25:
CODE: SELEZIONA TUTTO
mysql_connect($dbhost,$dbuser,$dbpasswd);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 28:
CODE: SELEZIONA TUTTO
@mysql_select_db($dbname) or die( "Unable to select database, check ./jqueratings/jqueratings.conf.php and be sure to fill forms with the correct informations. Make sure also to have created the database's tables.");
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 39:
CODE: SELEZIONA TUTTO
$users_list_query = mysql_query("SELECT user_id FROM " . $table_prefix . "jqrusers WHERE post_id = " . $post_id);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 41:
CODE: SELEZIONA TUTTO
if (mysql_num_rows($users_list_query) != 0) {
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 45:
CODE: SELEZIONA TUTTO
while($row = mysql_fetch_array($users_list_query)){
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 47:
CODE: SELEZIONA TUTTO
$user_name_query = mysql_query("SELECT username FROM " . $table_prefix . "users WHERE user_id = " . $row['user_id']);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 48:
CODE: SELEZIONA TUTTO
$user_name = mysql_fetch_row($user_name_query);
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: You are using a hardcoded MySQL function at line 68:
CODE: SELEZIONA TUTTO
mysql_close();
phpBB MODs are required to use the Database Abstraction Layer (DBAL).
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: Using die() at line 28:
CODE: SELEZIONA TUTTO
@mysql_select_db($dbname) or die( "Unable to select database, check ./jqueratings/jqueratings.conf.php and be sure to fill forms with the correct informations. Make sure also to have created the database's tables.");
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: Using echo() at line 43:
CODE: SELEZIONA TUTTO
echo("Hanno votato i seguenti utenti: ");
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: Using echo() at line 57:
CODE: SELEZIONA TUTTO
echo($users_list . ".");
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: Using echo() at line 60:
CODE: SELEZIONA TUTTO
echo("Nessun utente ha votato questo messaggio per ora, diventa il primo!");
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: Using echo() at line 73:
CODE: SELEZIONA TUTTO
echo "<h1 style='font-size: 60px; text-align: center;'>Go out from there stupid lamer!</h1>
<p style='text-align: center;'>JQueratings - phpBB MOD by Remedy Memory - <a href='http://www.allise.net'>Allise.net</a></p>";
The phpBB template system should be used instead.
[ FAIL ] jqueratings_1_11_17/root/jqueratings/list.php: Using $_GET at line 21:
CODE: SELEZIONA TUTTO
$post_id = $_GET['post_id'];
request_var() should be used instead.
[ WARNING ] jqueratings_1_11_17/root/jqueratings/list.php: A call to include or require is missing $phpbb_root_path in call at line 19:
CODE: SELEZIONA TUTTO
include ("../config.php");
[ WARNING ] jqueratings_1_11_17/root/jqueratings/list.php: A call to include or require is missing $phpEx in call at line 19:
CODE: SELEZIONA TUTTO
include ("../config.php");
[ FAIL ] jqueratings_1_11_17/root/styles/prosilver/theme/PIE.htc: File has been detected as non-binary while the extension IS binary. Checking for PHP code for security reasons.
[ FAIL ] jqueratings_1_11_17/root/styles/prosilver/theme/PIE.htc: A define for IN_PHPBB is missing or there is no check for if IN_PHPBB is set.
Report made by MPV 4521f176122a5966d149ed660bb08886d6a47a57 || MPV server: mpv.com.1
Time : 3.074s | Memory Usage: 1.56 MiB
Codice: Seleziona tutto
if (!defined('IN_PHPBB'))
{
exit;
}