[2.0.19] Advanced Group Color Management

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

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
38
64%
Very Good
10
17%
Good
3
5%
Fair
3
5%
Poor
5
8%
 
Total votes: 59

User avatar
DarthSpader
Registered User
Posts: 184
Joined: Tue Sep 30, 2003 1:56 pm

Post by DarthSpader » Sat Jul 22, 2006 9:33 pm

Hello
Last edited by DarthSpader on Wed Sep 27, 2006 9:02 am, edited 1 time in total.
I'm NOT Your Father Either.

phantomk
Registered User
Posts: 1039
Joined: Wed Apr 14, 2004 5:32 am
Location: Canada Eh?
Name: Daniel Lee
Contact:

Post by phantomk » Sat Jul 22, 2006 10:37 pm

I only support CH 2.1.6 and phpBB 2.0.21, no other mods are supported as I don't have time to follow up on changes to other mods. If you are looking for an adaptation, you can try asking the author.

User avatar
DarthSpader
Registered User
Posts: 184
Joined: Tue Sep 30, 2003 1:56 pm

Post by DarthSpader » Sun Jul 23, 2006 10:09 am

Hi Again
Last edited by DarthSpader on Wed Sep 27, 2006 9:02 am, edited 1 time in total.
I'm NOT Your Father Either.

phantomk
Registered User
Posts: 1039
Joined: Wed Apr 14, 2004 5:32 am
Location: Canada Eh?
Name: Daniel Lee
Contact:

Post by phantomk » Sun Jul 23, 2006 10:52 am

I'm not entirely sure what you mean. Can you link me to your site ?

User avatar
DarthSpader
Registered User
Posts: 184
Joined: Tue Sep 30, 2003 1:56 pm

Post by DarthSpader » Sun Jul 23, 2006 11:08 am

HI
Last edited by DarthSpader on Wed Sep 27, 2006 9:03 am, edited 1 time in total.
I'm NOT Your Father Either.

BuzzStPoint
Registered User
Posts: 80
Joined: Thu Jul 28, 2005 4:50 am

Post by BuzzStPoint » Tue Jul 25, 2006 4:37 am

I got the mod working but it's been picking at my brain

Legend :: Moderators, Administrators, Registered Users, Inactive Users, Anonymous Users

How can I move the "Administrators" infront of the Moderators
Also I want to remove the Inactive users and Anonymous user.

???


**Edit.
Change the Admin and Mods around by changing the Group weight in the DB..

Now the only task I have is to remove the "Inactive and Anonymous"
Also I dont want it underlined. Any way to remove that?

phantomk
Registered User
Posts: 1039
Joined: Wed Apr 14, 2004 5:32 am
Location: Canada Eh?
Name: Daniel Lee
Contact:

Post by phantomk » Tue Jul 25, 2006 7:11 am

Clicking the arrows on the left will change the order of the groups. Also please read the discriptions of each option to find out how to remove them from the legend.

BuzzStPoint
Registered User
Posts: 80
Joined: Thu Jul 28, 2005 4:50 am

Post by BuzzStPoint » Wed Jul 26, 2006 3:54 am

I see the arrows now.. Just over looked those.

In the groups I manually make, there is an option to display, But. In the section on the top were you set the anonymous, inactive and registered there is no option to not show.

Any ideas?

tom971
Registered User
Posts: 1
Joined: Sat Aug 05, 2006 6:13 pm

Problem with with Colors during add or remove from the user

Post by tom971 » Sat Aug 05, 2006 6:22 pm

Hy.
If moderator either adds or removes users from the Group is all color of this grupe away. User are only color active or inactive or anonnymus.
What is problem?
THX Tomi

Advanced_Group_Color_Management_1.2.3

Carbofos
Registered User
Posts: 191
Joined: Thu Mar 03, 2005 5:14 pm

Post by Carbofos » Sun Aug 06, 2006 10:25 am

class_color.php (@ line 240):

Code: Select all

				$sql = 'UPDATE ' . USERS_TABLE . '
						SET user_group_id = NULL
						WHERE user_id IN (' . implode(', ' , array_keys($this->users)) . ')
							AND user_group_id = ' . $group_id;
				if ( !$db->sql_query($sql) )
				{
					message_die(GENERAL_ERROR, "Couldn't update user_group_id.", "", __LINE__, __FILE__, $sql);
				}
			}

/* ... some more code ... */


			if ( !empty($this->users) )
			{
				$sql = 'UPDATE ' . USERS_TABLE . '
						SET user_group_id = ' . $group_id . '
						WHERE user_id IN (' . implode(', ' , array_keys($this->users)) . ')
							AND user_group_id = \'\'';
Should'n there be rather 'AND user_group_id IS NULL' (in the last query)?

phantomk
Registered User
Posts: 1039
Joined: Wed Apr 14, 2004 5:32 am
Location: Canada Eh?
Name: Daniel Lee
Contact:

Post by phantomk » Sun Aug 06, 2006 6:21 pm

Thier have been 2 versions since this release, still testing them and have not submitted them to the MOD DB because I want to ensure their are no problems.
Hy.
If moderator either adds or removes users from the Group is all color of this grupe away. User are only color active or inactive or anonnymus.
What is problem?
THX Tomi

Advanced_Group_Color_Management_1.2.3

Solved in the latest version 1.2.5

caro1978
Registered User
Posts: 27
Joined: Fri Jul 28, 2006 5:33 pm
Location: Belgium
Contact:

Post by caro1978 » Sun Aug 13, 2006 1:22 pm

Hello

thank you for this mod
it's work perfectly :)

really fun and completed :)

but i have many others mods , I a would like to add the color

I have the mods:
user of day
similar topic
shoutbox
( not important:
album photo
arcade)

How can I do to add color for these mods? please?
thank you
(sorry for my bad english)

caro1978
Registered User
Posts: 27
Joined: Fri Jul 28, 2006 5:33 pm
Location: Belgium
Contact:

Post by caro1978 » Mon Aug 14, 2006 7:15 am

yesterday this mod was perfect

but a member try to change her birthday's date
and after I have this message:

Code: Select all

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/www.my_domaine.com/includes/page_header.php on line 143 
and the 143 line is:

Code: Select all

$style_color = ' class="' . $color->get_user_color($row['user_group_id'], $row['user_session_time']) . '"';
have you an idea?
thank you

phantomk
Registered User
Posts: 1039
Joined: Wed Apr 14, 2004 5:32 am
Location: Canada Eh?
Name: Daniel Lee
Contact:

Post by phantomk » Mon Aug 14, 2006 6:16 pm

The birthday mod uses the $color variable, you will have to change it to something else to avoid the error.

caro1978
Registered User
Posts: 27
Joined: Fri Jul 28, 2006 5:33 pm
Location: Belgium
Contact:

Post by caro1978 » Mon Aug 14, 2006 6:52 pm

thanks for the answer
I use the mod of TerraFrost (mod birthday)

I don't know what I must change ?
Must I change somethig in your mod ? or in the TerraFrost's mod ?

Sorry for my stupid question

Post Reply

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