Skip to content

A mod for SMF that replace the smiley popup with a tabbed interface in post form

Notifications You must be signed in to change notification settings

emanuele45/Tabbed-Smileys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tabbed-Smileys

The mod adds a "tabbed interface" to the post form. The smileys are organized in "tabs": the first tab contains all the smileys configured to appear in the post form, the "additional tabs" are defined based on the number of rows of smileys present in the popup (one row = one tab). You can add new rows of smileys from the admin panel, in set smiley order.
With this mod it is possible to use all the available smileys without leave the posting browser window to reach the popup and keep low the number of smileys shown over the post form.

If you want to help, feel free!
The mod is now available at github:
https://github.com/emanuele45/Tabbed-Smileys
with a brand now BSD license attached to it! :P


NOTE: version 0.3.99b is a BETA version!

In this version I added the possibility to move (almost) all the elements of the posting interface into "tabs". It means that the formatting buttons, the attachments, the "other settings" are all moved on top of the post area each in a separated tab.
Once installed you will find a new drop down box in admin > Forum > Posts and Topics > Post Settings with 3 options:

  • Completely off (i.e. the classic SMF interface)
  • Only smileys in tabs (i.e. the usual behaviour of the mod, only the smiley are put in a tab-like interface) *All posting elements in tabs (i.e. the behaviour described just above)

Once selected the last option, a new checkbox will appear giving the possibility to chose to show the smileys' tabs in a separated row.
It should work, but I didn't test it that much, so feel free to use it, but be ready to face problems. ;)
That said: I wait your feedback: is it useful? Is it useless? Feel free to test it and report problems or suggestions to improve it!
The changes affect only SMF 2.0, I won't bring them to SMF 1.1.x.


Important note for 1.1.x users

To install the mod on SMF 1.1.15 and newer versions, please use the Version Emulate mod.

Configuration

The number of tabs is defined by the number of rows of smileys in the popup: every row corresponds to a tab.

new row

Doing like in the picture will create a third tab: the "basic" (with all the smileys in the post form), the first line of the popup (the :'( in the picture) and the newly added.
It's possible to change the tab a smiley belongs to by changing the position both in "edit smileys" or in "set smiley order".
It's also possible to define a custom name for each tab and change the css style directly in the admin panel, section "set smiley order".

Change log

  • 0.3.7: fixed utf8, update to SMF versions 1.1.14 and 2.0
  • 0.3.6:
    • fixed a bug for SMF 2.0 stopping js execution in some situations and bad behaviour with WYSIWYG editor (i.e. smiley not working...). Many thanks to abraamz for reporting and support in beta testing!
    • added polish UTF-8 translation (thanks to [becometa(http://www.simplemachines.org/community/index.php?topic=417533.msg2969650#msg2969650)) and english-british ISO/UTF-8 and english and italian UTF-8. Note: since I have always problems with characters encoding there I expect problems here too... :P). Thanks Arantor for the hint.
  • 0.3.5: fixed the problem of loading tabs only when used for SMF 2.0 (I hope)
  • 0.3.4: removed "on demand" loading of tabs content for SMF 2.0 due to a bug reported by RAULVK
  • 0.3.3: fixed a bug with SMF 2.0 and IE (double "more" button) reported by Rifugio (thanks!)
  • 0.3.2: now the tabs' content is loaded only "on demand"; added an option to hide the "more" button/link
  • 0.3.1: updated for SMF 1.1.13 and SMF 2.0 RC5
  • 0.3.0: improved flexibility with the possibility to decide which smiley should go in which tab, assign names to the tabs and change the css style
  • 0.2.3: initial release particular behaviour: by default the number of tabs is determined by the number of smileys in the post form but it can also be defined in the Smiley and Message Icons settings page of the admin panel.

About

A mod for SMF that replace the smiley popup with a tabbed interface in post form

Resources

Stars

Watchers

Forks

Packages