News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Karma and color name

Started by slay3rg1, April 12, 2008, 11:16:18 AM

Previous topic - Next topic

slay3rg1

hello everybody i'm using SMF 2 Beta 3 and i want to add reason for add or remove karma

how i can do it ??

and also how i can make admin and mods name on post to be red and blue ??

Amun

:D :D :D

slay3rg1

but i got this

                         Execute Modification     ./Sources/Karma.php     Test failed
      1.    Add Before    ./Sources/Karma.php    Test successful
      2.    Replace    ./Sources/Karma.php    Test successful
      3.    Replace    ./Sources/Karma.php    Test failed

what should i do now ??

Amun

Manually add the package I guess, maybe another package is conflicting. I'm a newbie though so who knows xD

If I recall right there was a package parser on smfhacks.com that might help.  It tells you what manual edits to make.
:D :D :D

Furry

You can find the package parser hxxp:sleepycode.com/PackageParser/index.php [nonactive]. That one works for 2.0 beta.

slay3rg1

and what package parser  is ??

Furry

The package parser shows you manual edits to make to files in order to install mods. You just select your version, whether you're installing or uninstalling and then upload the mod.

It's useful when it can't be installed normally, like your Karma mod.

Bulakbol

#7
Quote from: slay3rg1 on April 12, 2008, 11:16:18 AM

and also how i can make admin and mods name on post to be red and blue ??

Try this. Default/Display.template.php
Code (find) Select
echo '
', $message['body'], '


and replace with
echo '<span style="color: '. ($message['member']['group_id'] == '1' || $message['member']['group_id'] == '2' ? $message['member']['group_color'] : ''). ';">', $message['body'], '</span>

Or if you want other colors, try this mod
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: