News:

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

Main Menu

Quick Karma Question

Started by alphacaveman, December 29, 2005, 05:57:17 PM

Previous topic - Next topic

alphacaveman

Where do I go to change the error message a user receives when they try to give a member Karma points again before time has expired?

Thanks

Lee

Rasyr

In the sources directory, in karma.php around line 107, you will find:
// If you are gonna try to repeat.... don't allow it.
if ($action == $dir)
fatal_error($txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.', false);


This portion of it is what builds the error message:

$txt['smf62'] . ' ' . $modSettings['karmaWaitTime'] . ' ' . $txt[578] . '.'

The two txt messages (smf62 and 578) can both be found in the index.english.php file in the themes/default/languages folder.

alphacaveman

Thank you very much! Went right to it because of your help. If the karma feature was enabled here, I'd applaud you!

Have a great day!

Advertisement: