Page 9 of 10

Re: Advanced Group Color Management - IM 141

PostPosted: Thu Feb 19, 2009 1:45 am
Author: obiku
Did you make the code change like this post said..

http://www.integramod.com/forum/viewtop ... =45#p25162

Also
OPEN
Code: Select all
/includes/constants.php

FIND
Code: Select all
define('iNA_SCORES', $table_prefix.'ina_scores');

AFTER ADD
Code: Select all
define('COLOR_TABLE', $table_prefix.'color');

FIND
Code: Select all
define('POST_GROUPS_URL', 'g');

AFTER ADD
Code: Select all
define('POST_STYLES_URL', 's');


OPEN
Code: Select all
memberlist.php

FIND
Code: Select all
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar    FROM " . USERS_TABLE . "    WHERE user_id <ANONYMOUS> $username,

REPLACE WITH
Code: Select all
          'USERNAME' =>  $colors->get_user_color($row['user_group_id'], $row['user_session_time'], $username),

Re: Advanced Group Color Management - IM 141

PostPosted: Thu Feb 19, 2009 5:27 am
Author: .QUACK.Major.Pain
I used the pre-modded files.
Like I said before, it worked for a day and a half maybe two days then changed on it's own.

Re: Advanced Group Color Management - IM 141

PostPosted: Thu Feb 19, 2009 8:21 am
Author: obiku
I had the same problem, at first everything seems to work correct. But after I changed something (and I don't know in which order) in my Permissions table and my Advanced Group Color table, everything went wrong.

I think it had to do with the permissions. After installing, all the css names in the def_tree.php where correct. But after changing something in my user/groups permissions, all css names where like username_color_, without the number...

I don't even know if the premodded files have the bugfix in it???

Re: Advanced Group Color Management - IM 141

PostPosted: Thu Feb 19, 2009 8:27 am
Author: obiku
I just checked the zip file, but AGCM_IM141e.zip doesn't have the fix in it.

So better check the /includes/functions_categories_hierarchy.php, and make the fix

Re: Advanced Group Color Management - IM 141

PostPosted: Thu Feb 19, 2009 5:42 pm
Author: .QUACK.Major.Pain
Thanks - I assumed the fix was already inserted.

That alone doesn't fix it. Still shows the username_color_
You have to assign any member moderator status on any section, and the group name appear.
Then you can remove the users moderator status and everything looks ok.

Helter,

I edited the file and added a note on how to fix the bug.

I attached the modified package if you want to replace the one in the downloads area.

Re: Advanced Group Color Management - IM 141

PostPosted: Sat Feb 21, 2009 11:19 pm
Author: Wishful
I tried adding a user to the moderator list of the forum and removing. It doesn't work. All it does is that instead of showing 'username_color_' it shows 'username_color_x' where x is a group id

Re: Advanced Group Color Management - IM 141

PostPosted: Sat Feb 21, 2009 11:26 pm
Author: Helter
obiku, can you update the AGC download?

Re: Advanced Group Color Management - IM 141

PostPosted: Mon Feb 23, 2009 12:07 pm
Author: .QUACK.Major.Pain
"Wishful" wrote:I tried adding a user to the moderator list of the forum and removing. It doesn't work. All it does is that instead of showing 'username_color_' it shows 'username_color_x' where x is a group id



Did you do the fix first?

Re: Advanced Group Color Management - IM 141

PostPosted: Mon Feb 23, 2009 1:09 pm
Author: obiku
"HelterSkelter" wrote:obiku, can you update the AGC download?

I will get into this a.s.a.p.

Re: Advanced Group Color Management - IM 141

PostPosted: Sat Mar 07, 2009 2:04 pm
Author: .QUACK.Major.Pain
Ok might just be me, but I installed the ACGM and it doesn't allow to change user colors in profile anymore.

I downloaded and reinstallled, and still can't. Not sure why this changed.

Re: Advanced Group Color Management - IM 141

PostPosted: Thu Mar 12, 2009 4:46 am
Author: .QUACK.Major.Pain
Seems to be just on one site - my other site appears ok.
I do notice also, as the page loads, the one group color loads as the proper color and as the page finishes loading, the group changes to the integramod default color. Just the one group, not the others.

Guess something got bugged.

Re: Advanced Group Color Management - IM 141

PostPosted: Fri Mar 13, 2009 2:54 pm
Author: Helter
check your root/profilcp/def/def_user*.php edits and file permissions. should be set to 666

Re: Advanced Group Color Management - IM 141

PostPosted: Fri Mar 13, 2009 3:20 pm
Author: .QUACK.Major.Pain
All set to 666
I'll upload all the root/profilcp/ files and folders again, but still no usergroup color option in the profile settings.

Re: Advanced Group Color Management - IM 141

PostPosted: Fri Mar 13, 2009 3:22 pm
Author: .QUACK.Major.Pain
I tried to do the /forum/install/install.php again, but says all ready up to date.
Thought maybe it was a database issue.

Re: Advanced Group Color Management - IM 141

PostPosted: Thu Oct 15, 2009 7:00 am
Author: golgoth
I just realized that i have a strange and "random" bug with this mod.

When in index (not in viewforum or in viewtopic) sometimes people do not have the right color, as you can see in this image, where two junior admins (color cyan) looks like normal users (color orange) in a pair of "last post" tables:
[img]http://img129.imageshack.us/img129/7896/93270261.jpg[/img]

The same happens with some other users, for example a moderator that looks like an admin and so on...

Any idea about what's going on?