Keyword

Remove Image & HTML Cleanup will not work if use limited word function

More
12 years 2 months ago #9305 by vdung
vdung created the topic: Remove Image & HTML Cleanup will not work if use limited word function
Hello,
I use Simple RSS Feed Reader Module in my site. It works great.
A few days ago, I found one mistake in the code.
The parameter pass to word_limiter function in mod_jw_srfr.php is not correct. I think we should past $introtext and $fulltext to it. It means

    // Word limitation
    if ($srfr_fi_words) {
        $introtext = word_limiter($introtext,$srfr_fi_words);
$fulltext = word_limiter($fulltext,$srfr_fi_words);
    }

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #9306 by stephane roncada
stephane roncada replied the topic: Re: Remove Image & HTML Cleanup will not work if use limited word function

Hello,
I use Simple RSS Feed Reader Module in my site. It works great.
A few days ago, I found one mistake in the code.
The parameter pass to word_limiter function in mod_jw_srfr.php is not correct. I think we should past $introtext and $fulltext to it. It means

    // Word limitation
    if ($srfr_fi_words) {
        $introtext = word_limiter($introtext,$srfr_fi_words);
$fulltext = word_limiter($fulltext,$srfr_fi_words);
    }


vdung, thx a lot for this suggestion! I was having that problem, and after changing the code to the one you suggested everything is working fine now!

Stephane

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum