Adds Google AdSense code to the side panel of the discussion page in Vanilla. Users must add their AdSense unit code parameters to the class.adsensesidepanelmodule.php file. You will see these parameters within the AdSense unit code that is generated when you create an ad in Google AdSense. There is also a $MinComments variable in the default.php that enables you to render the AdSense unit only when the number of comments in the discussion exceeds this value. Set this to 0 if you always want your ad unit to render.
Note: You may need to hit refresh once or twice before this will render. Also the $MinComments variable is set to 3 by default so it won't render if the current discussion has fewer comments.
You may also be interested in the Google AdSense > After Discussion Plugin.http://vanillaforums.org/addon/511/google-adsense-after-discussion
Hope people find it useful.