Read More

Comments
Comments are disabled for this project!
Pashto / Pushto Abd ishtaya Replied 4 years ago

for comment in any post read more just append this data in components\ReadMore\plugins\default\js\readmore.php

Ossn.RegisterStartupFunction(function(){
$(document).ajaxComplete(function(event, xhr, settings) {
var $url = window.location.href;
$pagehandler = $url.replace(Ossn.site_url, '');
$tocheck = ['home', 'user'];
if($tocheck.includes($pagehandler)){
$('.comment-text:not([aria-expanded])').readmore({startOpen: false, speed: 100});
}
});
$(document).ready(function(){
$('.comment-text').readmore({startOpen: false, speed: 100});
});
});
Pashto / Pushto Abd ishtaya Replied 4 years ago

Why not work for comments

gb JACK AMPERES Replied 4 years ago

scrap that its still doing it, i have messaged you on softlab24

gb JACK AMPERES Replied 4 years ago

ok i have it working now, not sure what the problem was over all, but i did have code in the top bar for sharing buttons. i took that off . now it works fine. i do have a further issue which i think i will mention on softlab24 to you .thanks

Indonesian Arsalan Shah Replied 4 years ago

@James i tried to test on social theme using firefox and i don't see any reload/refresh. You may send me a video capture to our email.

gb JACK AMPERES Replied 4 years ago

my browser is stuck on refreshing or attempting to reload the page while there are post with the read more link showing. im using fire fox. and using social theme , as a result i cant use anything, any links or buttons while its attempting to reload for some reason

Indonesian Arsalan Shah Replied 4 years ago

Can you explain more please?

gb JACK AMPERES Replied 4 years ago

this appears to be enforcing a infinite refresh ., running on social theme

Component

Developer: Michael
License GPL v2
Type: Tools
Requires Ossn Version : 7.1
Latest Version:
Last Updated
Repository Url View Repository

Versions