Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Quick Karma Question

Aloittaja alphacaveman, joulukuu 29, 2005, 05:57:17 IP

« edellinen - seuraava »

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: