Advanced Group Color Management - IM 141

This forum contains member submitted mods and hacks for IntegraMOD/IM Portal versions

*please read the "Read Me" post*

Moderator: Integra Moderator

Re: Advanced Group Color Management - IM 141

PostAuthor: nGAGE » Sat May 12, 2007 7:48 am

"sgomes";p="23827" wrote:There seems to be a bug regarding group moderators, where they show up as "username_color" instead of with the correct group name. To view this, just assign to any group the moderation of a forum and view that forum.

After banging my head for a while (I don't know any PHP) I was able to find and fix the problem. Just go to includes/functions_categories_hierarchy.php and replace

Code: Select all
$s_group_names .= ( empty($s_group_names) ? '' : ', ' ) . sprintf("'%s'", str_replace("'", "'", $agcm_color->get_user_color($data['user_group_id'][$j], $data['group_name'][$j])));


with

Code: Select all
$s_group_names .= ( empty($s_group_names) ? '' : ', ' ) . sprintf("'%s'", str_replace("'", "'", $agcm_color->get_user_color($data['group_id'][$j], 0, $data['group_name'][$j])));


on line 425.

I hope this is useful to someone!


SÃÂÂ ©rgio Gomes


This fix worked fine for me... Thnx, but there is a nother little problem with it... don't know if it has to do with "cache" yet... will have to check that!

If you change the name of a group, for example from "Administrators" to "Admins"... it keeps displaying "Administrators"...
Like I said... have to check if it's a caching thing, but I currently solved it by going into the group/permissions for a group and without changing anything simply "Submit" again.
After that it's changed to "Admins"
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: nGAGE » Sat May 12, 2007 8:08 am

OK... So I've now tried several things... Clearing Cache in IM-PORTAL of the ACP and via EXTREME-STYLES Manage Cache in ACP, and it both doesn't solve the minor issue!

Further I've tested changing group type. This issue also occurs when changing the group-type from Closed to Hidden (group remains visible on forum) and also the other way around. If from Hidden to closed, group does not become visible, until you go to Group-Permissions and submit again.
So the problem happens somewhere in that it stores and reads the data but not dynamically updates it (I guess)

Any suggestions?
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: nGAGE » Sat May 12, 2007 8:16 am

Hmmm... VERY ODD!

Now I've made a post in my own BUG-TRACKER forum to not forget a bout this... and after the post it updated it :o
But why doesn't it do it after changes are made in ACP?

[EDIT-2]: I've now waited over 30-min and it doesn't change if I don't make a new post, after making a name change to the usergroup! So definately not a cache issue. Must be something that's missing in the admin/admin_groups.php or the admin/admin_group_extend.php that causes it to not update, I'd guess. Or... Aww shoot... dunno what files to look at, as it also update when posting :S

Perhaps in the files responsible/used when posting/editing it reads something from database that is not read after updating info on Group/Manage of ACP?

Will have a "beginer"-look at those to see if I notice anything <img>
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: nGAGE » Sat May 12, 2007 9:10 am

Another Question about this MOD... When adding new usergroups, it always adds them to the top of the list in ACPs Group/Colors... That can be a pain in the "you know what" when you constantly have to move them down. I'll see if I can findout why or where to change it to display the otherway arround, but if I can't find it... any suggestions are welcome.
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: nGAGE » Sat May 12, 2007 5:21 pm

OK... so this has been going wrong again for me and I think the earlier mentioned fix wasn't a fix, but rather a bypass for the bug.

FILE: /includes/functions_categories_hierarchy.php

I think there is something wrong with this part:
Code: Select all
 $agcm_color->get_user_color($data['group_id'][$j], 0, $data['group_name'][$j])  

I think it should be this (and it has the same effect and works for me):
Code: Select all
 $agcm_color->get_user_color($data['group_id'][$j], $data['user_group_id'][$j], $data['group_name'][$j])  



Please correct me if I'm wrong, but the correct fix on that line of code should be this:

Code: Select all
 ##-----[ FIND ]------------------------------------------#             $s_group_names .= ( empty($s_group_names) ? '' : ', ' ) . sprintf("'%s'", str_replace("'", "'", $agcm_color->get_user_color($data['user_group_id'][$j], $data['group_name'][$j])));  ##-----[ REPLACE WITH ]------------------------------------------#             $s_group_names .= ( empty($s_group_names) ? '' : ', ' ) . sprintf("'%s'", str_replace("'", "'", $agcm_color->get_user_color($data['group_id'][$j], $data['user_group_id'][$j], $data['group_name'][$j])));        


This has the same effect and will call the correct "group_id" + "user_group_id"

Which since this afternoon on the other fix (don't know if it had to do with the value ", 0" that was there), somehow set all my users' user_group_id to "0" and no colors displayed anymore.

Somewhere there must be some code that doesn't update the phpbb_users.user_group_id properly (I think)... I'm still searching... going through the manual install for clues.
Last edited by nGAGE on Tue May 22, 2007 6:09 am, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: nGAGE » Mon May 14, 2007 9:48 pm

Ok... I'm still convinced my version for displaying the forum moderators is the correct one, but now also want to call off false alarm on the updating issue.
Another mod was the cause! Got it fixed.
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: nGAGE » Tue May 22, 2007 6:12 am

Ok... I didn't get a reply from my PM to "Teelk"... could please somebody else confirm that this would be the proper fix?

FILE: /includes/functions_categories_hierarchy.php

Original full line:
Code: Select all
 $s_group_names .= ( empty($s_group_names) ? '' : ', ' ) . sprintf("'%s'", str_replace("'", "'", $agcm_color->get_user_color($data['user_group_id'][$j], $data['group_name'][$j])));  

Original inline:
Code: Select all
 $agcm_color->get_user_color($data['user_group_id'][$j], $data['group_name'][$j])  


Proposed fix: I think there is something wrong with this part:
Code: Select all
 $agcm_color->get_user_color($data['group_id'][$j], 0, $data['group_name'][$j])  


My proposed fix: I think it should be this (and it has the same effect and works for me):
Code: Select all
 $agcm_color->get_user_color($data['group_id'][$j], $data['user_group_id'][$j], $data['group_name'][$j])  
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: DjPorkchop » Sat May 26, 2007 11:35 am

My Issue with it is real simple. For some reason or the other, the only people whos names change colors anywhere on the board seems to be group owners and admin.

Ive messed with it, piched here, poked there, and yet still the smae results. If It wasnt such a major mod, I'd uninstall it completely. Teelk did a fine job with it, but needs overhauled something terrible.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1592
Likes: 135 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: nGAGE » Sat May 26, 2007 1:02 pm

I'm not totally sure, might be misunderstanding, but if I do understand it correctly, then there might actually not even be any bug anymore! Before I had the updating/resetting issue of the user's "user_group_id" to "0" all the time, I only excidentally found out about the UCP's UserColor Options.
Perhaps that's what makes you believe that the colors don't change, as you expect them to change by themselfs. However... that's not part of the mod (not entirely)... once a user has the choice of more then one color, the user will have to specify that color in his UCP himself (or the admins do it for them).
The reason is, if a user is member in 4 usergroups, that each allow the use of a special color, there is no way of telling which should get priority! Therefore the color will reset to default (in general that's the "Registered Users" color.

Follow this link for a quick visualization of what the users need to do! I actually made a very quick KnowledgeBase article for my members because they didn't realize it.

http://www.net-clan-gaming.com/kb.php?mode=article&k=1

Hope this is the solution/info you need... if not... :P
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: DjPorkchop » Sun May 27, 2007 9:47 pm

Nice.... I hadnt ever noticed the user part of it as well. ;-) BUT, When a user has logged in, and if the inactive user is set to display and session is enabled on the board, even members that are NOT logged in turn that color as well....

Once I figure that one out I should be ok.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1592
Likes: 135 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: shentrax » Fri Jun 01, 2007 1:33 pm

I only got colors on the group legend, the user online in x housr are only grey and white. The usernames on the forum indexes are gray. If you look at a post, it shows the default colors.

Dark Templates

reinstalled the mod 3+ times... cant figure it out.

http://nsbadclan.shentrax.net/forums
Last edited by shentrax on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shentrax
Newbie
Newbie
 
Posts: 22
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Nov 21, 2006 6:16 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: shentrax » Sat Jun 02, 2007 11:06 am

added the adjustmnent from nGAGE, now SOME of the groups are colorizing.

Seems that the 'default' integra board group colors are taking presidence over the 'agc' colors....

e.g. the administrators and register users default colors are orange and white... Some members updated and have populated throughout the board with the correct colors.

any ideas?
Last edited by shentrax on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shentrax
Newbie
Newbie
 
Posts: 22
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Nov 21, 2006 6:16 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: shentrax » Sat Jun 02, 2007 3:35 pm

zomg. I'm retarded.

Profile -> Profile Settings -> Username Color Options...

<img>
Last edited by shentrax on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shentrax
Newbie
Newbie
 
Posts: 22
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Nov 21, 2006 6:16 am
Cash on hand: 0.00

PostAuthor: nGAGE » Sat Jun 02, 2007 5:57 pm

Nice that you got it sorted shentrax. It's a lot of reading here and can get quite confusing, I'm sure. This whole mod (don't know why) got me thinking even now that it seems to work for me.

Why would the mod offer the "move up / move down" arrows in the ACP, if the order doesn't seem to have effect on what is default to a user anyhow?!
Now I'm not sure if it was intended to work the way I'll suggest in a moment, but I'm gonna add it to a list of my "TO-DOs".

It would be a lot better if the mod, when a user is added to a group, automatically applies the "highest ranked color" specified in the ACP's order of ranking of the colors, so it not only defines the order in the "Legend", but also by default picks a user color based on the highest positioned group. This will definitely stop people from thinking it's not working and prevent a lot of questions from the users, I'd say.

Perhaps the code is already in place to work like that, but there's a little typo somewhere, but if not... I'll see if I can add that tiny bit of extra code to automatically update the user's default color, based on the group's color ranking.

Hope I explained it correctly and hope I'll be able to come up with a proper update on this for those that are interested <img>
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: krencho » Tue Jun 19, 2007 1:42 pm

hello

can i get any help integrating agcm to shoutbox mod,
and someone can get out the sql queries from the install.php
Last edited by krencho on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

krencho
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat May 27, 2006 3:31 pm
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: vValentine » Sat Jun 23, 2007 4:54 am

Awesome mod, but I have a bit of a problem...

I've installed the mod onto the integra2 style
and all was well, but then when I added it to
the cs style (By helterskelter) the background
turned all gray.

I then removed the mod files from the cs style
for now until I could get some kind of an update
but now I have a worse problem. Instead of
saying 'Moderators: Head Admin, etc.' it says
'Moderators: username_color_, username_color_'
on all of my forum themes <img>

Any help available please?
Last edited by vValentine on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

vValentine
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Fri Jun 15, 2007 2:04 pm
Cash on hand: 0.00

PostAuthor: Teelk » Sun Jun 24, 2007 11:12 am

"nGAGE";p="26214" wrote:Nice that you got it sorted shentrax. It's a lot of reading here and can get quite confusing, I'm sure. This whole mod (don't know why) got me thinking even now that it seems to work for me.

Why would the mod offer the "move up / move down" arrows in the ACP, if the order doesn't seem to have effect on what is default to a user anyhow?!
Now I'm not sure if it was intended to work the way I'll suggest in a moment, but I'm gonna add it to a list of my "TO-DOs".

It would be a lot better if the mod, when a user is added to a group, automatically applies the "highest ranked color" specified in the ACP's order of ranking of the colors, so it not only defines the order in the "Legend", but also by default picks a user color based on the highest positioned group. This will definitely stop people from thinking it's not working and prevent a lot of questions from the users, I'd say.

Perhaps the code is already in place to work like that, but there's a little typo somewhere, but if not... I'll see if I can add that tiny bit of extra code to automatically update the user's default color, based on the group's color ranking.

Hope I explained it correctly and hope I'll be able to come up with a proper update on this for those that are interested :-?

Any help available please?
The name of the group is generated by the MOD, so all you'll get without modded theme files is part of the CSS class. I don't know exactly what's happening, but it sounds like a class conflict in the CSS somewhere. Did you MOD the files manually or use the premodded files for the cs style? Those are Integra2 files and may not be compatible with the cs style, any themes other then Integra2 should be manually edited.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: Advanced Group Color Management - IM 141

PostAuthor: vValentine » Wed Jun 27, 2007 2:29 pm

Premodded files since the manual installation looked insane.

But I've restored the origonal files now so the theme isnt as screwed up.

Any update on the username_color_ error? (Or did I overlook that <img> )
Last edited by vValentine on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

vValentine
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Fri Jun 15, 2007 2:04 pm
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: krencho » Sat Jun 30, 2007 12:38 pm

Teelk you can add the album to the shoutbox request because there's no color

in the poster name.

thanks
Last edited by krencho on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

krencho
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat May 27, 2006 3:31 pm
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: cutegothpirate » Mon Jul 09, 2007 8:51 pm

How about since it won't save your choices unless you are selecting your default style, make it so that you can't select a style at all and it automatically posts the changes to the default?

Also, you did not include the config for the template in the premodded file folder. That is probably causing a lot of problems.

Hey nGAGE!! That is a great fix and it worked for me! I think others should try it too if they run into the problem of group users not showing their colors.

I would love it if it did NOT remove the default colors of the administrators, jr admin, and the board founder. But I guess I can create those groups myself.

I'm tired of it not automatically showing the colors I have already chosen when I open the style I selected again.
Pretty annoying. If I could fix it, I would, but so busy coding my board at the moment.
Last edited by cutegothpirate on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

cutegothpirate
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jun 11, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: fldodger » Wed Aug 08, 2007 4:39 am

Does this program work or not?
There seems to be a lot of issues have they been resolved?
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Jul 03, 2007 11:02 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Thu Aug 09, 2007 7:33 am

yes, it works. The problems users are reporting where it does not remember settings in the acp are due to changing setings for "all" templates at once. If you have one available template, choose it when you make group color changes and it will remember your changes
Also, for members who belong to more than one group, they will have a choice in thier profile as to which color group to display, but you as admin can edit their profile to change their color
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: fldodger » Thu Aug 09, 2007 11:35 am

Thank you for clearing it up. I only use your dark blue. Love it
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Jul 03, 2007 11:02 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: cutegothpirate » Thu Aug 09, 2007 3:49 pm

I changed my template for the selection so it doesn't allow for selection of the any other template than my default. It makes it more stable. However, I'm working on hard coding everything in so I don't have to use the mod at all. It seems to not like to add in the databse the fact that someone was added to the usergroups everytime you add them. I'm getting tired of having to dump my cache all the time to kick it.
Last edited by cutegothpirate on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

cutegothpirate
Members
Members
 
Posts: 30
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jun 11, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: fldodger » Sat Sep 29, 2007 4:42 pm

I have this installed now. But I created some new subforum and the colors are mixed up. I have user with color of Mods-Site Admin I have Site Admin the color of mods.

Is there anyway to fix this.
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Jul 03, 2007 11:02 am
Cash on hand: 0.00

PostAuthor: RiverFox » Thu Oct 11, 2007 8:30 pm

Isn't there a line of code somewhere to just change one color?

I'm using the Solaris template the user is black. Which is not good, since the BG is also black.

HELP??!
Last edited by RiverFox on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

RiverFox
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Fri Oct 05, 2007 1:44 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Thu Oct 11, 2007 11:35 pm

open Solaris.css
Find
[code].usercolor, a.usercolor, a.usercolor]

you probably already know this, but "#000000" = black. Edit it to your prefered color
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: RiverFox » Mon Oct 15, 2007 2:11 am

Much thanks, I should have known it was in the "master" CSS file. Duh...
Last edited by RiverFox on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

RiverFox
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Fri Oct 05, 2007 1:44 am
Cash on hand: 0.00

PostAuthor: LeeUK » Mon Oct 22, 2007 3:51 pm

Hi, Sorry i may have missed this but i have just installed Intergramod and this hack was already installed.

I was wondering if i can change the color groups on the bottom of the forum?
Last edited by LeeUK on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

LeeUK
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Oct 22, 2007 1:10 pm
Cash on hand: 0.00

PostAuthor: fldodger » Wed Oct 31, 2007 8:17 am

Are you sure. I do not think this is included.

__________________________________

Anyone have a idea for this

I have this installed now. But I created some new subforum and the colors are mixed up. I have user with color of Mods-Site Admin I have Site Admin the color of mods.

Is there anyway to fix this.
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Jul 03, 2007 11:02 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: ThePlague » Sun Nov 11, 2007 8:23 pm

I think I made a boo boo....

Having installed the color mod on my 1.4.1 site, I noticed that a forum post count was missing so went about to synchronize the post count when I went about with the wrong thing and instead selcted Check user and group tables

now my registered users, anonymous users and inactive users groups are gone.
They dont exsist in the legend any more but the colors are still still showing in user names.

HELP!
Last edited by ThePlague on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

ThePlague
Newbie
Newbie
 
Posts: 15
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Nov 10, 2007 5:25 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: ThePlague » Mon Nov 12, 2007 6:19 am

Restored DB Backup problem solved!
Last edited by ThePlague on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

ThePlague
Newbie
Newbie
 
Posts: 15
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Nov 10, 2007 5:25 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: TheJT » Sat Nov 24, 2007 4:44 am

i have this problem with too that the moderators in the different forums are only shown as "username_color_"
this fix with
Code: Select all
 $agcm_color->get_user_color($data['group_id'][$j], $data['user_group_id'][$j], $data['group_name'][$j])  

didnt work for me. please help! its really annoying
Last edited by TheJT on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

TheJT
Members
Members
 
Posts: 55
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat May 06, 2006 2:12 am
Cash on hand: 0.00

PostAuthor: TheJT » Sat Nov 24, 2007 5:03 am

well now it works...dont know why but it works <img>
Last edited by TheJT on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

TheJT
Members
Members
 
Posts: 55
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat May 06, 2006 2:12 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: DjPorkchop » Tue Jan 01, 2008 8:35 pm

Did anyone ever find the fix for shout box? Im not sure if I'll use shout box or remove it but just in case I would like to fix it.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1592
Likes: 135 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: sanji » Fri Jan 18, 2008 5:07 am

I tried to install this MOD, but I ran into a problem...

I am using 1.4.2 with 2.0.22...

First, I changed the pre-modded files after comparing them with WinMerge to insert my own previous modifications; I got an error. So I tried the whole premodded package, erasing my own files, and even then I got the same error :

Code: Select all
 Warning]: failed to open stream: No such file or directory in /home/www/73af830798c8cd8cc7f2d911343589d3/web/forum/includes/functions_portal.php on line 32  Warning: main() [function.include]: Failed opening './includes/lite.php' for inclusion (include_path='.:/opt/php/lib/php') in /home/www/73af830798c8cd8cc7f2d911343589d3/web/forum/includes/functions_portal.php on line 32  Fatal error: Cannot instantiate non-existent class: cache_lite in /home/www/73af830798c8cd8cc7f2d911343589d3/web/forum/includes/functions_portal.php on line 37


Surprisingly, the file includes/lite.php is existing, and is not corrupted - I tried to re-upload it, and still got the same problem...

Error must come from one of the files of the package, as when I put back my original files, the forum started to work again - without this AGCM, of course.

I noticed that in [url=http]this message[/url], the same error was obtained (but for a different modification).


How could such "file not found" error occur???

Thanks,

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: sanji » Sat Jan 19, 2008 8:03 pm

Sorry to ask again, but has anyone seen this kind of problem? I tried again and got the same result...

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: fldodger » Thu Jan 24, 2008 9:12 pm

"TheJT";p="29474" wrote:i have this problem with too that the moderators in the different forums are only shown as "username_color_"
this fix with
Code: Select all
 $agcm_color->get_user_color($data['group_id'][$j], $data['user_group_id'][$j], $data['group_name'][$j])  

didnt work for me. please help! its really annoying


Where do I put this?
And will fix this problem
Anyone have a idea for this

I have this installed now. But I created some new subforum and the colors are mixed up. I have user with color of Mods-Site Admin I have Site Admin the color of mods.
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Jul 03, 2007 11:02 am
Cash on hand: 0.00

PostAuthor: D3monik » Wed Jan 30, 2008 11:52 pm

Everything seems to be in the working order for this mod except for a few things.

1- I noticed that any user can change their color settings to any group. If they are in one group they can still pick that color of the others. This applies for normal users who arent party of any groups.

2- Colors are showing up like they are suppose to but usernames for moderators of forums stay white which is the normal color for a registered user. I didnt set up a mod group b/c of the bug but I still think it should show their group color in which they are a member of.

If anyone has any idea whats bugging out here, feel free to drop me some suggestions.

--Nate
Last edited by D3monik on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

D3monik
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Wed Jan 23, 2008 3:21 pm
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Thu Jan 31, 2008 12:54 am

I dont know that much about this mod, but I do know that if properly installed, users only have the choices of the groups they belong too.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: Okki » Thu Feb 28, 2008 5:27 am

"MWE_001";p="29998" wrote:Did anyone ever find the fix for shout box? Im not sure if I'll use shout box or remove it but just in case I would like to fix it.
Yes, i am also very much interested to use Advanced Group Color Management in the shoutbox.
Last edited by Okki on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[hr][size=99px] [url=http]http][/size]
[color=red][size=99px][/size]
Please visit our advertisers.
User avatar
Okki
Dev Team
Dev Team
 
Posts: 576
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sun Mar 26, 2006 2:05 pm
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: DjPorkchop » Thu Feb 28, 2008 8:48 am

"HelterSkelter";p="30879" wrote:I dont know that much about this mod, but I do know that if properly installed, users only have the choices of the groups they belong too.


That is infact correct. I had a user come to me with the same exact issue. Come to find out, they were logged in as admin. Admin can see every color group regarless of the fact. Once he logged out of the admin account and back in as a user, he then realised that he could only choose the specified groups that he was assigned to. All of the other choices were gone.

As far as the mod error goes, I tried it on a couple of other installs and it worked fine. Just have to clear the cache and all that good stuff to get it to kick in and work.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1592
Likes: 135 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: shaythong » Thu Mar 20, 2008 8:47 pm

Can you guys make this work (Advanced group color management) for IM Portal 1.2.0?
Last edited by shaythong on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shaythong
Newbie
Newbie
 
Posts: 15
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sun Mar 18, 2007 10:25 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Fri Mar 28, 2008 2:54 pm

I am in the process of trying this, and I uploaded the pre-modded files.
After installing, I went to the ACP, and found this:

[flash=,:188tn9zf]http://i71.photobucket.com/albums/i151/breck680228/pic1.jpg[/flash:188tn9zf]

Under the Integra News, it shows the website of my host.

How did that happen?
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Fri Mar 28, 2008 4:21 pm

Not sure if others have this issue, but as people register, they all take on the admin color amd not default color.

Got everything working other than new registered users changing to admin color.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Fri Mar 28, 2008 4:45 pm

Apparently the user group id was defaulting wrong. Was going to 1161 instead of 1158 or 9 which every it should be. Changed the users in the database and back to normal.

Have to wait for someone else to register to see if it happens again.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Sat Mar 29, 2008 7:36 am

Well I noticed that the line change for the username_color was updated in the latest download, but I seem to still have that showing up for forum group moderators. Not sure why.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Uploaded Premodded files, Getting all white pages,

PostAuthor: zomg » Sun Mar 30, 2008 8:24 pm

I uploaded the premodded files, now im getting all white pages, so i reuploaded the default IM141 files overtop of teh overwritten AGCM files, now im getting

phpBB : Critical Error

Could not get theme data for themes_id [2]

Someoen had me try to change my default theme ID back to 1, to integra default, and its still doing the same thing
Last edited by zomg on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

zomg
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Thu Oct 25, 2007 12:10 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Sun May 04, 2008 5:22 pm

Something I have noticed is that if you have a forum with sub-forums, the members name doesn't show in color. It shows in the default light blue color.
In a regular forum, everything works good, but just the forums containing sub-forums.

Another glitch I hope someone can help out with.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: shentrax » Thu Jun 05, 2008 9:37 am

1.4.1f install with agcm premoded files, shows moderators as username_color.

that code fix on page 4 doesnt work, any other suggestions?
Last edited by shentrax on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shentrax
Newbie
Newbie
 
Posts: 22
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Nov 21, 2006 6:16 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: shentrax » Thu Jun 05, 2008 10:26 am

"sgomes";p="23827" wrote:There seems to be a bug regarding group moderators, where they show up as "username_color" instead of with the correct group name. To view this, just assign to any group the moderation of a forum and view that forum.


After reading this thread about 6 times, I realized that he meant to assign a user with moderator access (or make a user a moderator) of a single forum.
ACP -> User - > Permissions -> 'Is Moderator'

Then refresh the forum index.

Then you can remove the user, and the groups will show corectly.

Thank goodness its working now.
Last edited by shentrax on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shentrax
Newbie
Newbie
 
Posts: 22
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Nov 21, 2006 6:16 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Thu Jun 05, 2008 11:22 am

First Post updated with premod files that should work fine for versions 141e and later
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: swiftakias » Fri Jul 04, 2008 3:49 pm

The legend at the bottom keeps displaying member groups in the old way and doesn't show the new group I created. Although colors can be changed even for the group it is not displayed. I have selected all my 5 groups to be displayed from Group Admin -> Colors, but still no luck. any ideas?

thanx
Last edited by swiftakias on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

swiftakias
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sun Jun 15, 2008 3:40 am
Cash on hand: 0.00

PostAuthor: .QUACK.Major.Pain » Sun Jul 06, 2008 9:00 pm

"swiftakias";p="33564" wrote:The legend at the bottom keeps displaying member groups in the old way and doesn't show the new group I created. Although colors can be changed even for the group it is not displayed. I have selected all my 5 groups to be displayed from Group Admin -> Colors, but still no luck. any ideas?

thanx


You have to go to each users profile>profile settings>Username Color Options and select the group color you want to appear for that user.

You have to do this for every user in a group.

This is because a user could belong to 2,3,4... group and website doesn't know which group color to show.

Only glitch is that a user that only belongs to 1 group should automatically show that group color, but it doesn't and requires you to select the group in the profile.

Once you set the users profile, you may have to go to ACP>IM PORTAL>DELETE CACHE
to allow colors to appear.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Sun Nov 23, 2008 9:08 pm

Any chance of getting this mod again?

Links are no more good.

I have it installed, but seems my Who's Online portion doesn't show the new groups anymore.
It's defaulted back to the old groups.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Sun Nov 23, 2008 11:32 pm

"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Mon Nov 24, 2008 6:03 am

Thanks Helter.

Little confused with where to fix my issue.
My fisubice theme is ok but the integra theme is not showing now.
So this would lead me to look in the edits related to the themes.

I looked through all the instructions, and where it says [FIND], when I search for the suggested phrase, it doesn't find it or anything somewhat close to it.
Tried all the instructions in the download and same results with all of them.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Mon Nov 24, 2008 9:08 am

can you post the code your having trouble with?
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Mon Nov 24, 2008 6:25 pm

It is the 2 text files which are the instructions.

AGCM & AGCMCH in the AGCM_phpbb folder

AGCM says to open templates/subSilver/index_body.tpl and find
<td><img></td>
I can't find a line close to that.

AGCM_CH says to open templates/subSilver/index_stats_box.tpl, but from what I can see, that file doesn't exist.


I might just upload the premodded files.
It will just copy over my previous personal mods, but I think I can fix my changes afterwards.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Tue Nov 25, 2008 12:28 pm

find
Code: Select all
<BEGIN><tr><td> </td></tr><tr><td><table><tr><th><span><a>{L_WHO_IS_ONLINE}</a></span></th></tr><tr><td><img> </td><td><span>{TOTAL_POSTS}<br>{TOTAL_USERS}<br>{NEWEST_USER}</span></td></tr><tr><td><span>{TOTAL_USERS_ONLINE} <br> {L_WHOSONLINE}<br>{RECORD_USERS}<br>{LOGGED_IN_USER_LIST}</span></td></tr><tr><td><span>{L_ONLINE_EXPLAIN}</span></td>  </tr><tr><td><span>{USERS_OF_THE_DAY_LIST}</span></td></tr></table><table><tr><td></td><td></td><td></td></tr></table></td></tr><END>


replace with

[code]<BEGIN><tr><td> </td></tr><tr><td><table><tr><th><span><a>{L_WHO_IS_ONLINE}</a></span></th></tr><tr><td><img> </td><td><span>{TOTAL_POSTS}<br>{TOTAL_USERS}<br>{NEWEST_USER}</span></td></tr><tr><td><span>{TOTAL_USERS_ONLINE} <br>{RECORD_USERS}<br>{LOGGED_IN_USER_LIST}</span></td></tr><END><tr><td><span class="gensmall" style="font-weight]
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Tue Nov 25, 2008 3:50 pm

Thanks Helter.

That was the problem.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Sun Nov 30, 2008 9:33 am

This mod isn't the same we had 6-8 months ago.

Tried to add it to a new theme, and couldn't figure it out.
Actually screwed everything up and lost it all.

The one I installed in the past was far easier.

Gonna try to recover my files from a backup and see if I can get it all back.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Sun Nov 30, 2008 9:51 am

post your profilcp/def/def_userfuncs.php
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Sun Nov 30, 2008 10:04 am

Too late.

I didn't have a backup of my files. Hard drive was cooked and had to replace it. Lost all backups.

I started uploading files from fresh download to replace bad ones.
Was getting severe error messages so I am going to try to get he files back to default files and start from scratch.

Apparently this mod doesn't recognize things in the database that were created in the past mod install.

Once all is working fine again, will try it again.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Mon Feb 16, 2009 7:10 pm

Installed this on another forum and everything looked good.
After a couple hours, the username_color_ started appearing.
I set a user to moderate a couple forums, and later removed them, but still appears.

Gonna leave it be until tomorrow and see if it works itself out.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: HardHead » Tue Feb 17, 2009 11:17 pm

Been getting the same thing on my site for the last few months and still haven't found away of fixing it
[photo]http://www.hh-forums.com/Banners/Sig.gif[/photo]
[photo]http://www.hh-forums.com/Banners/HardHeadSig2.gif[/photo]
User avatar
HardHead
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Sep 17, 2007 11:05 pm
Cash on hand: 0.00
Location: Dumas, Arkansas

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Wed Feb 18, 2009 5:52 am

I fixed it on one of my sites, but can't remember how.
Been a while ago.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Wed Feb 18, 2009 5:56 am

I tried adding a new member to usergroup. - No go
I tried giving an individual moderator permission on some areas - No go
I tried reassigning different group to user - No go

Not sure what else to try.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Wed Feb 18, 2009 10:29 am

did you go to acp/User Admin/"username"/Profile/Public Information/Username Color Options/"Select your default group color:" ?
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Wed Feb 18, 2009 2:59 pm

"HelterSkelter" wrote:did you go to acp/User Admin/"username"/Profile/Public Information/Username Color Options/"Select your default group color:" ?


Not sure what area this is.
I did go to ACP/General Admin/Configuration +/Profile Options/Profile Settings/Username Color Options and set the default color there.

Still doesn't show the moderator group name in the forum area.

Our forum is http://www.aaquacks.com

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Wed Feb 18, 2009 6:01 pm

that was to change an individuals group color.
It sounds like a PCP issue. check your chmods on these files
666 profilcp/functions_profile.php
777 profilcp/def
666 profilcp/def/def_userxxxxxx.php

One thing I noticed about this mod is that you cannot choose "edit all styles" in acp/Group Admin/colors
All styles have to be edited individually
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Wed Feb 18, 2009 6:26 pm

All chmods were correct.
I have changed colors by "edit all styles" on both sites and it worked fine.
I tried doing them seperately and still didn't work.

Just not sure why, when I first set it up, it was working fine, and out of the blue, 2 days later, the username_color_ began appearing.
Nothing was changed.

Kind of a bummer.
I had this issue on my other site and if I remember, adding one individual the permission to moderate, fixed everything.
I then removed this person afterwards and it was fine.

Doesn't seem to work to fix it this time.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Wed Feb 18, 2009 6:28 pm

"HelterSkelter" wrote:did you go to acp/User Admin/"username"/Profile/Public Information/Username Color Options/"Select your default group color:" ?


to change the individuals group color, you don't need to go to ACP.
you can do it all from the forum by selecting the user and selecting their profile.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Wed Feb 18, 2009 7:54 pm

check your overall_header and simple header to be sure you have the css edits for the user_color

Code: Select all
 ##-----[ OPEN ]------------------------------------------------#templates/integra2/overall_header.tpl  ##-----[ FIND ]------------------------------------------------#</head>  ##-----[ BEFORE, ADD ]------------------------------------------#{COLOR_CSS}  ##-----[ OPEN ]------------------------------------------------#templates/integra2/simple_header.tpl  ##-----[ FIND ]------------------------------------------------#</head>  ##-----[ BEFORE, ADD ]------------------------------------------#{COLOR_CSS}    
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Wed Feb 18, 2009 8:06 pm

Checked both files and that line was in both.
Ok there.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: obiku » Thu Feb 19, 2009 1:45 am

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),
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue May 02, 2006 11:22 am
Cash on hand: 0.00
Location: level 8

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Thu Feb 19, 2009 5:27 am

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.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: obiku » Thu Feb 19, 2009 8:21 am

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???
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue May 02, 2006 11:22 am
Cash on hand: 0.00
Location: level 8

Re: Advanced Group Color Management - IM 141

PostAuthor: obiku » Thu Feb 19, 2009 8:27 am

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
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue May 02, 2006 11:22 am
Cash on hand: 0.00
Location: level 8

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Thu Feb 19, 2009 5:42 pm

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.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Wishful » Sat Feb 21, 2009 11:19 pm

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

Wishful
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Feb 17, 2009 10:07 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Sat Feb 21, 2009 11:26 pm

obiku, can you update the AGC download?
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Mon Feb 23, 2009 12:07 pm

"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?

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: obiku » Mon Feb 23, 2009 1:09 pm

"HelterSkelter" wrote:obiku, can you update the AGC download?

I will get into this a.s.a.p.
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue May 02, 2006 11:22 am
Cash on hand: 0.00
Location: level 8

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Sat Mar 07, 2009 2:04 pm

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.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Thu Mar 12, 2009 4:46 am

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.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Helter » Fri Mar 13, 2009 2:54 pm

check your root/profilcp/def/def_user*.php edits and file permissions. should be set to 666
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Fri Mar 13, 2009 3:20 pm

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.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Fri Mar 13, 2009 3:22 pm

I tried to do the /forum/install/install.php again, but says all ready up to date.
Thought maybe it was a database issue.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: golgoth » Thu Oct 15, 2009 7:00 am

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?

golgoth
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 20, 2009 11:29 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: .QUACK.Major.Pain » Thu Oct 15, 2009 2:29 pm

The mod has always been glitched, and I reported this bug before, but no one ever responded or found a fix that I know of.

A forum area with no sub-forums shows the correct colors.

A forum area with sub=forums shows the default registered user color.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: golgoth » Thu Oct 15, 2009 2:49 pm

Uhm ya, now that you make me notice it you're right... so there's no fix for it? damn <img>

golgoth
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 20, 2009 11:29 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: golgoth » Thu Oct 15, 2009 3:30 pm

I just found out a 1.2.5a version of the mod, but it's for CH 2.1.6e and i suppose it doesn't work with IM... probably the bug has been fixed in this version.

EDIT: is there a way at least to disable user colors for "last topic" in index.php?

golgoth
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 20, 2009 11:29 am
Cash on hand: 0.00

Re: Advanced Group Color Management - IM 141

PostAuthor: Vendethiel » Sun Dec 16, 2018 12:47 pm

This mod is now integrated by default in the IntegraMOD package. This thread will probably be moved/closed.

Vendethiel
Administrator
Administrator
 
Posts: 471
Likes: 26 posts
Liked in: 59 posts
Images: 0
Joined: Fri Sep 16, 2016 9:50 am
Cash on hand: 996.30

Next

Return to Mods/Hacks

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]