Not Solved [How To?] Read more on portal
#1
Not Solved Question 
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 ?
Reply
#2
Not Solved
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.
What goes around comes around
Reply
#3
Not Solved
See: http://community.mybb.com/mods.php?action=view&pid=373
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply
#4
Not Solved
(2015-12-01, 05:53 PM)Ben C Wrote: See: http://community.mybb.com/mods.php?action=view&pid=373

Nice !
What goes around comes around
Reply
#5
Not Solved
(2015-12-01, 05:53 PM)Ben Wrote: See: http://community.mybb.com/mods.php?action=view&pid=373

Unfortunately, this plugin is not working on MyBB 1.8.22 | php 7.2

Is there an alternative to this plugin?
Reply
#6
Not Solved
^ if you are getting some error then post it so that someone can check ..

see other available plugins for your requirement :
* Portal Announcement Cutoff
* Portal News Preview
Reply
#7
Not Solved
(2020-02-18, 04:26 AM)EHRA Wrote:
(2015-12-01, 05:53 PM)Ben Wrote: See: http://community.mybb.com/mods.php?action=view&pid=373

Unfortunately, this plugin is not working on MyBB 1.8.22 | php 7.2

Is there an alternative to this plugin?

I'll fix it asap .... Looks like the well known MySQL rows issue. Wink
Reply
#8
Not Solved
(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. Wink

(2020-02-18, 08:09 AM)SvePu Wrote: I'll fix it asap .... Looks like the well known MySQL rows issue. Wink

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
Reply
#9
Not Solved
(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. Wink

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)