• Welcome to Simple Machines Community Forum. Please login or sign up.

parseSmileys

Description

The smiley parsing function which makes pretty faces appear :)

Syntax

void parseSmileys (string &$message)



Parameter &$message

Expected type: String
Description: The message containing smileys to be parsed


Notes

  • If custom smiley sets are turned off by smiley_enable, the default set of smileys will be used.
  • These are specifically not parsed in code tags [url=mailto:Dad@blah.com]
  • Caches the smileys from the database or array in memory.
  • Doesn't return anything, but rather modifies message directly.
Advertisement: