MyBB Community Forums
[Performance] The report button doesn't do anything. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [Performance] The report button doesn't do anything. (/thread-225386.html)



The report button doesn't do anything. - Monkeys - 2019-11-21

Hello,

Using Mybb 1.8.21 on https://LifePunch.net/forums

The report button isn't doing anything when people click it.

Test account: MybbTest // Mytest123

Theme: iGame1817


RE: The report button doesn't do anything. - [ExiTuS] - 2019-11-21

The report button will do a JavaScript action, opening a modal element.
The report link is correct at all. So you might...

1. check the JavaScript. Compare your current theme template with the original one and find any difference.
2. check the modal element

Did this button never work at all? Did you make any changes to the forum since then?

[ExiTuS]


RE: The report button doesn't do anything. - HLFadmin - 2019-11-22

I had a theme problem that was solved by comparing custom templates against default templates. Check the headerinclude and compare. Default template for 1821 had extra code. When I added it to custom template, the modals worked.

	var templates = {
		modal: '{$jsTemplates['modal']}',
		modal_button: '{$jsTemplates['modal_button']}'
	};