Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
Fire-Fox
BBCoder IV
Posts: 275 Joined: 22 Mar 2010, 13:24
Location: Denmark
Post
by Fire-Fox » 05 Apr 2010, 18:35
Hey!
Here is a little snippet or what its called so you can change
Legend: Administrators, Bots
To:
Legend: Administrators | Bots
Found it:
Open: index.php
Find
Code: Select all
$legend = implode(' , ', $legend);
Replace with:
Code: Select all
$legend = implode(' | ', $legend);
Last edited by
Fire-Fox on 05 Apr 2010, 22:07, edited 4 times in total.
cisco007
BBCoder VI
Posts: 1015 Joined: 16 Mar 2010, 18:14
Location: Don't really know!
Post
by cisco007 » 05 Apr 2010, 21:10
for those of us who don't know our way around a phpbb script
, which file is that in??
Fire-Fox
BBCoder IV
Posts: 275 Joined: 22 Mar 2010, 13:24
Location: Denmark
Post
by Fire-Fox » 05 Apr 2010, 22:08
Sorry added to my post
cisco007
BBCoder VI
Posts: 1015 Joined: 16 Mar 2010, 18:14
Location: Don't really know!
Post
by cisco007 » 05 Apr 2010, 22:17
so since this is not support but a snippet i will move it to the correct forum!
Fire-Fox
BBCoder IV
Posts: 275 Joined: 22 Mar 2010, 13:24
Location: Denmark
Post
by Fire-Fox » 05 Apr 2010, 22:41
Thanks couldn't make topic there
Anthies
BBCoder II
Posts: 10 Joined: 20 Mar 2010, 12:41
Location: Finland
Contact:
Post
by Anthies » 06 Apr 2010, 07:00
Thanks for the code snippet, was useful and works like a charm on my board.
Mario14125
I have been banned!
Posts: 26 Joined: 29 Apr 2010, 10:38
Location: Poland
Post
by Mario14125 » 11 May 2010, 19:02
hih modification I know a lot better
Autor Modyfikacji: Mario14125
Nazwa Modyfikacji: Legenda phpBB MODs
Wersja Modyfikacji: 1.0.0
Opis Modyfikacji: Modyfikacja zmienia standardowy wygląd legendy grup na bardziej przejrzysty.
Zrzuty Ekranu Modyfikacji: BRAK
Demonstracja:
Poziom Instalacji: Łatwy
Czas Instalacji: 1-2 Minuty
Plików Do Edycji: 2
Plików Do Wgrania: 0
Wersja phpBB: 3.0.7-PL1
Instrukcja:
Code: Select all
#
#----------[ OTWÓRZ ]----------
#
index.php
#
#----------[ ZNAJDŹ ]----------
#
if ($row['group_name'] == 'BOTS' || ($user->data['user_id'] != ANONYMOUS && !$auth->acl_get('u_viewprofile')))
#
#----------[ ZAMIEŃ NA ]----------
#
if ($row['group_name'] == '[ BOTS ]' || ($user->data['user_id'] != ANONYMOUS && !$auth->acl_get('u_viewprofile')))
#
#----------[ ZNAJDŹ ]----------
#
$legend[] = '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . $group_name . '</a>';
#
#----------[ ZAMIEŃ NA ]----------
#
$legend[] = '[ <b><a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . $group_name . '</a></b> ]';
#
#----------[ ZNAJDŹ ]----------
#
$legend = implode(', ', $legend);
#
#----------[ ZAMIEŃ NA ]----------
#
$legend = implode(' ', $legend);
#
#----------[ OTWÓRZ ]----------
#
styles/prosilver/template/index_body.html
#
#----------[ ZNAJDŹ ]----------
#
<em>{L_LEGEND}: {LEGEND}</em>
#
#----------[ ZAMIEŃ NA ]----------
#
{L_LEGEND}: {LEGEND}
Panel Administratora » Wyczyść cache » Uruchom »
TAK
Click Here!
cisco007
BBCoder VI
Posts: 1015 Joined: 16 Mar 2010, 18:14
Location: Don't really know!
Post
by cisco007 » 11 May 2010, 19:07
why is it that you feel that you have to post a supposedly better method, but you make it longer that the one posted?
And you should post stuff in English, not many people, well at least I, can't understand what you posted!
Mario14125
I have been banned!
Posts: 26 Joined: 29 Apr 2010, 10:38
Location: Poland
Post
by Mario14125 » 11 May 2010, 19:52
Because I think my way is clear in appearance and better
As I come to add the English version...
Click Here!
Ephemeraboy
BBCoder II
Posts: 37 Joined: 09 Mar 2010, 04:03
Location: bonatius.com
Contact:
Post
by Ephemeraboy » 15 May 2010, 04:28
how to display legen on center bar and with structure
[Legend1] [Legend2]