MyBB Community Forums

Full Version: Scroll Smilies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
On the smiley inserter is there a way for example if there is more than 20 smilies for it to create a scroll bar so you can scroll down for more smilies instead of having to press the get more button.
In the templates of your theme: Smilie Inserter Templates > smilieinsert.
Replace:
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="2" id="clickable_smilies">
{$smilies}
</table>
With:
<div id="clickable_smilies_wrapper">
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="2" id="clickable_smilies">
{$smilies}
</table>
</div>

Now in the Theme settings of your theme, open global.css > Advanced mode, and add this to the end of the file:
#clickable_smilies_wrapper {
   width: 160px;
   height: 100px;
   overflow-y: scroll;
}
What's gone wrong?
http://zingor.net/am/newthread.php?fid=12
It's failed horribly.
(2011-05-10, 04:33 PM)StevenF50 Wrote: [ -> ]What's gone wrong?
http://zingor.net/am/newthread.php?fid=12
It's failed horribly.

Do you have a login to your forum?
No and I can't log out because of the other problem :/

http://awesomescreenshot.com/05dcri2e8
Any test account please ?
If you don't want to give out login data publicly, PM me the login information. That way I can make a solution for your specific problem. The thing I posted worked on the default theme.
(2011-05-10, 04:47 PM)StevenF50 Wrote: [ -> ]No and I can't log out because of the other problem :/

http://awesomescreenshot.com/05dcri2e8

I will quote myself, I can't log out, isn't the screenshot enough?
No, screenshot is not enough. Unless you give us any test account, how could we expect to know what's wrong in your source or templates ? Undecided
(2011-05-10, 05:44 PM)StevenF50 Wrote: [ -> ]
(2011-05-10, 04:47 PM)StevenF50 Wrote: [ -> ]No and I can't log out because of the other problem :/

http://awesomescreenshot.com/05dcri2e8

I will quote myself, I can't log out, isn't the screenshot enough?

Why should you have to log out? Smile
Pages: 1 2