MyBB Community Forums
[F] Warning System Editor [Fix Provided] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.1 (https://community.mybb.com/forum-93.html)
+------ Thread: [F] Warning System Editor [Fix Provided] (/thread-37413.html)



[F] Warning System Editor [Fix Provided] - Sephiroth - 2008-09-07

Not sure if this is a bug, or a theme-related issue. However I have a theme in which I changed the editor style to a custom one, however when you view the editor on warn.php, the editor uses the default styling. o.O

Edit: Yes, it is a styling issue, for the theme section isn't even included in the editor javascript for the theme specification.


Fix:

Open template warnings_warn_pm

Find:
clickableEditor = new messageEditor("message", {lang: editor_language, rtl: 0});

Replace with:
clickableEditor = new messageEditor("message", {lang: editor_language, rtl: {$lang->settings['rtl']}, theme: "{$theme['editortheme']}"});



[F] Warning System Editor [Fix Provided] - Ryan Gordon - 2008-09-07

Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.