Pagina 1 di 2
Più targhette
Inviato: 27/07/2011, 16:45
da NyO991
Salve, vorrei sapere se posso rendere visibili più targhette su un unico utente, ad esempio, nel mio forum io sono "Amministratore" e "Utente VIP" ma si vede una sola targhetta (impostata da "rendi gruppo predefinito"). Posso rendere visibili tutte e due le targhette? Grazie!
P.S: se si può fare, qual'è il limite?
Re: Più targhette
Inviato: 27/07/2011, 16:49
da Barrnet
Re: Più targhette
Inviato: 27/07/2011, 17:36
da NyO991
Non funge

Re: Più targhette
Inviato: 27/07/2011, 17:40
da Barrnet
In che senso non funziona?
Re: Più targhette
Inviato: 27/07/2011, 17:41
da NyO991
Installo e faccio tutto come dice nel file install.txt ma poi è come se non ho fatto nulla

Re: Più targhette
Inviato: 27/07/2011, 17:43
da NyO991
xD Scusami, che sbadato che sono, non ho uppato i file xD
Dopo ti faccio sapere

Re: Più targhette
Inviato: 27/07/2011, 18:27
da NyO991
Ora, quando vado nell' ACP nella sezione Utenti e gruppi, mi da questo errore:
PHP Error Message
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/a7214633/public_html/index/forum/includes/acp/acp_users.php on line 1816
Nel file indicato, nella linea 1816 c'è la seguente scritta:
'S_RANK2' => true,
Questa stringa l'ho inserita io per installare la mod che hai linkato, ma ho scritto tutto bene.
Come mai? Sull'argomento della mod c'è scritto:
* If you have an error in acp_users.php , then make sure th comma (,) is in the right place (not on a new line)! Here's what it should look like .
Codice: Seleziona tutto
$template->assign_vars(array(
'S_RANK' => true,
'S_RANK_OPTIONS' => $s_rank_options,
//multiple ranks mod by Goz
'S_RANK2' => true,
'S_RANK2_OPTIONS' => $s_rank2_options,
'S_RANK3' => true,
'S_RANK3_OPTIONS' => $s_rank3_options
)
);
A me è scritto tutto così, tutto corretto. MI potresti aiutare?
Scusa per il distrubo

Re: Più targhette
Inviato: 27/07/2011, 18:34
da Barrnet
Prova a controllare le modifiche fatte, da quando leggo non ci sono problemi di compatibilità per la 3.0.9.
Al momento non posso dirti di più, non avendo il mio pc sottomano

Re: Più targhette
Inviato: 27/07/2011, 18:44
da NyO991
Inutile, raggionare con questa mod e come ragionare con un muro

Re: Più targhette
Inviato: 28/07/2011, 14:10
da NyO991
Adesso si visualizza tutto, solo che se provo a cambiare un qualsiasi rank dall'apposita finestra, mi da questo errore:
Errore Generale
SQL ERROR [ mysqli ]
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 '//updated query for multiple rank mod by Goz SET user_rank = 6, user_rank2' at line 2 [1064]
SQL
UPDATE phpbb_users //updated query for multiple rank mod by Goz SET user_rank = 6, user_rank2 = 0, user_rank3 = 0] WHERE user_id = 2
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/acp/acp_users.php
LINE: 1780
CALL: dbal_mysqli->sql_query()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_users->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Qualcuno sa perchè?