Modificare Legend

Pentru întrebări legate de facilităţile forumului phpBB 3.0.x, acest loc este cel mai potrivit.
Reguli forum
Aveti o problema si vreti sa primiti ajutor? Click aici ! Nu uitati si de regulamentul forumului !
Închis
VeyRonX
Utilizator înregistrat
Mesaje: 61
Membru din: 04-Oct-2007, 19:18:14

Modificare Legend

Mesaj de VeyRonX »

De unde pot sa modfic si eu Legend ... adica in loc de Administrators si celelalte despartite printr-o virgula sa apara asa :
[ Administrators ] [ Global Moderators ] etc
Nu am gasit fisierul care trebuie sa il editez :(
Am gasit in index decat precizarea de {LEGEND} dar nu mai mult .
Shadow_One
Fost coleg
Mesaje: 265
Membru din: 16-Sep-2007, 11:37:11

Mesaj de Shadow_One »

In index.php cauta linia asta (normal ar trebui sa fie linia 74):

Cod: Selectaţi tot

$legend .= (($legend != '') ? ', ' : '') . '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>';
si inlocuieste-o cu asta:

Cod: Selectaţi tot

$legend .= (($legend != '') ? '   ' : '') . '[ <a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a> ]';
Sper sa te fi ajutat.

Oh...and btw: daca vrei sa scoti textul ala "Legend ::" cauta in fisier index_body.html:

Cod: Selectaţi tot

<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
si inlocuieste cu:

Cod: Selectaţi tot

<td class="row1"><b class="gensmall">{LEGEND}</b></td>
VeyRonX
Utilizator înregistrat
Mesaje: 61
Membru din: 04-Oct-2007, 19:18:14

Mesaj de VeyRonX »

Da e bun :) mersi
Shadow_One
Fost coleg
Mesaje: 265
Membru din: 16-Sep-2007, 11:37:11

Mesaj de Shadow_One »

Fisierul php index.php din ROOT. Adica nu din alte dosare. Care se gaseste direct in dosarul de la forum. Nu are legatura index.php cu tema.

La tine daca vrei sa dispara Legend : atunci pui asa:

Cod: Selectaţi tot

<IF><br><em>{LEGEND}</em><ENDIF></p>
VeyRonX
Utilizator înregistrat
Mesaje: 61
Membru din: 04-Oct-2007, 19:18:14

Mesaj de VeyRonX »

Multumesc :)
AndrusKanu
Utilizator înregistrat
Mesaje: 63
Membru din: 02-Feb-2009, 22:20:08

Mesaj de AndrusKanu »

eu n-am reusit... doar mi s-a marit forumu :)) si atat :D
Avatar utilizator
chessh
Autor de ExtensiiAutor de Extensii
Mesaje: 407
Membru din: 01-Iul-2007, 18:00:52
Versiune: 3.0.5
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Experimentat
Contact:

Mesaj de chessh »

AndrusKanu scrie:eu n-am reusit... doar mi s-a marit forumu :)) si atat :D
Adica?
itStart | DoiBlog.net
Intelligence plus character - that is the goal of true education.
AndrusKanu
Utilizator înregistrat
Mesaje: 63
Membru din: 02-Feb-2009, 22:20:08

Mesaj de AndrusKanu »

Shadow_One scrie:In index.php cauta linia asta (normal ar trebui sa fie linia 74):

Cod: Selectaţi tot

$legend .= (($legend != '') ? ', ' : '') . '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>';
nu am gasit chestia asta, adica sa scrie exact ca aici... semana putin, dar cand am inlocuit codul, mi s-a marit forumu, dar la legenda nu s-a intamplat nimic!
Avatar utilizator
chessh
Autor de ExtensiiAutor de Extensii
Mesaje: 407
Membru din: 01-Iul-2007, 18:00:52
Versiune: 3.0.5
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Experimentat
Contact:

Mesaj de chessh »

Pai acum trebuie sa cauti:

Cod: Selectaţi tot

$legend[] = '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . $group_name . '</a>';
Si inlocuiesti cu:

Cod: Selectaţi tot

$legend[] = '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">[ ' . $group_name . ' ]</a>';
itStart | DoiBlog.net
Intelligence plus character - that is the goal of true education.
AndrusKanu
Utilizator înregistrat
Mesaje: 63
Membru din: 02-Feb-2009, 22:20:08

Mesaj de AndrusKanu »

da merge... mutumesc, dar cum scot virgula?
uite cum arata acum:
[Administrator], [Moderatori], [Useri inregistrati] :)
Închis

Înapoi la “3.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Google [Bot] și 1 vizitator