Thanks again for all your hard work Spuds! I'm testing this on a low traffic production site before going to the larger ones.
One item encountered is an int expected database error. In subs/PortalArticle.subs.php, changing
$request = $db->query('', '
SELECT
views, comments
FROM {db_prefix}sp_articles
WHERE id_article = {int:article_id}
$query[] = 'spa.id_article = {int:article_id}';
$parameters['article_id'] = (int) $article_id;
}
to
$request = $db->query('', '
SELECT
views, comments
FROM {db_prefix}sp_articles
WHERE id_article = {string:article_id}
$query[] = 'spa.id_article = {int:article_id}';
$parameters['article_id'] = (int) $article_id;
}
"seems" to fix it. Is that a proper fix?
Also, I'm having issues inlining attached images in articles. Is there a means to do so? Edit: they work fine for images attached in forum threads, or hosted elsewhere. They don't work for images attached to the article itself.
Is there a way to give blocks custom styling (i.e. no background at all)? Nevermind, figured out it's as easy as creating a custom style profile!
Some blocks are hidden on mobile, at least in Chrome. Is there a way to remedy?
Sorry for the million questions. Thanks again!