Add a smiley set: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
 
(55 intermediate revisions by 4 users not shown)
Line 1: Line 1:
There are two basic ways of adding smileys sets.
{{WIP}}
{{TOCright}}


One way, is to add them as a modification (Package).
===Installing New Smiley Sets===


If you search the mod site, you'll find loads of them!
There are two ways to install new smiley sets. Administrators can either use the Package Manager, or upload it directly to their server.


http://custom.simplemachines.org/mods/index.php?action=search;type=12
====Install a Smiley Set Using the Package Manager====


But, be aware that installing those MIGHT bring problems, which are described in the note, at the end of this section.
The [[SMF2.1:Package manager|Package Manager]] can be used to install new smiley sets to the forum. This is the best way to install smiley sets which have been downloaded from the SMF Customization site, or other SMF sites. It works the same way as installing new [[Modification|modifications]].


The other way, is for you to create a directory, inside your forum's "Smileys" directory, giving it the name that you want.
Smiley packages from SMF sites usually already meet the multiple set rules described in the [https://wiki.simplemachines.org/smf/SMF2.1:Smileys_and_Message_Icons#Smiley_Sets Multiple Smiley Sets] section, but not always. Administrators should double-check this after installing them. See the Enter Smiley Data section below, to learn how.


Then, upload all the actual graphic files, for your smileys, into that directory.
====Upload a Smiley Set Directly to the Server====


That having been done, you can go to Admin>Smileys and Message Icons>Smiley Sets and click on... Wait for it... "New smiley Set"!
The other way to add a smiley set is to create a new directory inside the "Smileys" server directory. First, give it an appropriate name, like "blue_smiley_set", for example. Then upload all the actual graphic files (primarily PNG and/or GIF files, probably) into that directory.


When you do that, the first thing you'll notice is that you need to give your new smiley set a name. I'd suggest that the logical thing to do, is to give it the same name as the directory you created.
Next, go to ''Admin Center > Smileys and Message Icons > Smiley Sets'' and click on the ''New Smiley Set'' button in the bottom right corner.
*'''Name''' - Type a name for the set, which would likely be the same name that was given to the server directory, "blue_smiley_set" in this case.
*'''URL''' - Click the dropdown menu and choose "blue_smiley_set".
*'''Default Smiley Set''' - Check this box if this set is going to be the forum's default set.
Be sure to click the '''''Save Changes''''' button in the bottom right corner, when you finish.


Now, when you click "New smiley set", you'll see "URL:" and, to the right of it, a requester.
This is the best way to install a custom set of smileys, which administrators may have compiled themselves. However, this technique may result in sets which do not meet the multiple sets rules, explained in the [https://wiki.simplemachines.org/smf/SMF2.1:Smileys_and_Message_Icons#Smiley_Sets Multiple Smiley Sets] section. Please see the next section, Enter Smiley Data, to learn how to configure them.


Use that selector to select the set's name, that you made, earlier.
=====Enter Smiley Data=====


Check the box labeled "Import smileys already in this directory:" and, if you want to make this set your forum's default set, check the box labeled "Default smiley set:".
No matter which way the new smiley set has been installed, administrators should go next to ''Admin Center > Forum > Smileys and Message Icons > Edit Smileys'' and make sure all the individual data for each smiley is correct. The ''Admin Center'' is set up to configure smileys for the multiple sets rules, but you should always double-check. In any case, any of the smiley data can be edited here. Please see the [https://wiki.simplemachines.org/smf/SMF2.1:Smileys_and_Message_Icons#Edit_Smileys Edit Smileys] section for details.


When you click "Save changes", your new smiley set should be recognized and installed.
On this page is a table containing all the individual smileys, and their unique data as described below. In the top right corner, be sure to select the newly installed set, or whichever set you need to edit. There are seven columns in this table.
* The far left column has no title, but obviously is displaying the actual smiley graphics. You can edit any of the smiley's data by clicking on them, or by clicking ''Modify'', five columns to the right.
*'''Code''' - This column shows the combination of characters which will display the smiley when entered in the message editor.
*'''Filename''' - This column gives the name of the smiley's file.
*'''Location''' - This shows the location of the smiley. It can either be displayed in the message editor, or ''post form'', ''More'', or ''hidden''. ''More'' is a small button in the row of smileys where they are displayed above the message editor. If all the smileys you have installed do not fit above the editor, you can put them in a popup window, which is activated by clicking the ''More'' button. ''Hidden'' means the smiley is installed, but cannot be used or even seen anywhere.
*'''Tooltip or Description''' - This is the name of the smiley, which should match the equivalent smileys in all the other sets that are installed.
*'''Modify''' - Click this text link if you want to edit any of the previous smiley data.
*The last column on the right does not have a title, but contains checkboxes. This will allow you to edit the same data as the ''Modify'' text button, except you can edit more than one smiley at a time. In the bottom right corner is a dropdown menu titled '''''With Selected'''''. If you click on that, there are four choices for whichever smileys are checked:
**'''Make Hidden''' - This option hides the selected smileys but does not remove them.
**'''Show on Post Form''' - This option displays the selected smileys above the message editor.
**'''Show on Popup''' - This is the ''More'' button which is described above under Location. The selected smileys are displayed on the popup window.
**'''Remove''' - This removes the selected smileys from the forum.


NOTE:
=====Organize Smileys=====
At this point, administrators may also wish to set the order in which the smileys appear, in whichever place they have chosen for them to appear. On the ''Admin Center > Forum > Smileys and Message Icons > Set Smiley Order'' page, it is simple and intuitive to set the order. Please see [https://wiki.simplemachines.org/smf/SMF2.1:Smileys_and_Message_Icons#Set_Smiley_Order Set Smiley Order] for details.


If you have more than one smiley set, it's advisable to make sure that all sets contain graphics files with exactly the same names in all sets.


The reason for this, is obvious, when you think about it.


If two of your members are using two different sets of smileys, they won't see each-others, if the files do not have the same names! Or, if one image appears in one set, but not the other, they'll just see weirdness.
This is all you can do on this page. If you want to add smileys to a set, edit their code, placement order, places they are displayed (ex. On [[Post]] screen, pop-up or hidden) you need to enable ''Enable customized smileys'' on the ''Settings'' page of the smiley section.
[[Category:FAQ]]
[[Category:FAQ]]

Latest revision as of 01:40, 1 January 2024

Under construction-48.png Work in progress, expect frequent changes. Under construction-48.png

Installing New Smiley Sets

There are two ways to install new smiley sets. Administrators can either use the Package Manager, or upload it directly to their server.

Install a Smiley Set Using the Package Manager

The Package Manager can be used to install new smiley sets to the forum. This is the best way to install smiley sets which have been downloaded from the SMF Customization site, or other SMF sites. It works the same way as installing new modifications.

Smiley packages from SMF sites usually already meet the multiple set rules described in the Multiple Smiley Sets section, but not always. Administrators should double-check this after installing them. See the Enter Smiley Data section below, to learn how.

Upload a Smiley Set Directly to the Server

The other way to add a smiley set is to create a new directory inside the "Smileys" server directory. First, give it an appropriate name, like "blue_smiley_set", for example. Then upload all the actual graphic files (primarily PNG and/or GIF files, probably) into that directory.

Next, go to Admin Center > Smileys and Message Icons > Smiley Sets and click on the New Smiley Set button in the bottom right corner.

  • Name - Type a name for the set, which would likely be the same name that was given to the server directory, "blue_smiley_set" in this case.
  • URL - Click the dropdown menu and choose "blue_smiley_set".
  • Default Smiley Set - Check this box if this set is going to be the forum's default set.

Be sure to click the Save Changes button in the bottom right corner, when you finish.

This is the best way to install a custom set of smileys, which administrators may have compiled themselves. However, this technique may result in sets which do not meet the multiple sets rules, explained in the Multiple Smiley Sets section. Please see the next section, Enter Smiley Data, to learn how to configure them.

Enter Smiley Data

No matter which way the new smiley set has been installed, administrators should go next to Admin Center > Forum > Smileys and Message Icons > Edit Smileys and make sure all the individual data for each smiley is correct. The Admin Center is set up to configure smileys for the multiple sets rules, but you should always double-check. In any case, any of the smiley data can be edited here. Please see the Edit Smileys section for details.

On this page is a table containing all the individual smileys, and their unique data as described below. In the top right corner, be sure to select the newly installed set, or whichever set you need to edit. There are seven columns in this table.

  • The far left column has no title, but obviously is displaying the actual smiley graphics. You can edit any of the smiley's data by clicking on them, or by clicking Modify, five columns to the right.
  • Code - This column shows the combination of characters which will display the smiley when entered in the message editor.
  • Filename - This column gives the name of the smiley's file.
  • Location - This shows the location of the smiley. It can either be displayed in the message editor, or post form, More, or hidden. More is a small button in the row of smileys where they are displayed above the message editor. If all the smileys you have installed do not fit above the editor, you can put them in a popup window, which is activated by clicking the More button. Hidden means the smiley is installed, but cannot be used or even seen anywhere.
  • Tooltip or Description - This is the name of the smiley, which should match the equivalent smileys in all the other sets that are installed.
  • Modify - Click this text link if you want to edit any of the previous smiley data.
  • The last column on the right does not have a title, but contains checkboxes. This will allow you to edit the same data as the Modify text button, except you can edit more than one smiley at a time. In the bottom right corner is a dropdown menu titled With Selected. If you click on that, there are four choices for whichever smileys are checked:
    • Make Hidden - This option hides the selected smileys but does not remove them.
    • Show on Post Form - This option displays the selected smileys above the message editor.
    • Show on Popup - This is the More button which is described above under Location. The selected smileys are displayed on the popup window.
    • Remove - This removes the selected smileys from the forum.
Organize Smileys

At this point, administrators may also wish to set the order in which the smileys appear, in whichever place they have chosen for them to appear. On the Admin Center > Forum > Smileys and Message Icons > Set Smiley Order page, it is simple and intuitive to set the order. Please see Set Smiley Order for details.



Advertisement: