Navigation

Search

ImportSmileys

Description

Imports smileys from an existing directory into a new smiley set.

Syntax

void ImportSmileys (string $smileyPath)



Parameter $smileyPath

Expected type: String
Description: The directory to import the smileys from (either a directory name or the path to a directory)


Notes

  • Requires the 'manage_smileys' permission
  • Creates smiley codes based on the image name
  • Does not check to see if another smiley exists for an image with that name
  • Expects $smileyPath to be found in the directory specified by the smileys_dir setting
View all versions of this function