Advertisement:
2by2host

Author Topic: Tabbed smileys  (Read 37792 times)

Offline FragaCampos

  • Sophist Member
  • *****
  • Posts: 1,023
  • Gender: Male
    • docsPT
Re: Tabbed smileys
« Reply #240 on: March 03, 2013, 05:21:23 PM »
Hi there.
Thank you for this nice mod. It seems to be working fine.

I have one question, though.
When I create a new topic or message, does the page load all the smileys or just those from the  first tab (the visible one)?

Offline FragaCampos

  • Sophist Member
  • *****
  • Posts: 1,023
  • Gender: Male
    • docsPT
Re: Tabbed smileys
« Reply #241 on: March 06, 2013, 03:25:25 PM »
Anyone? ::)

C'mon... it's a simple question. :P

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 2,096
  • Gender: Male
    • i30 Owners Club
Re: Tabbed smileys
« Reply #242 on: March 06, 2013, 03:34:49 PM »

Ok, my basic (forum) smileys appear preloaded when I create a new topic. Only when I click the alternate (formerly "popup") tab do they 'flood in', so to speak.

Offline FrizzleFried

  • Full Member
  • ***
  • Posts: 592
Re: Tabbed smileys
« Reply #243 on: March 06, 2013, 06:25:18 PM »
Anyone? ::)

C'mon... it's a simple question. :P

Each tab is loaded only when you select that tab.  When i click a different tab I can "quickly" see the "text tag" of each smiley change to the smiley itself telling me they are loading only when you select the tab...
Considering purchasing from SMFHacks.com?  Caveat emptor.  Details: http://www.simplemachines.org/community/index.php?topic=494081.msg3463426

Offline FragaCampos

  • Sophist Member
  • *****
  • Posts: 1,023
  • Gender: Male
    • docsPT
Re: Tabbed smileys
« Reply #244 on: March 06, 2013, 10:30:09 PM »
Ok, that's all I wanted to know.

Thanks a lot for your help. ;)

Offline Skaty

  • Jr. Member
  • **
  • Posts: 309
Re: Tabbed smileys
« Reply #245 on: March 27, 2013, 08:34:53 PM »
Great mod!

Quick question about quick reply, how can i disable it in quick reply.  Thank you.

Offline Arantor

  • SMF Legend
  • *
  • Posts: 51,062
    • wedgebook on Facebook
Re: Tabbed smileys
« Reply #246 on: March 27, 2013, 08:37:22 PM »
Um, smileys aren't shown in quick reply normally?

Offline Skaty

  • Jr. Member
  • **
  • Posts: 309
Re: Tabbed smileys
« Reply #247 on: March 27, 2013, 08:57:15 PM »
Um, smileys aren't shown in quick reply normally?

There are shown, but i want to keep quick reply simple like just basic smileys. Maybe i should have ask first, is this tabs and smileys in it effect page load time ?

Offline Arantor

  • SMF Legend
  • *
  • Posts: 51,062
    • wedgebook on Facebook
Re: Tabbed smileys
« Reply #248 on: March 27, 2013, 09:01:25 PM »
Then you have something else involved; this mod does *not* add it to the quick reply...

Offline Skaty

  • Jr. Member
  • **
  • Posts: 309
Re: Tabbed smileys
« Reply #249 on: March 27, 2013, 09:09:33 PM »
Umm, i was installed WYSIWYG Quick Reply it is added because of this so.

I thing i find my question, thank you.

Each tab is loaded only when you select that tab.  When i click a different tab I can "quickly" see the "text tag" of each smiley change to the smiley itself telling me they are loading only when you select the tab...

And thanks to emanuele again for creating this mod.

ps: thanks to all for improving my english :)

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,909
  • Gender: Male
  • Because Orange is Orange
Re: Tabbed smileys
« Reply #250 on: March 28, 2013, 06:11:35 AM »
I know it's already answered, but is never too late to demonstrate the power of a search. :P
I have one question, though.
When I create a new topic or message, does the page load all the smileys or just those from the  first tab (the visible one)?
http://www.simplemachines.org/community/index.php?action=search2;search=load;topic=417533 6th result (well, now it may (or may not) be the 7th).

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 dimspace

  • Jr. Member
  • **
  • Posts: 276
    • @dimspace on Twitter
    • Velorooms.com
Re: Tabbed smileys
« Reply #251 on: May 05, 2013, 12:58:32 PM »
Finally got around to installing this and having a play around with it, mainly for the fact it can tabulate everything, attachments, options etc.

One small query/question.

how difficult would it be for the subject and icons tab to go.. and for the subject and post icons fields to appear permentantly above the buttons/tabs.

formatting/attachments/options/smileys is stunning as buttons, but ideally I would like to have the post subject appearing all the time (especially on new posts).

So that it appears something like the screengrab

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,909
  • Gender: Male
  • Because Orange is Orange
Re: Tabbed smileys
« Reply #252 on: May 16, 2013, 05:06:02 AM »
Never tried, but something like this should work.

In GenericControls.template.php remove this
Code: (find) [Select]
tab_names[-5] = \'' . ($context['current_action']!='pm' ? $txt['tabbed_subject_and_icons'] : $txt['tabbed_to_and_subject']) . '\';
and:
Code: (find) [Select]
tabs_content[0] = \'<div id="tab_-5_elem"></div>\';
tabs_content[0] += \'<div id="tab_-4_elem"></div>\';
Code: (replace with) [Select]
tabs_content[0] = \'<div id="tab_-4_elem"></div>\';and remove:
Code: (find) [Select]
buttons_i = document.getElementById(\'post_header\');
buttons_f = document.getElementById(\'tab_-5_elem\');
buttons_f.appendChild(buttons_i);

But I'm mostly guessing...

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 Skaty

  • Jr. Member
  • **
  • Posts: 309
Re: Tabbed smileys
« Reply #253 on: May 16, 2013, 08:00:40 AM »
This mod is very usefull and i want to thank again :)

Offline dimspace

  • Jr. Member
  • **
  • Posts: 276
    • @dimspace on Twitter
    • Velorooms.com
Re: Tabbed smileys
« Reply #254 on: May 16, 2013, 01:12:40 PM »
Never tried, but something like this should work.

In GenericControls.template.php remove this
Code: (find) [Select]
tab_names[-5] = \'' . ($context['current_action']!='pm' ? $txt['tabbed_subject_and_icons'] : $txt['tabbed_to_and_subject']) . '\';
and:
Code: (find) [Select]
tabs_content[0] = \'<div id="tab_-5_elem"></div>\';
tabs_content[0] += \'<div id="tab_-4_elem"></div>\';
Code: (replace with) [Select]
tabs_content[0] = \'<div id="tab_-4_elem"></div>\';and remove:
Code: (find) [Select]
buttons_i = document.getElementById(\'post_header\');
buttons_f = document.getElementById(\'tab_-5_elem\');
buttons_f.appendChild(buttons_i);

But I'm mostly guessing...

Yeh, didnt manage it.. Left the initial tab as "undefined", the smileys didnt load and none of the buttons worked. Will have a dig around over the next few days.. should be fairly simple.. in theory..