Advertisement:

Author Topic: Tabbed smileys  (Read 98966 times)

Offline henrik1782

  • Jr. Member
  • **
  • Posts: 252
  • SMF 2.0 RC5/Curve
Re: Tabbed smileys
« Reply #20 on: February 06, 2011, 05:57:25 PM »
Hi...

Installed the mod without errors but I can find the setting for the mod in admin panel...

For SmartCat...  I am running SMF 2.0 RC4  ;)

Best regards
Henrik Poulsen
My favorite mods: Forum Firewall, httBL, MessagePreviewOnHover, BoardHover Mod, VB Style Board Index, Separate Replies and Views Column, Realtime clock by Joker, ENotify, Topic Solved.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #21 on: February 07, 2011, 09:54:35 AM »
First you have to create new rows of smiley in the popup: if you go in "set smiley order", you can select a smiley and than you can move it to a new row, see:

and you can continue for the third, fourth and so on row.

Each row corresponds to a new tab, then you'll be able to move more smileys at the same time through the edit smiley page (checking the smiley you want to move and select where you want to move them from the drop-down box at the end of the page.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline henrik1782

  • Jr. Member
  • **
  • Posts: 252
  • SMF 2.0 RC5/Curve
Re: Tabbed smileys
« Reply #22 on: February 07, 2011, 10:46:53 AM »
Hi emanuele...

Sorry for not being specific. I can not find the "set smiley order" and what pop-up.

My favorite mods: Forum Firewall, httBL, MessagePreviewOnHover, BoardHover Mod, VB Style Board Index, Separate Replies and Views Column, Realtime clock by Joker, ENotify, Topic Solved.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #23 on: February 07, 2011, 01:49:52 PM »
Then most likely you don't really need this modification at all... :P ;)
If you don't see the "set smiley order" it means you are not using customized smileys and then the modification is completely useless. ;)


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline drhamza

  • Jr. Member
  • **
  • Posts: 358
Re: Tabbed smileys
« Reply #24 on: February 15, 2011, 07:49:05 PM »
now this is a beautiful mod, thank you very much man

Dumpy

  • Guest
Re: Tabbed smileys
« Reply #25 on: February 16, 2011, 09:39:29 AM »
Fantastic mod - does exactly what it says and the smileys are far better organised; thank you for making life easier for everyone using lots of smileys.

One very quick question - how do you change the color of the tabs?  I've tried adding a background color to each of the css elements but it doesn't do what is expected lol; could just be me being thick lol

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #26 on: February 16, 2011, 06:13:48 PM »
Glad you like it! :)

One very quick question - how do you change the color of the tabs?  I've tried adding a background color to each of the css elements but it doesn't do what is expected lol; could just be me being thick lol
If you mean the place where you click when you want to select a different tab I'm not sure if it is possible at all...I'm not very familiar with css, I tried a bit but I didn't get any result...sorry.

Instead, if you mean the place where the smiley are then you can use the IDs of each "tab" that are in the form tabX_elem where "X" is a number starting from 0 for the "basic smile" tab.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Dumpy

  • Guest
Re: Tabbed smileys
« Reply #27 on: February 17, 2011, 05:01:06 AM »
Thanks emanuele - it was the tabs themselves that I was wanting to change the colour of.  I'll have a play around with the css and code and see if I can do it.  If I can I'll come back here and post.  Fantastic mod though, really helpful  ;D

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #28 on: February 18, 2011, 04:54:14 AM »
I tried this one and seems to work.
It depends on your version of SMF, but for 1.1.x you can do:
1) in post.template.php
a) search for
Code: [Select]
class="titlebg selected" and replace it with
Code: [Select]
class="selected"b) search for
Code: [Select]
class="catbg unselected" and replace it iwht
Code: [Select]
class="unselected"2) then, in subs.php
a) search for
Code: [Select]
\'titlebg selected\'; and replace it with
Code: [Select]
\'selected\';b) search for
Code: [Select]
\'catbg unselected\' and replace it with
Code: [Select]
\'unselected\'
Now you can use the css classes "selected" and "unselected" to (hopefully) fully control the appearance of your tabs! ;D

It should be almost the same with SMF 2, except that you have to search in genericontrols.template.php instead of post.template.php.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Dumpy

  • Guest
Re: Tabbed smileys
« Reply #29 on: February 18, 2011, 05:40:13 AM »
Absolutely fantastic emanuele - it worked a charm.  For anyone not sure what to put in the css section just add this;

Code: [Select]
.selected {
background-color: #3FF;
}
.unselected {
background-color: #FFFF00;
}

I also added this under the ul#tabs li a section to make the text stand out more.

Code: [Select]
                font-weight: bold;
Excellent work my friend - I  modified this on RC5 so it works brilliant.

Offline Rifugio

  • Semi-Newbie
  • *
  • Posts: 17
Re: Tabbed smileys
« Reply #30 on: February 21, 2011, 09:35:24 AM »
I'm having a small problem with a large number of smileys using this mod.  I can see when I open a reply form that ALL of the smileys are being loaded.  Not just the Main ones but all the pop up ones from the tabs as well.

This makes opening the tabs fast when they 400+ icons have loaded but each time I open a new reply box it downloads all 400+ icons again.

Is it possible to set the mod load the additional icons when people actually click on the tabs. 

I also appear to have two [more] boxes being displayed.  One just under the post form smiles within the box and the other under the pop-up smileys.  I am wondering if this could be causing the load issue.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #31 on: February 22, 2011, 04:38:35 PM »
Is it possible to set the mod load the additional icons when people actually click on the tabs. 
Try the new version (0.3.2) it should do what you asked. ;)

I also appear to have two [more] boxes being displayed.  One just under the post form smiles within the box and the other under the pop-up smileys.  I am wondering if this could be causing the load issue.
Which versione of SMF?
On SMF 1.1.x it should not even touch the more button, while on SMF 2 it should not work if the more button appear twice...I think...


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Rifugio

  • Semi-Newbie
  • *
  • Posts: 17
Re: Tabbed smileys
« Reply #32 on: February 23, 2011, 05:43:19 AM »
Wow that was a very fast response.  The new version is updating a lot better thank you.  :D
I'm using SMF 2.0 RC5. 
Attached screen shot shows the double [more]'s which only appears on the first TAB the Extras tab displays correctly.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #33 on: February 23, 2011, 08:03:24 AM »
Also with the new version?
Ok, this is a bug, I'll check! (javascript is my enemy >:( )

The only problem is that I cannot reproduce the problem...
Can you post your GenericControls.template.php so I can have a look?
« Last Edit: February 23, 2011, 08:08:53 AM by emanuele »


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Rifugio

  • Semi-Newbie
  • *
  • Posts: 17
Re: Tabbed smileys
« Reply #34 on: February 23, 2011, 01:48:55 PM »
Sure, please find attached. 
The icon load only when tab is opened works well from what testing I have done.  Very noticeable on slower connections.

UPDATE
Just realised extra [more] does not appear in FireFox only in IE.  FireFox looks fine
« Last Edit: February 24, 2011, 01:40:43 PM by Rifugio »

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #35 on: February 24, 2011, 03:19:15 PM »
Thanks for the finding! :D
Fixed.

In the future I'll try to remember that IE still exists. :P


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Rifugio

  • Semi-Newbie
  • *
  • Posts: 17
Re: Tabbed smileys
« Reply #36 on: February 25, 2011, 09:54:00 AM »
Excellent work - that's got it :)  Thank you for putting this togther.

Offline RAULVK

  • Semi-Newbie
  • *
  • Posts: 64
    • EfectoDesahogo
Re: Tabbed smileys
« Reply #37 on: February 25, 2011, 05:59:42 PM »
Hi, sorry for my English is very bad.

I installed the version 0.3.3 and since then tags from the second does not work the smileys, do not appears the pointer of mouse, and can not be added to post the smiley. Only work, tab 1 and 2.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #38 on: February 26, 2011, 07:49:12 AM »
You are right... :(

I'll upload again the previous version, and I'll start study javascript to find a proper way to solve the issue.

I apologize. :-[


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline RAULVK

  • Semi-Newbie
  • *
  • Posts: 64
    • EfectoDesahogo
Re: Tabbed smileys
« Reply #39 on: February 26, 2011, 10:38:42 AM »
do not worry, you're doing well is a great mod  ;)