[ADDON] Tabbed smiley July 21, 2014, 06:21:01 pm Tabbed Smiley v0.1.1IntroductionTabbed Smiley is the first mod I released for SMF and (at the time) the most tricky. Now I rewrote it to work with SCEditor and ElkArte in just few lines of code. At the moment it's in the most basic form, it doesn't even have support for localization that will be added in the future.Future development: Of course localization better admin interface and configuration Restore all the features including "tabbify" everything on the post screen (including subject, icons, bbcode, attachments and options... unless for 1.1 there is consensus on a radical change of the post interface )Licenseo This ElkArte Addon is subject to the terms of the BSD "3-clause" license. You can obtain a copy of the License at http://opensource.org/licenses/BSD-3-ClauseCreditsThanks to Sam Clarke for creating SCEditor! Repository / DownloadLatest version downloadRepository (source code)old releasesChange log 0.1.0 - Complete rewrite for ElkArte and SCEditor - added only basic features 0.1.1 - Added support for ElkArte 1.0.1 (ElkArte 1.0 is no more supported)
Re: [ADDON] Tabbed smiley Reply #1 – July 21, 2014, 06:40:21 pm Coolness ... editor plugins I think you are missing the modifications.xml file in the repo? (and your repo link above should have tree/elk )
Re: [ADDON] Tabbed smiley Reply #2 – July 21, 2014, 06:57:03 pm Well, the first time I missed the css and the js, then I forgot to actually modify the modification.xml, and finally I forgot to add the xml file... It's too late. lolThanks! Quote from: Spuds – July 21, 2014, 06:40:21 pmCoolness ... editor plugins Yep! For me it's always a bit difficult find out how to do any, because javascript is not my friend lol, but then copying what we already have around (drafts and mentions mainly) it's usually "easy".And compared to the original SMF mod, it's a dream being able to just have two very minor file edits (actually one could be avoided using hooks, though it would require several hooks to catch all the actions where the editor is used, and it still wouldn't load on custom pages, so the file edit still make sense <= i.e. Elk needs a hook for the editor ).
Re: [ADDON] Tabbed smiley Reply #3 – December 25, 2014, 02:34:44 pm Quote from: Lars – December 25, 2014, 02:18:43 pmToday I've installed the addon "Tabbed Smileys". There are three tabs now.Where can I change the words Base, Tab 1 and Tab 2 in others? As I wrote above it doesn't support localization yet, so the only thing you can do is replace it in tabbedSmiley.js:Code: [Select]'Base', 'active'));andCode: [Select]'Tab ' + count
Re: [ADDON] Tabbed smiley Reply #4 – December 25, 2014, 03:38:04 pm Okay, thank you. I'll try this in the meantime. Um, would it be possible to add border lines below the "inactive" tabs, like the red line on the example image?
Re: [ADDON] Tabbed smiley Reply #5 – December 26, 2014, 09:14:09 am I think at the moment the html markup is not good enough to accommodate it...I have to fix it.ETA: memo http://css-tricks.com/css3-tabs/
Re: [ADDON] Tabbed smiley Reply #6 – January 01, 2015, 08:33:56 am There is a small error when uninstalling this addon 2. Elimina File ./themes/default/css/tabbedSmiley.js Errore durante il parsing della modificait should be tabbedSmiley.css and not tabbedSmiley.js
Re: [ADDON] Tabbed smiley Reply #8 – March 28, 2015, 04:57:32 am How rename tabs?Where "Tabs names and appearance" box?I have not created after you drag a new tab(ElkArte 1.0.3, Tabbed Smiley v0.1.1)
Re: [ADDON] Tabbed smiley Reply #9 – June 02, 2016, 06:17:57 pm Gonna start messing with this. You have been warned. ETA: Just noticed that any smiley set to "Popup" in admin automatically goes to Tab 1 on the post form, which is cool. However, it does mean that the default "More" button becomes redundant, so ideally that would be hidden if this mod was enabled.
Re: [ADDON] Tabbed smiley Reply #10 – June 02, 2016, 06:41:05 pm Quote from: Lars – December 25, 2014, 03:38:04 pmOkay, thank you. I'll try this in the meantime. Um, would it be possible to add border lines below the "inactive" tabs, like the red line on the example image?Quote from: emanuele – December 26, 2014, 09:14:09 amI think at the moment the html markup is not good enough to accommodate it...I have to fix it.ETA: memo http://css-tricks.com/css3-tabs/Should be possible with the existing markup. You have a different class on the active tab anyway, so just targeting that should sort things out. I'll play around with it as soon as I have time.
Re: [ADDON] Tabbed smiley Reply #11 – June 11, 2016, 01:56:21 pm Aha. No can do with existing markup. It doesn't need more HTML elements added to the markup, but it does need a change to the way classes are added to the markup.The problem is that if any tab other than the base tab is active, the base tab will still have the sceditor-tabs-active class assigned to it. That's definitely a bug, since only the currently selected tab should have that class.If that bug gets fixed, then styling it up so the active tab was different to the others would be easy.Taking things further, although this mod is basically a good one it would be better if the admin was able to create tabs, and then assign smileys to a chosen tab. At the moment you can't do this, which can be a PITA sometimes (depending on how daft and extensive your smiley collection is).
Re: [ADDON] Tabbed smiley Reply #12 – June 12, 2016, 12:48:35 pm The images in the readme file that show how to create new tabs are dead links.How do you create new tabs?
Re: [ADDON] Tabbed smiley Reply #13 – June 15, 2016, 11:06:39 am Ops... sorry, that slipped through... In Elk you can put the smiley in the editor or in a popup. The popup can have lines of smiley.This addon takes any line of smiley in the popup and converts it to a "tab", so you move the smiley to the popup and then to multiple lines and here you go with as many tabs as you want!
Re: [ADDON] Tabbed smiley Reply #14 – June 15, 2016, 02:26:13 pm It's me again...I have installed this addon right now in my testforum.Creating more tabs is working perfect, but the button "More" is still there in the editor and the smiley-popup. But both should disappaer, if tabs are there?The tabs have just numbers? ("Tab 1", "Tab 2", and so on) I can't give them other names?We need a lot of tabs for our smileys. People would not remind which smiley is in which tab, if the tabs have just numbers...