Not Solved [JavaScript] Getting rid of most of the javascript in front end interface
#1
Not Solved
Hi,

How to get most of the features that are using JavaScript handled somehow different as I can see that in the ACP there's things that do work without javascript and with JS enabled, but for instance the report button dosen't so what's the logic in using JS script for that?
Reply
#2
Not Solved
The report functionality should work fine if you change the button to a link with no_modal input enabled: https://github.com/mybb/mybb/blob/featur...t.php#L249

An example here: http://community.mybb.com/report.php?typ...id=1170961 (styling needs to be added if needed)
Reply
#3
Not Solved
(2015-07-24, 02:17 PM)Destroy666 Wrote: The report functionality should work fine if you change the button to a link with no_modal input enabled: https://github.com/mybb/mybb/blob/featur...t.php#L249

An example here: http://community.mybb.com/report.php?typ...id=1170961 (styling needs to be added if needed)

Sorry, but you got me confused. Could you try to explain it more in detail? Smile

I got it to work, but what about the report button in users profiles?

in member_profile template:


<div style="text-align: center">{$buddy_options}{$ignore_options}{$report_options}</div>


How to change to non-js?

Please, does someone know? Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)