Page 1 of 26

Group Legend Positioning

Posted: Tue Aug 28, 2007 8:02 am
by Extensions Robot
Modification name: Group Legend Positioning
Author: CoC
Modification description: Arrange the Legend Groups to any position.
Modification version: 1.0.2
Tested on phpBB version: 3.0.RC7

Download file: group_level_positioning.zip
File size: 28927 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--

Group Legend Positioning

Posted: Tue Aug 28, 2007 8:02 am
by Highway of Life
Modification validated/released

Notes:
Sets the order in which you want groups to appear on the index and viewonline. :)

Re: Group Legend Positioning

Posted: Tue Aug 28, 2007 3:50 pm
by CoC
:D
Edit - Mod working on RC7



A couple of screen captures of what the mod looks like,
Screen capture of the ACP,
Showing what position the groups are in.
Image

Screen capture of the ACP,
Changing the position.
Image

Screen capture of the Index page:
Image

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 7:50 am
by drumstix42
Nifty :)

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 11:17 am
by Amphor
what do i need to edit?

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 11:35 am
by Tom@S
you need edit some files in your ftp just go step by step by install file

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 1:21 pm
by Highway of Life
Open the “Group Legend Positioning.xml” file in your browser. -- It has the installation instructions.

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 4:56 pm
by Amphor
I opened it before, but it wasn't extracted then, straight from PowerArchiver...


Now, in ACP, evcerything related to groups have blank page. No error, no nothing.

Also, that language part. I think you made a mistake there, because

if I Find '

Code: Select all

GROUP_LEGEND'
and Add After

Code: Select all

'GROUP_LEGEND_POS'			=> 'Group Legend Posistion',
	'GROUP_LEGEND_POS_EXPLAIN'	=> 'This setting allows you to set which posistion the legend is on the index.'
then the outcome

Code: Select all

'GROUP_LEGEND'	'GROUP_LEGEND_POS'			=> 'Group Legend Posistion',
	'GROUP_LEGEND_POS_EXPLAIN'	=> 'This setting allows you to set which posistion the legend is on the index.',			=> 'A translation i was too tired to look up'
shouldn't be right, now that one

Code: Select all

'GROUP_LEGEND'			=> 'A translation i was too tired to look up'
GROUP_LEGEND_POS'			=> 'Group Legend Posistion',
'GROUP_LEGEND_POS_EXPLAIN'	=> 'This setting allows you to set which posistion the legend is on the index.',
should be correct

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 5:12 pm
by CoC
Thats why you should read the Tips - ;)

Find
"Tip: This may be a partial find and not the whole line."

Code: Select all

GROUP_LEGEND'
Add After
"Tip: Add these lines on a new blank line after the preceding line(s) to find."

Code: Select all

'GROUP_LEGEND_POS'         => 'Group Legend Posistion',
'GROUP_LEGEND_POS_EXPLAIN'   => 'This setting allows you to set which posistion the legend is on the index.',

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 6:48 pm
by Amphor
so i did it right, but it's still blank

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 7:20 pm
by CoC
From what you posted there -

Code: Select all

'GROUP_LEGEND'         => 'Display group in legend'
you are missing an , from the end of that line.

Code: Select all

GROUP_LEGEND_POS'         => 'Group Legend Posistion',
you are missing an ' from the start of that line.

Code: Select all

'GROUP_LEGEND_POS_EXPLAIN'   => 'This setting allows you to set which posistion the legend is on the index.'
you are missing an , from the end of that line.




Check that the lines looks like,

Code: Select all

'GROUP_LEGEND'         => 'Display group in legend',
'GROUP_LEGEND_POS'         => 'Group Legend Posistion',
'GROUP_LEGEND_POS_EXPLAIN'   => 'This setting allows you to set which posistion the legend is on the index.',

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 9:02 pm
by Amphor
okay, double-checked all the files related to acp, made some corrections (spacing) but still blank page.

Re: Group Legend Positioning

Posted: Wed Aug 29, 2007 9:29 pm
by CoC
Can you post your language/en/acp/groups.php file.

Re: Group Legend Positioning

Posted: Thu Aug 30, 2007 8:56 pm
by Amphor
yes.
http://www.zone.ee/relvaonu/groups.zip

sry for zip file, the bare groups.php was blankened in my server

Re: Group Legend Positioning

Posted: Fri Aug 31, 2007 10:54 pm
by mara7
nice mod .. ;)