Legend display

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Legend display

Post by Stoker »

Open index.php
Find:

Code: Select all

$legend[] = '<span' . $colour_text . '>' . $group_name . '</span>';
Replace with:

Code: Select all

$legend[] = '<span' . $colour_text . '>[' . $group_name . ']</span>';
Find:

Code: Select all

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

Code: Select all

$legend[] = '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">[' . $group_name . ']</a>';
Board rules! No PM support
Locked