Group Legend Positioning

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
user751139
Registered User
Posts: 86
Joined: Thu Oct 01, 2009 2:46 am

Re: Group Legend Positioning

Post by user751139 »

RMcGirr83 wrote:
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Thanks for stating the obvious, If that worked I wouldn't have posted it

SO far I've tried the following:

This is the original code

Code: Select all

// Those are group-only attributes
	$group_only_ary = array('group_receive_pm', 'group_legend', 'group_message_limit',
	$group_only_ary[] = 'group_legend_pos';
	 'group_max_recipients', 'group_founder_manage');
Tried:

Code: Select all

$group_only_ary = array('group_receive_pm'
$group_only_ary[] = 'group_legend_pos';
, 'group_legend', 'group_message_limit',
	$group_only_ary[] = 'group_legend_pos';
	 'group_max_recipients', 'group_founder_manage');
Tried:

Code: Select all

$group_only_ary = array('group_receive_pm',    
            $group_only_ary[] = 'group_legend_pos';
            'group_legend', 'group_message_limit',
	$group_only_ary[] = 'group_legend_pos';
	 'group_max_recipients', 'group_founder_manage');
Tried:

Code: Select all

$group_only_ary = array('group_receive_pm', 'group_legend', 'group_message_limit',
$group_only_ary[] = 'group_legend_pos';	
$group_only_ary[] = 'group_legend_pos';
	 'group_max_recipients', 'group_founder_manage');
Anything I missed..?

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Group Legend Positioning

Post by oddfish »

FIND
Tip: This may be a partial find and not the whole line.
$group_only_ary = array('group_receive_pm'
you have clearly not followed this and added the code within the line and not after the whole line of the partial find. 8-)
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Group Legend Positioning

Post by RMcGirr83 »

user751139 wrote:
RMcGirr83 wrote:
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Thanks for stating the obvious, If that worked I wouldn't have posted it
:roll:

Yes, it is obvious isn't it.

Code: Select all

// Those are group-only attributes
	$group_only_ary = array('group_receive_pm', 'group_legend', 'group_message_limit', 'group_max_recipients', 'group_founder_manage');
	$group_only_ary[] = 'group_legend_pos';
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

user751139
Registered User
Posts: 86
Joined: Thu Oct 01, 2009 2:46 am

Re: Group Legend Positioning

Post by user751139 »

doh! sorry now i feel like an @ss, i've been installing way too many mods and havent been able to keep up with it; thanks for the help

User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Group Legend Positioning

Post by Dragosvr92 »

Um i have edited all the files and im getting this

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Unknown column 'group_legend_pos' in 'field list' [1054]

SQL

SELECT group_id, group_name, group_colour, group_type, group_legend_pos FROM phpbb_groups WHERE group_legend = 1 ORDER BY group_legend_pos ASC

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: index.php
LINE: 67
CALL: dbal_mysql->sql_query()
i dont know how to create the new table into the database
could someone make a automod file that will create that to my database please ?
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3

User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Group Legend Positioning

Post by Dragosvr92 »

A_O_C wrote:in phpmyadmin, select the database you want to make changes to. here, i have already selected it:

phpmyadmin



once you have selected your database, click the SQL tab. copy and paste all the SQL statements for this mod into that tab, and click GO. if all goes well (as it should), you will have a success statement returned to you.

SQL tab of database in phpmyadmin
Thank You This helped me also ^^
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3

User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Group Legend Positioning

Post by Dragosvr92 »

Im sorry for my triple posting..

i did all the steps from the .xml file and when i am clicking Manahe groups im getting this error

Code: Select all

[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /language/en/acp/groups.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /language/en/acp/groups.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /language/en/acp/groups.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /language/en/acp/groups.php:1)
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3

User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Re: Group Legend Positioning

Post by drumstix42 »

Has anyone tried getting this to work with 3.0.6 RC3 or similar? Thanks!
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Group Legend Positioning

Post by oddfish »

drumstix42 wrote:Has anyone tried getting this to work with 3.0.6 RC3 or similar? Thanks!
with a couple of changes, it does work. the conflicting areas in the functions_user and acp_groups will no doubt be updated in due time.

cheers,
oddfish
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Group Legend Positioning

Post by Dragosvr92 »

im using phpbb 3.0.5
dos it work in that version?
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Group Legend Positioning

Post by oddfish »

TheKiller wrote:im using phpbb 3.0.5
dos it work in that version?
yes
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Group Legend Positioning

Post by Dragosvr92 »

thanks
well could someone tell me why am i getting that error?
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Group Legend Positioning

Post by oddfish »

TheKiller wrote:thanks
well could someone tell me why am i getting that error?
looks like a utf-8 or BOM error.

what prog did you use to edit the language/en/acp/groups.php file?
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Group Legend Positioning

Post by Dragosvr92 »

Wordpad xD :roll:
ok i will try using
Notepad++
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3

User avatar
Dragosvr92
Registered User
Posts: 1450
Joined: Sat Sep 12, 2009 7:27 am
Location: Romania
Name: Dragos Valentin Rădulescu
Contact:

Re: Group Legend Positioning

Post by Dragosvr92 »

ok i installed it some hours ago....
but could it be modified to positionable by using the up and down buttons ?
Formerly known as TheKiller
3.0| Avatar on Memberlist 1.0.3

Locked

Return to “[3.0.x] MOD Database Releases”