New prefs for forum: editor & quickreply
editor makes it possible to choose between bbcode or tinymce (if installed and html enabled)
quickreply gives the option to choose between the standard textarea or the choosen editor (from pref editor)
Every known usage of e107plugin::getinfo() requires up-to-date knowledge
of the involved plugin's record in the database.
For this reason, I removed the object scope global state caching of
results from e107plugin::getinfo()
Also changed the method name to a more descriptive getPluginRecord()
Also made e107plugin::getPluginRecord() static
The "isset" statement tested on a key in array "core_plugins", but the keys of that array were numeric.
So the "isset" was always false and the statements within the if clause were always executed.
That resulted for some reason in a "false positive" on the "featurebox" plugin, in case was not installed at this moment.
When one of the 11 methods in e_db_mysql look for a PDO object in
e_db_mysql::$mySQLaccess, global $db_ConnectionID can be NULL in some
cases, so it's more reliable to get the singleton e_db_mysql and use the
e_db_mysql::$mySQLaccess from that singleton.
This change still allows global $db_ConnectionID to be used, but if
$db_ConnectionID is NULL, the singleton fallback is used.
Fixes: e107inc/e107-test#6
When entering shortcodes via TinyMCE, the & sign will be converted
automatically to & without any chance to prevent this behaviour.
The fix just corrects this error right before running the shortcode.
There were two cases that led to missing tree nodes:
* If one node at the same depth as another node had a higher primary
key ID but showed up in the rows before, the lower primary key ID node
will go missing.
* If an unmatching row for the current node in moveRowsToTreeNodes
appeared between a matching row, the matching row would never be
reached and would not be added to the tree.
Parent-child relationship tables (trees) can only be constructed if
the entire table is loaded. When WHERE filters are applied to the
table, the tree cannot be made, which causes #3204.
When a filter is active, a tree representation is no longer
appropriate because the filter can filter out parents of a matched
row, which breaks the concept of a tree.
To resolve this and restore search functionality, this commit disables
the sort_parent of the tree model in order to activate the
e_tree_model::getRowsList() method and avoid the tree logic entirely.
Fixes: #3204
Supersedes: #3208
ToDo Lans bounceLAN in handlers/login.
Tested login from login.php, from the login link in voux theme without issue. No bounced emails on test instance.