This code assumes SMF 2.0 and will award badges to any member that posts in that topic
Requires you to create a custom badge in the add badge area with the action called topicbadge7079
Open Sources/Subs-Post.php
Find
// They've posted, so they can make the view count go up one if they really want. (this is to keep views >= replies...)
Add after
// Badge Awards
global $sourcedir, $modSettings;
if (!empty($modSettings['badgeawards_enable']))
{
global $sourcedir;
require_once($sourcedir . '/badgeawards2.php');
if ($topicOptions['id'] == 7079)
{
Badges_AwardBadge($posterOptions['id'],'topicbadge7079');
}
}
// End Badge Awards