Più targhette

Questa discussione si intitola Più targhette nella sezione Richiesta MOD. 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 ...

Più targhette

Messaggioda NyO991 » 27/07/2011, 16:45

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?
NyO991
Utente
Utente
 
Messaggi: 19
Iscritto il: 26/07/2011, 13:21
Sesso: Maschio
Versione: 3.0.9
MOD:
Server: UNIX/Linux
phpBB SEO: No
Database: MySQL(i) 5.1.57

  • Condividi questa discussione
  • Ti piace questa discussione?
    Condividila! :)

Re: Più targhette

Messaggioda Barrnet » 27/07/2011, 16:49

Prima di installare una mod pensa...
Immagine
Regolamento ~ Guida al ripristino integrale FTP ~ Guida al backup
Avatar utente
Barrnet
Leader Moderatori
Leader Moderatori
 
Messaggi: 2119
Iscritto il: 04/07/2010, 23:31
Sesso: Maschio
Versione: 3.0.10
MOD:
Server: UNIX/Linux
phpBB SEO:
PHP: 5.3.10
Database: MySQL 5.1.61-community-log


Re: Più targhette

Messaggioda NyO991 » 27/07/2011, 17:36

Non funge :(
NyO991
Utente
Utente
 
Messaggi: 19
Iscritto il: 26/07/2011, 13:21
Sesso: Maschio
Versione: 3.0.9
MOD:
Server: UNIX/Linux
phpBB SEO: No
Database: MySQL(i) 5.1.57

Re: Più targhette

Messaggioda Barrnet » 27/07/2011, 17:40

In che senso non funziona?
Prima di installare una mod pensa...
Immagine
Regolamento ~ Guida al ripristino integrale FTP ~ Guida al backup
Avatar utente
Barrnet
Leader Moderatori
Leader Moderatori
 
Messaggi: 2119
Iscritto il: 04/07/2010, 23:31
Sesso: Maschio
Versione: 3.0.10
MOD:
Server: UNIX/Linux
phpBB SEO:
PHP: 5.3.10
Database: MySQL 5.1.61-community-log


Re: Più targhette

Messaggioda NyO991 » 27/07/2011, 17:41

Installo e faccio tutto come dice nel file install.txt ma poi è come se non ho fatto nulla :(
NyO991
Utente
Utente
 
Messaggi: 19
Iscritto il: 26/07/2011, 13:21
Sesso: Maschio
Versione: 3.0.9
MOD:
Server: UNIX/Linux
phpBB SEO: No
Database: MySQL(i) 5.1.57

Re: Più targhette

Messaggioda NyO991 » 27/07/2011, 17:43

xD Scusami, che sbadato che sono, non ho uppato i file xD
Dopo ti faccio sapere ;)
NyO991
Utente
Utente
 
Messaggi: 19
Iscritto il: 26/07/2011, 13:21
Sesso: Maschio
Versione: 3.0.9
MOD:
Server: UNIX/Linux
phpBB SEO: No
Database: MySQL(i) 5.1.57

Re: Più targhette

Messaggioda NyO991 » 27/07/2011, 18:27

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 :(
NyO991
Utente
Utente
 
Messaggi: 19
Iscritto il: 26/07/2011, 13:21
Sesso: Maschio
Versione: 3.0.9
MOD:
Server: UNIX/Linux
phpBB SEO: No
Database: MySQL(i) 5.1.57

Re: Più targhette

Messaggioda Barrnet » 27/07/2011, 18:34

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 :)
Prima di installare una mod pensa...
Immagine
Regolamento ~ Guida al ripristino integrale FTP ~ Guida al backup
Avatar utente
Barrnet
Leader Moderatori
Leader Moderatori
 
Messaggi: 2119
Iscritto il: 04/07/2010, 23:31
Sesso: Maschio
Versione: 3.0.10
MOD:
Server: UNIX/Linux
phpBB SEO:
PHP: 5.3.10
Database: MySQL 5.1.61-community-log


Re: Più targhette

Messaggioda NyO991 » 27/07/2011, 18:44

Inutile, raggionare con questa mod e come ragionare con un muro :(
NyO991
Utente
Utente
 
Messaggi: 19
Iscritto il: 26/07/2011, 13:21
Sesso: Maschio
Versione: 3.0.9
MOD:
Server: UNIX/Linux
phpBB SEO: No
Database: MySQL(i) 5.1.57

Re: Più targhette

Messaggioda NyO991 » 28/07/2011, 14:10

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è?
NyO991
Utente
Utente
 
Messaggi: 19
Iscritto il: 26/07/2011, 13:21
Sesso: Maschio
Versione: 3.0.9
MOD:
Server: UNIX/Linux
phpBB SEO: No
Database: MySQL(i) 5.1.57

Prossimo

Torna a Richiesta MOD

SEO Search Tags

dimensioni targhette forum      mettere targhette su phpbb3      phpbb targhette gruppi      phpbbitalia multiple ranks      ranks rtarghette phpbb      targhette amministratore e mod      targhette forum phpbb      dimensione targhette forum      targhette forum phpbb3      

Chi c’è in linea

Visitano il forum: Google [Bot] e 1 ospite

  • Pubblicità