It replaces the text smiley by graphics smiley. ie :) becomes <img src=”smiley.gif”>
It also has an option to convert the link text by a real link, ie http://www.google.com or www.google.com will be replaced by <a href=”http://www.google.com“> or advert@google.com by <a href=”mailto:advert@google.com”>
note: default icons set is taken from phpBB
| General Plugin info |
| Current Version: | v1.0 |
| Download: | here |
| Code: | n/a |
| Demo: | n/a |
| Forum Thread: | forum here |
download the code
uncompress and upload to the server into plugin dir
choose Plugin in the admin menu and use “Install New Plugin” to install the plugin
edit the options of the plugin
add <%Smiley(script)%> skinvar in your skin, just after <body> in the item skin part
add <%Smiley(panel)%> skinvar in commentform-loggedin.template and commentform-notloggedin.template, see example
here
Use Smiley in the items ? (Yes/No)
Use Smiley in the comment ? (Yes/No)
Auto create link with internet adresses ? (Yes/No)
Smiley set to use (default is ‘default’)
User now can replace the default smiley set
Download a new smiley set
unzip and upload the set to plugins/emoticons
set the smiley set to use from plugin option “Smiley set to use”
To modify a smiley set, user can edit emoticons/[set]/smiley_panel.template and emoticons/[set]/mapping.inc.
The mapping.inc map the smiley with an icon.
smiley_panel.template control how the smiley panel in commentform looks. User can change the smiley panel layout from this file. It’s just a table of plain HTML, be sure to left ##URL## alone.
Create a new smiley directory under /emoticons
Upload all smiley icon files to the newly created /emoticons/newsmiley directory
Create mapping.inc, which has entry to map a smiley to its corresponding icon
Create smiley_panel.template, which is the smiley panel to show in the commentform
Be sure to activate the smiley set from plugin option
0.1
0.2
0.2a
0.3
fixed more
XHTML (mod from fishywang)
0.4
0.5
0.6
fixed get_file_contents() problem in older
PHP
0.7
1.0
NP_Smiley version 1.0 works with Nucleus CMS 3.31 - 2007-10-29 admun