MyBB Community Forums

Full Version: Which template hosts the messages text? (to use with HOTWords)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I'm trying to use HOTWords in mybb, and I couldn't find any documentation on how to use it with mybb.

The HOTWords instruction says to wrap the text where the ads will appear with "<div id="HOTWordsTxt" name="HOTWordsTxt"> ... </div>" and to add a "<script src="http://..." before the </body> tag.

I am trying to find which template I should edit to add this tags, but I just couldn't find. Could someone give me a hand on this?

thanks
Where exactly do you want to insert the ad?
The add in on the text itself, it double underlines some words, that show ads when you pass your mouse over the link. As I don't want to add links to the whole of the text of the forum, I need to find which exact template shows each message text.
1. Go to Admin CP > Templates & Style > Templates > Your Template Set > Post Bit Templates > postbit.

2. Find:

{$post['message']}

3. Wrap it around the <div> provided by the site.

4. Go to Admin CP > Templates & Style > Templates > Your Template Set > Footer Templates > footer.

5. Add the <script> tag at the bottom of the template.
Thanks a lot faviouz, that worked!