WordPress.org

Ready to get started?Download WordPress

Forums

Grins dont show up in recent comments (4 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    Hey, I installed the Recent Comment plugger thing, and the WP grins.
    Is there anyway to get the grins to work in the recent comment thing.
    go to my site to see what i mean
    http://www.flasurfers.com
    Thanks for your help

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I have just tried twice to visit your site, and each time as soon as the browser started loading it, my browser crashed.
    Using Firefox 0.10.1

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    BUMP

  4. Anonymous
    Unregistered
    Posted 9 years ago #

    Found a way to get the grins to show up in the recent comments...
    This set up properly will change :smiles: into a picture
    check it out in action http://www.flasurfers.com
    -- THanks to the fourmer who posted this
    I save my index.php as index_unfiltered.php and upload, and then create a new index.php that contains this and only this:
    <?php
    ob_start();
    require("index_unfiltered.php");
    $index_page = ob_get_clean();
    ob_start();
    $text = $index_page;
    $oldWord = array(":smile:","phrase2","phrase3","and so on");
    $newWord = array("<img src=blabla.gif","new2","new3","and so on");
    $filtered = str_replace($oldWord , $newWord , $text);
    echo $filtered;
    ob_end_flush();
    ?>
    ...and then I only edit index.php if I want to add new words/phrases to the array. Otherwise I edit and upload index_unfiltered.php as if it were my index.
    -------------
    Thanks for everything guys

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.