SimplePortal

Support => English Support => Topic started by: Yahmez on September 03, 2009, 12:34:02 PM

Title: SP 2.3 shoutbox
Post by: Yahmez on September 03, 2009, 12:34:02 PM
Is there a way to have the shout box only load the smileys that show in the post form instead of every smiley installed? When loading the site, it downloads one hunderd some odd smileys and kills load time.
Title: Re: SP 2.3 shoutbox
Post by: Nathaniel on September 04, 2009, 02:57:22 AM
The shoutbox does only load the smileys that are shown in the postbox...

It would however, be useful to be able to restrict which smileys are shown in the shoutbox, regardless of them being shown in the post form or not.

There is a feature request about that below:
http://simpleportal.net/index.php?issue=263.0
Title: Re: SP 2.3 shoutbox
Post by: Yahmez on September 04, 2009, 12:03:45 PM
The shoutbox does only load the smileys that are shown in the postbox...


Not for me unfortunately. See attached.
Title: Re: SP 2.3 shoutbox
Post by: simply sibyl on September 04, 2009, 12:24:02 PM
Does the same on mine.    Shows all the smileys that are on the popup via the [more] link
Title: Re: SP 2.3 shoutbox
Post by: straycat on September 04, 2009, 01:36:26 PM
Mine as well. All the smilies from the [more] link. In fact, looking closer, it's all the smilies; those from the post box are just mixed in with the rest.

Actually, even looking at the shout box here, that's all the smilies from this forum coming up as well
Title: Re: SP 2.3 shoutbox
Post by: Yahmez on September 07, 2009, 11:19:45 AM
Looks like I'm not the only one with this issue. It would not be a big deal if I used the default smileys, but using a much larger collection REALLY kills my site's load time. Please help!
Title: Re: SP 2.3 shoutbox
Post by: Nathaniel on September 07, 2009, 05:33:46 PM
To remove the smileys shown by the [more] link.
Code: ("Find this code (sources/PortalBlocks.php)") [Select]
'hidden' => array(0, 2),
Code: ("Replace with this code") [Select]
'hidden' => array(0),
As a correction, it does load the same smileys as the post box, except that the postbox shows some using the [more] link. Still, this is undesirable.
Title: Re: SP 2.3 shoutbox
Post by: Yahmez on September 07, 2009, 06:23:23 PM
To remove the smileys shown by the [more] link.
Code: ("Find this code (sources/PortalBlocks.php)") [Select]
'hidden' => array(0, 2),
Code: ("Replace with this code") [Select]
'hidden' => array(0),
As a correction, it does load the same smileys as the post box, except that the postbox shows some using the [more] link. Still, this is undesirable.
That edit worked perfectly! Thank you very much Nathaniel.
I'm marking this solved. :applause:
SimplePortal 2.3.8 © 2008-2024, SimplePortal