Member Color Link

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

Previous topic - Next topic

DeathFlamePower

I want this mod for smf 1.1.12 you can fix it plz ?

-=[Vyorel]=-

Quote from: TechPrince on November 05, 2010, 01:41:36 PM
Try this one, i wanted my title for that link so i kept it, its removed in RC4 thats why the search result was false.
Error at file /Sources/Load.php


Action:

Find:
  if (!empty($row['id_moderator'])) $board_info['moderators'][$row['id_moderator']] = array( 'id' => $row['id_moderator'], 'name' => $row['real_name'], 'href' => $scripturl . '?action=profile;u=' . $row['id_moderator'], 'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_moderator'] . '" title="' . $txt['board_moderator'] . '">' . $row['real_name'] . '</a>' ); 

Replace:
  if (!empty($row['id_moderator'])) { //Online Color if needed for a Moderator :D, to many ways possible <<  if(!empty($modSettings['MemberColorModeratorLinks'])) $onlineColor = load_mod_color(true); if(!empty($onlineColor)) $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_moderator'] . '" title="' . $txt['board_moderator'] . ' ' . $row['real_name'] . '"'.(!empty($modSettings['MemberColorLinkOldSpanStyle']) ? '><span style="color:'.$onlineColor.';">' : ' style="color:'.$onlineColor.';">') . $row['real_name'] . (!empty($modSettings['MemberColorLinkOldSpanStyle']) ? '</span>' : '').'</a>'; else $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_moderator'] . '" title="' . $txt['board_moderator'] . '">' . $row['real_name'] . '</a>'; $board_info['moderators'][$row['id_moderator']] = array( 'id' => $row['id_moderator'], 'name' => $row['real_name'], 'href' => $scripturl . '?action=profile;u=' . $row['id_moderator'], 'link' => $link ); } 

Why?
My mods for SMF - [6].

Rain Forest

Quote from: TechPrince on November 05, 2010, 01:41:36 PM
Try this one, i wanted my title for that link so i kept it, its removed in RC4 thats why the search result was false.
Thanks!

Tommiiee

#1023
Can you please update this mod for SMF 1.1.12? :)

bros

Quote from: TechPrince on November 03, 2010, 11:45:26 PM
Here is the modified version for RC4.

Errors in Load.php @ step 3

PersonalMessage.php @ step 1

ModerationCenter.php @ step 13

Any idea?

joey791

Getting the load.php error on 2.0 RC4 and one of my themes is not listed to install the mod to.

Tommiiee

Quote from: TechPrince on November 05, 2010, 01:41:36 PM
Try this one, i wanted my title for that link so i kept it, its removed in RC4 thats why the search result was false.
TechPrince, can you also fix version 3.0.8 for SMF 1.1.12?

When I upload the package, and select 'apply mod' it says 'no install actions defined' (translated from Dutch).

Tommiiee

#1027
FIXED FOR SMF 1.1.12

Download the attachment for installation of this mod on SMF 1.1.12

Removed Attachment: You cannot re-distribute an author's modification without written permission.

~ѕησω

Rain Forest

Quote from: bros on November 21, 2010, 06:42:03 PM
Quote from: TechPrince on November 03, 2010, 11:45:26 PM
Here is the modified version for RC4.

Errors in Load.php @ step 3

PersonalMessage.php @ step 1

ModerationCenter.php @ step 13

Any idea?

Modifications

Pa​vel

Is this mod compatible with SMF RC4?



chinaren

The Opus Path - The Next Generation of the Written Word

Pa​vel

Quote from: chinaren on December 24, 2010, 01:41:58 AM
Thanks for the RC4 update!
What do you mean, it doesn't say it's compatible with RC4....

TheListener

Quote from: TechPrince on November 03, 2010, 11:45:26 PM
Here is the modified version for RC4.

This is where it says themod is compatible with RC4.


joey791

Had to install with some manual edits, but mod works great, I'm using 2.0 RC4

elguapo

Quote from: TechPrince on November 03, 2010, 11:45:26 PM
Here is the modified version for RC4.
i installed this but i got this error..
Quote2.   Execute Modification   ./Sources/Admin.php   Test successful
   3.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   4.   Execute Modification   ./Sources/Load.php   Test failed
   1.   Replace   ./Sources/Load.php   Test successful
   2.   Replace   ./Sources/Load.php   Test successful
   3.   Replace   ./Sources/Load.php   Test failed

any solution sir?

agent47

My site runs on Tiny Portal so I would really like to see the member colors displayed on the "Users online" list. Someone please help me out. The colors are display correctly on the boards but not on the user online list. Help is needed please :(

PortaMx is probably the best SMF portal!

TheListener

Quote from: elguapo on January 02, 2011, 08:43:14 AM
Quote from: TechPrince on November 03, 2010, 11:45:26 PM
Here is the modified version for RC4.
i installed this but i got this error..
Quote2.   Execute Modification   ./Sources/Admin.php   Test successful
   3.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   4.   Execute Modification   ./Sources/Load.php   Test failed
   1.   Replace   ./Sources/Load.php   Test successful
   2.   Replace   ./Sources/Load.php   Test successful
   3.   Replace   ./Sources/Load.php   Test failed

any solution sir?

Manual editing of the file is required.

TheListener

Quote from: agent47 on January 06, 2011, 07:47:14 PM
My site runs on Tiny Portal so I would really like to see the member colors displayed on the "Users online" list. Someone please help me out. The colors are display correctly on the boards but not on the user online list. Help is needed please :(

When you say on the boards do you mean within the forum itself?


Advertisement: