1. Open up the file /forum/postnewthread.php and find:

$result = dbquery("UPDATE ".DB_THREADS." SET thread_lastpostid='".$post_id."' WHERE thread_id='".$thread_id."'");

 - add the following right under that line:

// Money System Start
include INCLUDES."money/add_money.php";
// Money System End



2. Open up the file /forum/postreply.php and find:

$result = dbquery("UPDATE ".DB_THREADS." SET thread_lastpost='".time()."', thread_lastpostid='$newpost_id', thread_postcount=thread_postcount+1, thread_lastuser='".$userdata['user_id']."' WHERE thread_id='".$_GET['thread_id']."'");

 - add the following right under that line:

// Money System Start
include INCLUDES."money/add_money.php";
// Money System End



3. Open up the file /forum/viewthread.php and find:

$result = dbquery("UPDATE ".DB_THREADS." SET thread_lastpost='".time()."', thread_lastpostid='".$newpost_id."', thread_postcount=thread_postcount+1, thread_lastuser='".$userdata['user_id']."' WHERE thread_id='".$_GET['thread_id']."'");

 - add the following right under that line:

// Money System Start
include INCLUDES."money/add_money.php";
// Money System End



4. Open up the same file /forum/viewthread.php and find:

echo "<!--forum_thread_user_info--><span class='small'><strong>".$locale['502']."</strong> ".$data['user_posts']."</span><br />\n";

 - add the following right under that line:

// Money System Start
include INCLUDES."money/echo_money.php";
// Money System End



5. Open up the file /forum/options.php and find:

$result = dbquery("DELETE FROM ".DB_THREAD_NOTIFY." WHERE thread_id='".$_GET['thread_id']."'");

 - add the following right under that line:

// Money System Start
include INCLUDES."money/delete_money.php";
// Money System End



6. Open up the file /forum/postedit.php and find:

if (dbrows($result) != 0) {

 - add the following right ABOVE that line:

// Money System Start
include INCLUDES."money/delete_money.php";
// Money System End



7. Optionally you can open up the file /buy_money.php and edit the password for buying money:

$your_pass = 'serpytis'; // Password