Nicer look for smiley dropdown box v1.0 Take a look at the smiley dropdown box on the "New Post" page. If you added some of your own smileys with different widths, it will look messy, because always six smileys are put in one row. This hack simply inserts a linebreak after a given width has been exceeded.
This is an easy hack with just a few modifications in one place.
Working Under Has been tested with v7.1
Files Modified /libs/ubbthreads.inc.php
Instructions Follow the steps in the attached text file.
Thanks. I have altered mine, so that it starts much closer to the left hand side of the page, and I have increased the number of smilies to 16 per line.
For some of the wider images, I had to database dive to split them up, so maybe your idea in conjunction with my changes would work well
It's indeed not thĂƒÂ¡t obvious for people who never experimented with the code. No idea even what the difference between 7.1 and 7.2 is, how should I know where to adjust then...
It's not out of laziness I ask an update, it's due to not knowing..
If this forum is for developpers only, let me know, then I shouldn't be here
If this forum is for developpers only, let me know, then I shouldn't be here
You should be here! If you can follow do-this and do-that stuff, you are more then welcome. Heck, even if you can't do that, you are more then welcome here
Oh, I didn't mean to imply that you were disrespectful, I really was wondering if this is for developers only
Well, it worked , thanks. Is there any way to adjust the order of the smileys? Or can this only be done by removing them all and adding them in the right order..
7.3 addresses this by adding another field to that table.. ie: 'GRAEMLIN_SORT_ORDER'
as for 7.2.2 the easiest way would be to quickly add that field in your table and then manually use phpMyAdmin and put the numbers in the order you want.. this replaces having to write an admin cpanel interface for it..
then just change the query in ubbthreads to add 'ORDER BY GRAEMLIN_SORT_ORDER' and *poof* done..
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.