Hi,
I have a question.
I want to add Read More option to all posts on Portal so that it reduces the page length that gets increased because of long posts, can anyone tell me how it can be done ?
You're going to need a plugin I suspect. I would look into using the MySQL SUBSTRING_INDEX operator on the post content eg. SUBSTRING_INDEX(post_description, ' ', 20) if you want the first 20 words.
(2020-02-18, 05:11 AM).m. Wrote: [ -> ]Portal News Preview
Thank you very much for your help, the Portal News Preview plugin works very well on MyBB 1.8.22 and met my goal.
(2020-02-18, 08:09 AM)SvePu Wrote: [ -> ]I'll fix it asap .... Looks like the well known MySQL rows issue.
Thank you for your attention. I don't get any error messages with your plugin. It just doesn't work, I believe you need to update the jscripts to make your plugin compatible with MyBB 1.8.22
(2020-02-20, 12:47 PM)EHRA Wrote: [ -> ] (2020-02-18, 08:09 AM)SvePu Wrote: [ -> ]I'll fix it asap .... Looks like the well known MySQL rows issue.
Thank you for your attention. I don't get any error messages with your plugin. It just doesn't work, I believe you need to update the jscripts to make your plugin compatible with MyBB 1.8.22
you're welcome!
I fixed the installation issue on PHP 7.2 >> but you're right - the plugin doesn't work correctly anymore. The used "readmore.js" script need an major update to get it working again.
I'll mark the plugin as "outdated" until "readmore.js" script autor hasn't fixed the JS issues.