Advertisement:

Author Topic: Tabbed smileys  (Read 99807 times)

Offline miDnIghtEr20C

  • Semi-Newbie
  • *
  • Posts: 64
  • Gender: Male
    • Showtime for Free
Re: Tabbed smileys
« Reply #80 on: May 24, 2011, 08:20:33 PM »
Probably you have 4 smiley sets. If it is the case you cannot show all of them at the same time, only one set at a time is allowed by SMF.
ahhhh.. so then the mod really won't work for me?     well, i guess i can use the option to let others change to whatever smileys they want to see/use.  :)

Offline akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: Tabbed smileys
« Reply #81 on: June 26, 2011, 01:01:31 PM »
I have only two tabs, how can I add more tabs?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #82 on: June 26, 2011, 02:34:26 PM »
I've updated the description with more details, basically go to edit smileys page (in the admin panel) and create a new row in the popup. ;)


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 akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: Tabbed smileys
« Reply #83 on: June 26, 2011, 05:57:41 PM »
Yes...I used "hard-coded" text colour, you can edit "Subs.php" and search for this block:
Code: [Select]
<style type="text/css">
ul#tabs { overflow:auto;list-style-type: none; margin: 30px 0 0 0; padding: 1px 0 0 0; }
ul#tabs li { float:left;margin:0.3em 0.2em; }
ul#tabs li a { color: #000;border: 1px solid #ADADAD; border-bottom: none; padding: 0.3em; text-decoration: none; }
div.tabContent {border: 1px solid #ADADAD; width:95%; }
div.hide { display: none; }
</style>
there you can replace the (link) text colour by changing:
Code: [Select]
ul#tabs li a { color: #000;
In your case you can use for example a white:
Code: [Select]
ul#tabs li a { color: #FFF;
or anything else.
Thanks emanuele, I've created new rows.. But I can not change rows' and text color this way you told. How can I do?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #84 on: June 27, 2011, 06:04:43 PM »
In the same page you used to add the new tab there is a box where you can put the css needed to change tabs' color and aspect. ;)


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 watchhorse

  • Jr. Member
  • **
  • Posts: 171
Re: Tabbed smileys
« Reply #85 on: July 20, 2011, 12:05:02 PM »
errorlog:

8: Undefined index: basic_smileys
Bestand:***Themes/default/GenericControls.template.php
Regel: 140

8: Undefined index: additional_smileys
Bestand:***/Themes/default/GenericControls.template.php
Regel: 142

The line is:


Code: [Select]
135:          function tab_name(idx){
136:          if(tab_names.length>idx && tab_names[idx] != \'\'){
137:          return tab_names[idx];
138:            }else{
139:          if(idx == 0){
==>140: return \'' . $txt['basic_smileys'] . '\';
141:         } else {
142:         return \'' . $txt['additional_smileys'] . ' \' + idx;
143:         }
144:          }

Is this a problem?
Wij zoeken diergerelateerde fora ter overname.
Pb gerust als je geen tijd of zin meer hebt om uw forum te onderhouden.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #86 on: July 20, 2011, 12:47:54 PM »
Version of SMF?

If it is 1.1.x it could be you need to put the translation in Modification.{yourlanguage}.php

Silly me...of course it's 2.0.

I'll check.

ETA: I can't see anything wrong in the code, please check if you have the two strings:
Code: [Select]
$txt['basic_smileys']
$txt['additional_smileys']
in you Modifications.english.php and in your language file.
« Last Edit: July 20, 2011, 12:56:56 PM 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 watchhorse

  • Jr. Member
  • **
  • Posts: 171
Re: Tabbed smileys
« Reply #87 on: July 20, 2011, 02:42:36 PM »
please check if you have the two strings:
Code: [Select]
$txt['basic_smileys']
$txt['additional_smileys']
in you Modifications.english.php and in your language file.

Stupid me ... i forgot my own language file.
Thanks
Wij zoeken diergerelateerde fora ter overname.
Pb gerust als je geen tijd of zin meer hebt om uw forum te onderhouden.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #88 on: July 20, 2011, 02:58:54 PM »
If they are in the English one it should not be a problem with SMF 2, but if there are these two errors maybe they are missing in English as well. Better check that too! ;)


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 Sergioropase

  • Full Member
  • ***
  • Posts: 409
Re: Tabbed smileys
« Reply #89 on: July 21, 2011, 06:07:24 AM »
hello and thank you for this wonderful mod author Emanuele, well the mod is installed correctly in the default theme, make appropriate modifications to the theme I use, but I can not display the tab with additional smilies, either in the default theme or my subject, I get the options, I get as renaming the tabs and I get the arrow that is supposed to be where I have to pass the smilies, smilies step, I get a new category, the move to this new category but I can not see the tabs, even when I look in the post, where I pop up appear below .... not that I am wrong ...

Pardon my English but use a translator

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #90 on: July 21, 2011, 08:00:48 AM »
Can you provide me a link to your forum and a test account?


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 Sergioropase

  • Full Member
  • ***
  • Posts: 409
Re: Tabbed smileys
« Reply #91 on: July 21, 2011, 08:40:05 AM »
yeah, you command for the PM, if you want to change the default theme test
« Last Edit: July 21, 2011, 08:46:01 AM by sergioropase »

Offline Sergioropase

  • Full Member
  • ***
  • Posts: 409
Re: Tabbed smileys
« Reply #92 on: July 23, 2011, 06:35:52 AM »
Hi, well I got it to work thanks to Emanuele this wonderful mod that is very useful.

I've also managed to appear on the quick response tabs smilies.

Now I have a small problem, when a post has few answers get a large space between BBCode and the quick response, this occurs from the modification I made to appear the tabs at the quick response and I should appear together, when the post is several respondents space is reduced.

not when I click on the smilie from the rapid response does not appear.

I put an image to see it better.

thanks

« Last Edit: July 23, 2011, 07:02:52 AM by sergioropase »

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #93 on: July 23, 2011, 07:35:21 AM »
I suppose you used a mod to display the editor's elements in the quick reply, which one is it?


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 Sergioropase

  • Full Member
  • ***
  • Posts: 409
Re: Tabbed smileys
« Reply #94 on: July 23, 2011, 07:55:57 AM »
If this is, but not much head hot you the important thing is that the mod is working, but good if you could add to the quick response would be great


http://custom.simplemachines.org/mods/index.php?mod=883

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #95 on: July 23, 2011, 08:12:07 AM »
Unfortunately I can't reproduce it.

Probably it depends on the theme and on the way you put the code in Display.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.

Offline Sergioropase

  • Full Member
  • ***
  • Posts: 409
Re: Tabbed smileys
« Reply #96 on: July 23, 2011, 09:22:06 AM »
ok thank you very much, anyway does not matter what the quick response, I will try to fix it but if it is not okay either

Many thanks

Offline Yngwiedis

  • Full Member
  • ***
  • Posts: 476
  • Gender: Male
  • Victims, Aren't We All ? [The Crow]
    • My Web Radio Station Site
Re: Tabbed smileys
« Reply #97 on: July 28, 2011, 04:14:59 AM »
Hello...

Is there anyway to make the tabs centered ?
Just like the smilies ?

Thank you very very much.
AmityHost.com - The Affordable Host

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Tabbed smileys
« Reply #98 on: July 28, 2011, 05:00:21 AM »
I think so since I've seen them centred once.

SMF 1 or 2?


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 Yngwiedis

  • Full Member
  • ***
  • Posts: 476
  • Gender: Male
  • Victims, Aren't We All ? [The Crow]
    • My Web Radio Station Site
Re: Tabbed smileys
« Reply #99 on: July 28, 2011, 06:11:43 AM »
SMF 2.0 Final...
AmityHost.com - The Affordable Host