Port fixes, removing hard codes.
Merge pull request #694 from edx/e0d/forums-fixes

Port fixes, removing hard codes.