News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Search results for: load

Search order
#1
Modifications and Packages / Re: Tabbed smileys
August 20, 2019, 09:32:43 PM by shadav
Quote from: emanuele 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...

Quote from: dimspace on May 16, 2013, 01:12:40 PM
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..
I tried this but it didn't work :( same like dimspace said.....

any other ideas :D
i'd either like how dimspace said to exclude the subject and icon from being tabbed
or if it'd just default to the subject tab instead of the format tab

thank you  :)

#2
Modifications and Packages / Re: Tabbed smileys
March 10, 2015, 07:41:59 PM by Steve
Quote from: Rk2910 on March 10, 2015, 06:40:51 PM
Steve, do you have an example site that has the tabbed smileys?  I think it is a great idea and should make selecting the smileys easier and the members won't have to wait to see all of them load. That's the complaint I get mostly.

Just my private forum but I'll attach a couple of images so you can see what it looks like. :)

Quote from: Rk2910 on March 10, 2015, 07:27:53 PM(hope I don't get in trouble for this)

Naw, you shouldn't. I did ask so they can yell at me if'n they want. :P

#3
Modifications and Packages / Re: Tabbed smileys
March 10, 2015, 06:40:51 PM by Rk2910
Steve, do you have an example site that has the tabbed smileys?  I think it is a great idea and should make selecting the smileys easier and the members won't have to wait to see all of them load. That's the complaint I get mostly.

#4
Modifications and Packages / Re: Tabbed smileys
May 16, 2013, 01:12:40 PM by dimspace
Quote from: emanuele 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...

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..

#5
Modifications and Packages / Re: Tabbed smileys
March 28, 2013, 06:11:35 AM by emanuele
I know it's already answered, but is never too late to demonstrate the power of a search. :P
Quote from: FragaCampos on March 03, 2013, 05:21:23 PM
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).

#6
Modifications and Packages / Re: Tabbed smileys
March 27, 2013, 08:57:15 PM by Skaty
Quote from: Arantor on March 27, 2013, 08:37:22 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 ?

#7
Modifications and Packages / Re: Tabbed smileys
March 03, 2013, 05:21:23 PM by FragaCampos
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)?

#8
Modifications and Packages / Re: Tabbed smileys
August 29, 2012, 10:42:10 AM by boo2
Well I have it Uninstalled and I got back my smiles by deleting them all in admin and starting over.. One thing good about what happened is that I realized that admin already had a popup solution which would have done part of what I wanted which was to keep the smilies out of view until needed. Though tabs is great it still takes up a lot of space on the topic and reply page.

I would have preferred a hide show divide of some kind, right in the page, but a popup will have to do until I can find something like that instead. Tabs would have been great but I don't want any smilies showing by default and when I put smilies all in the tabs I think that might have kept the newly created tabs from taking affect, I don't know that for a fact though. And when I  messed with that css that DID mess things up, the last thing i did was change that css and that is when I got all the empty boxes, but the tabs didn't stick either, and I don't have but a few mods and I don't load them until I see one is working well before I put in another, so they were working fine.

Adk topic button
Simple Audio Video Embedder
Bookmarks
SimplePortal
SMF Gallery Lite

#9
Modifications and Packages / Re: Tabbed smileys
February 26, 2011, 02:02:19 PM by PZSHOSTING
Great mod! But in my situation, I need to keep the "on demand" loading of the smileys. I have too many smileys to have them all load at once. It causes the Internet Explorer to blink if they all load at once. Which is not the mod's fault. It's my members fault. They are smiley fanatics. So, I can't upgrade to 3.4 if it removes the "on demand" feature.

Thank you for this mod!

#10
Modifications and Packages / Re: Tabbed smileys
February 23, 2011, 01:48:55 PM by Rifugio
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

#11
Modifications and Packages / Re: Tabbed smileys
February 22, 2011, 04:38:35 PM by emanuele
Quote from: Rifugio on February 21, 2011, 09:35:24 AM
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. ;)

Quote from: Rifugio on February 21, 2011, 09:35:24 AM
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...

#12
Modifications and Packages / Re: Tabbed smileys
February 21, 2011, 09:35:24 AM by Rifugio
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.

Advertisement: