phpBB Italia chiude!
phpBB Italia ringrazia tutti gli utenti che hanno dato fiducia al nostro progetto per ben 9 anni, e che, grazie al grande lavoro fatto da tutto lo Staff (rigorosamente a titolo gratuito), hanno portato il portale a diventare il principale punto di riferimento italiano alla piattaforma phpBB.

Purtroppo, causa motivi personali, non ho più modo di gestirlo e portarlo avanti. Il forum viene ora posto in uno stato di sola lettura, nonché un archivio storico per permettere a chiunque di fruire di tutte le discussioni trattate.

Il nuovo portale di assistenza per l'Italia di phpBB diventa phpBB-Store.it, cui ringrazio per aver deciso di portare avanti questo grande progetto.

Grazie ancora,
Carlo - Amministratore di phpBB Italia

[BETA] JQueratings

MODs in fase di sviluppo.
Avatar utente
Lady R
phpBB Expert
phpBB Expert
Messaggi: 900
Iscritto il: 08/11/2011, 13:43
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.3.8
Database: MySQLi
Contatta:

Re: [BETA] JQueratings

Messaggio da Lady R » 17/11/2011, 8:58

dall'anteprima visualizzabile dal generatore vedevo tutto correttamente..
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 
Prima c'era anche un errore che indicava che mancava questo:

Codice: Seleziona tutto

if (!defined('IN_PHPBB'))
{
   exit;
}
Inserendolo sparisce l'errore ma non funziona più la MOD, mi sapete aiutare? >.<

Avatar utente
Tiger
phpBB Expert
phpBB Expert
Messaggi: 1998
Iscritto il: 24/05/2011, 12:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.3.28
Database: MySQL(i) 5.5.35-cll
Località: Roma
Contatta:

Re: [BETA] JQueratings

Messaggio da Tiger » 17/11/2011, 13:26

Come promesso ho provato la tua mods,l'ho appena installata,a primo acchitto sembra tutto ok ora la provo meglio :D ;)
Immagine

Avatar utente
Lady R
phpBB Expert
phpBB Expert
Messaggi: 900
Iscritto il: 08/11/2011, 13:43
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.3.8
Database: MySQLi
Contatta:

Re: [BETA] JQueratings

Messaggio da Lady R » 17/11/2011, 13:33

Oky bene ^.^ Hai installato la 1.11.17 giusto?

Mi sai dire qualcosa riguardo agli errori che mi da Titania?

Avatar utente
Tiger
phpBB Expert
phpBB Expert
Messaggi: 1998
Iscritto il: 24/05/2011, 12:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.3.28
Database: MySQL(i) 5.5.35-cll
Località: Roma
Contatta:

Re: [BETA] JQueratings

Messaggio da Tiger » 17/11/2011, 13:38

Ad esempio,andando avedere l'info del voto appena effettuato da un utente scatta gia' il primo errore

Codice: Seleziona tutto

Hanno votato i seguenti utenti:
Notice: Undefined variable: users_list in C:\xampp\htdocs\forum\jqueratings\list.php on line 52
test1

Avatar utente
Lady R
phpBB Expert
phpBB Expert
Messaggi: 900
Iscritto il: 08/11/2011, 13:43
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.3.8
Database: MySQLi
Contatta:

Re: [BETA] JQueratings

Messaggio da Lady R » 17/11/2011, 13:46

Non è un errore, è una notifica, probabilmente il tuo PHP ha abilitato un alto livello per i log.

Comunque ho corretto, non dovrebbe più notificare quella cosa.
Ho aggiornato la 1.11.17 scaricabile dal primo post.

Puoi scaricare l'allegato qui e sostituire jqueratings/list.php con quello dell'allegato.

Grazie per l'aiuto ^.^
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.

Avatar utente
Tiger
phpBB Expert
phpBB Expert
Messaggi: 1998
Iscritto il: 24/05/2011, 12:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.3.28
Database: MySQL(i) 5.5.35-cll
Località: Roma
Contatta:

Re: [BETA] JQueratings

Messaggio da Tiger » 17/11/2011, 13:50

Ok adesso funzia, :-) ;)
Grazie per l'aiuto ^.^
Di nulla figurati

Avatar utente
Lady R
phpBB Expert
phpBB Expert
Messaggi: 900
Iscritto il: 08/11/2011, 13:43
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.3.8
Database: MySQLi
Contatta:

Re: [BETA] JQueratings

Messaggio da Lady R » 17/11/2011, 14:00

Bene ^.^

Non mi hai detto quale versione hai installato, me lo puoi dire? glasie.

Avatar utente
Tiger
phpBB Expert
phpBB Expert
Messaggi: 1998
Iscritto il: 24/05/2011, 12:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.3.28
Database: MySQL(i) 5.5.35-cll
Località: Roma
Contatta:

Re: [BETA] JQueratings

Messaggio da Tiger » 17/11/2011, 14:44

Lady R ha scritto:Bene ^.^

Non mi hai detto quale versione hai installato, me lo puoi dire? glasie.
1.11.17

Avatar utente
Lady R
phpBB Expert
phpBB Expert
Messaggi: 900
Iscritto il: 08/11/2011, 13:43
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.3.8
Database: MySQLi
Contatta:

Re: [BETA] JQueratings

Messaggio da Lady R » 17/11/2011, 14:45

Ok perfetto.

Forse entro oggi inserisco il portafoglio punti per gli utenti.

artikkk
phpBB Expert
phpBB Expert
Messaggi: 404
Iscritto il: 18/06/2010, 9:04
Sesso: Maschio
Versione: 3.0.11
Server: UNIX/Linux
PHP: 5.2.17
Database: MySQL 5.1.57
Contatta:

Re: [BETA] JQueratings

Messaggio da artikkk » 20/11/2011, 16:10

Sicuramente la utilizzerò sul mio forum :)

Rispondi

Torna a “MODs in sviluppo”

Chi c’è in linea

Visitano il forum: Nessuno e 28 ospiti