Smartys wrote:

err, yes there is...

//
// Convert a series of smilies to images
//
function do_smilies($text)
{
        global $smiley_text, $smiley_img;

        $text = ' '.$text.' ';

        $num_smilies = count($smiley_text);
        for ($i = 0; $i < $num_smilies; ++$i)
                $text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].'" width="15" height="15" alt="'.substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);

        return substr($text, 1, -1);
}

Ah, good call.

Now how do I edit it to only parse a max of 5 emoticons per post?

Reines wrote:

Have a look at the function do_smilies() in include/parser.php.

There is no do_smilies() function (or similar) in parser.php ....

How can I limit the amount of emoticons(smilies) that can be posted in a post?

Is there a way you can display the topics horizontally, instead of verticly?

Right now they display like:

Topic 1
Topic 2
Topic 3
Topic 4


I'd like it to display like

Topic 1 / Topic 2 / Topic 3

Or use anything inplace of "/" that is just an example. The main thing is getting it to display horiztontally

I don't want to allow "." (dots) to be allowed in a username if they try to register it.

Where in the code do I add that?

TIA!

31

(2 replies, posted in PunBB 1.2 discussion)

I'm kind of confused as to what it actually does?

32

(5 replies, posted in PunBB 1.2 discussion)

Could it still run smoothly if the database is carrying 100,000+ threads?

33

(1 replies, posted in PunBB 1.2 troubleshooting)

.

34

(1 replies, posted in PunBB 1.2 discussion)

.

35

(1 replies, posted in PunBB 1.2 troubleshooting)

.