News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Member Color Link

Started by Nibogo, April 02, 2005, 06:32:51 AM

Previous topic - Next topic

assam_siddibapa

Quote from: evilicy on November 10, 2008, 12:15:26 AM
Quote from: CFodder on November 09, 2008, 08:04:23 PM
Have tried installing it on version 1.1.7, default theme and get the following error:

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Are you going to do an update for this version?

Extract the file
Find the package-info and open it with a text editor such as notepad

find
<install for="1.1.5, 1.1.6">
and replace it with
<install for="1.1.5, 1.1.6, 1.1.7">

save the changes and re-zip the folder and you are good to go....


Thanks

CFodder

Aaaaaah, sweet, thanks evilicy I'll try that :).

ディン1031

if you look at the mod site you will see that the package is updateed ;).
Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

gurugugu

#703
Hi!.
SMF 1.1.7
Show Member Color Link For Recent Topics



Thanks.

ディン1031

At the first post there is an attached file: SSIMemberColorLinkXXX.zip. Install this package and than you can see the colors on the SSI.php :).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

gurugugu

Quote from: ディン1031 on November 11, 2008, 01:11:29 AM
At the first post there is an attached file: hxxp:ssimembercolorlinkxxx.zip [nonactive]. Install this package and than you can see the colors on the SSI.php :).

Bye
DIN1031

Thank you verry much.  ;)

kyle007

But member color doesn't work at user's profile pages ( i mean action=profile )

Any chance to colourize (not a static color) user's nicks on that page ?

ディン1031

Quote from: kyle007 on November 22, 2008, 06:36:48 AM
But member color doesn't work at user's profile pages ( i mean action=profile )

Any chance to colourize (not a static color) user's nicks on that page ?
As long the Theme file is changed than the name on that site should have a color, too. (Even if it a static name) ;).

But as long the full member context array is available the static names can be colored, too.
There is "colored_name" for this in the array.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

bdsur

I need it badly but which one support for smf version 1.1.7 lot of version have there i can't find out please help me

ディン1031

Quote
Mod Version 2.x: Compatible to SMF 1.0.x-1.1.4 and 2.0.x+
Mod Version 3.x: Compatible to SMF 1.1.5+ and SMF 2.0.x+

So the latest version is compatible to SMF 1.1.7 ;).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

bdsur

#

    * MemberColorLink205.zip [nofollow]
    * (31KB)
    * [2535]
    *

#

    * MemberColorLink210 (2.0Beta3).zip
    * (36KB)
    * [331]
    *

#

    * MemberColorLink215a (2.0Beta3).zip
    * (42KB)
    * [206]
    *

#

    * MemberColorLink216.zip [nofollow]
    * (48KB)
    * [786]
    *

#

    * MemberColorLink300.zip [nofollow]
    * (41KB)
    * [871]
    *

#

    * MemberColorLink302-Fix.zip [nofollow]
    * (46KB)
    * [878]
    *

#

    * MemberColorLink303.zip [nofollow]
    * (48KB)
    * [198]
    *

#

    * MemberColorLink304.zip [nofollow]
    * (51KB)
    * [165]
    *

#

    * MemberColorLink305.zip [nofollow]
    * (63KB)
    * [899]
    *

#

    * MemberColorLink305a.zip [nofollow]
    * (53KB)
    * [8747]
    *

which one support for 1.1.7?? i can't find out

ディン1031

Öhm... latest...

For example you see the current topic link there stande: Member Color Link (V3.0.5a) or on the Mod Page stand Version : 3.0.5a. So now i hope you see which one the latest version is.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

venex

This is a great modification. Congratulation :).

I just have a problem and an idea to you.. you know that with your modification, we can choose what color we want the brithday's users to have. Well, in my forum, I put a color that, I guess, everybody want to wear. Suddenly everybody's birthday are in December and I have like 3 users that is their birthday every single day -.-!

Can you make an option so they can just put their birthday once and that's it? And that the admin can change it when he/she wants but the users just can put it once... can you make that?

Thank you!

PS: Sorry for my bad english and sorry if you didn't understand.

ディン1031

That's a thing that's difficult to prevent xD.
I think it will not fit into the mod. (That's something i can not prevent xD).

If i had time, than i would say yes i will do it, but at the moment i do not have the time to do it.
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

.HuNTeR.

hi Din
today i have lots of errors in Forum Error Log

512: loadMemberContext(): member id x(diffrenet IDs) not previously loaded by loadMemberData()
File: forum/Sources/Load.php
Line: 1045

and in profile of all users just showing this:
An Error Has Occurred!
The user whose profile you are trying to view does not exist.

i am using 3.0.5.a

please fix this bug

ディン1031

#715
Quote from: HuNTeR@sm on January 01, 2009, 02:00:51 AM
hi Din
today i have lots of errors in Forum Error Log

512: loadMemberContext(): member id x(diffrenet IDs) not previously loaded by loadMemberData()
File: forum/Sources/Load.php
Line: 1045

and in profile of all users just showing this:
An Error Has Occurred!
The user whose profile you are trying to view does not exist.

i am using 3.0.5.a

please fix this bug
Why do you think that this come from the member color link? :X

For me it looks like a mod call the "loadMemberContext" without checking if the user id exits.
And this can be happen with any mod :X

And my mod don't need to load the loadMemberContext and use only that what smf load and smf check if the id exists.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

.HuNTeR.

because today i update from 3.0.2 to 3.0.5a and this problem occurred and when i manually reedited the load.php file to 3.0.2 the problem fixed

ディン1031

#717
Quote from: HuNTeR@sm on January 01, 2009, 03:00:43 PM
because today i update from 3.0.2 to 3.0.5a and this problem occurred and when i manually reedited the load.php file to 3.0.2 the problem fixed
Strange can you give me the changes version of your Load.php oO.
Because i use the version since i released it and I've no errors with this.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

.HuNTeR.

here:

<edit file>
$sourcedir/Load.php
</edit file>

<search for>
   $modSettings['MemberColorLinkVersion'] = '3.0.2';
</search for>

<replace>
   $modSettings['MemberColorLinkVersion'] = '3.0.5';
</replace>

<search for>
   // Make sure it's an array.
   $users = !is_array($users) ? array($users) : array_unique($users);
</search for>

<replace>
   // Make sure it's an array.
   $users = !is_array($users) ? array($users) : array_unique($users);
   
   //... SSI can insert empty users :x   
   foreach($users as $k => $u)
      if(empty($u) || $u < 0 || !is_numeric($u))
         unset($users[$k]);
</replace>

<search for>
         $loaded_ids[] = $data['ID_MEMBER'];
         $user_profile[$data['ID_MEMBER']] = $data;
         //Happy Birthday Color to this user
         if(!empty($modSettings['MemberColorBirthdayColor']) && !empty($data['birthdate']) && compare_colorBirthdate($data['birthdate'])) {
            $user_profile[$row['ID_MEMBER']]['post_group_color'] = $modSettings['MemberColorBirthdayColor'];
            $user_profile[$row['ID_MEMBER']]['member_group_color'] = $modSettings['MemberColorBirthdayColor'];
         }
         //Color Banned user, replace there color... hope they are not moderators ;P?
         if(!empty($modSettings['MemberColorBanned']) && isset($data['is_activated']) && $data['is_activated'] >= 10) {
            $user_profile[$row['ID_MEMBER']]['post_group_color'] = $modSettings['MemberColorBanned'];
            $user_profile[$row['ID_MEMBER']]['member_group_color'] = $modSettings['MemberColorBanned'];
         }
         //Memeber Color Link will used Chached Data, too wheee.
         if($set == 'normal' || $set == 'profile') //This are the only sets with the info the mod need.
            $color_profile[$data['ID_MEMBER']] = array(
               'ID_MEMBER' => $data['ID_MEMBER'],
               'realName' => $data['realName'],
               'member_group_color' => $user_profile[$row['ID_MEMBER']]['member_group_color'],     
               'post_group_color' => $user_profile[$row['ID_MEMBER']]['post_group_color'],     
            );
</search for>

<replace>
         $loaded_ids[] = $data['ID_MEMBER'];
         $user_profile[$data['ID_MEMBER']] = $data;
         //Happy Birthday Color to this user
         if(!empty($modSettings['MemberColorBirthdayColor']) && !empty($data['birthdate']) && compare_colorBirthdate($data['birthdate'])) {
            $user_profile[$data['ID_MEMBER']]['post_group_color'] = $modSettings['MemberColorBirthdayColor'];
            $user_profile[$data['ID_MEMBER']]['member_group_color'] = $modSettings['MemberColorBirthdayColor'];
         }
         //Color Banned user, replace there color... hope they are not moderators ;P?
         if(!empty($modSettings['MemberColorBanned']) && isset($data['is_activated']) && $data['is_activated'] >= 10) {
            $user_profile[$data['ID_MEMBER']]['post_group_color'] = $modSettings['MemberColorBanned'];
            $user_profile[$data['ID_MEMBER']]['member_group_color'] = $modSettings['MemberColorBanned'];
         }
         //Memeber Color Link will used Chached Data, too wheee.
         if($set == 'normal' || $set == 'profile') //This are the only sets with the info the mod need.
            $color_profile[$data['ID_MEMBER']] = array(
               'ID_MEMBER' => $data['ID_MEMBER'],
               'realName' => $data['realName'],
               'member_group_color' => $user_profile[$data['ID_MEMBER']]['member_group_color'],     
               'post_group_color' => $user_profile[$data['ID_MEMBER']]['post_group_color'],     
            );
</replace>

<search for>
         //Happy Birthday Color Hope you love it
         if(!empty($modSettings['MemberColorBirthday']) && !empty($row['birthdate']) && compare_colorBirthdate($row['birthdate'])) {
</search for>

<replace>
         //Happy Birthday Color Hope you love it
         if(!empty($modSettings['MemberColorBirthdayColor']) && !empty($row['birthdate']) && compare_colorBirthdate($row['birthdate'])) {
</replace>


and there is another thing when i want to update, update failed because this line

         if(!empty($modSettings['MemberColorBirthdayColor']) && !empty($data['birthdate']) && compare_colorBirthdate($data['birthdate'])) {

isn't look like this and i manually edited it and then update

ディン1031

And i can not see your updated version of the Load.php? :x
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Advertisement: