The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Widen Smiliepopup Window
Hi!
Is there a way to expand the smiliepop window? I just uploaded some wider then average smilies and now one needs to scroll to see the right column.. Thx. -Matt |
#2
|
|||
|
|||
|
#3
|
|||
|
|||
After widening the smilie popup window, you might want to change the number of smilies per row to fully utilize the increased width better. Here's how:
(warning: this requires modifying a core vbulletin file, an action that is best avoided unless necessary) 0. Decide how many smilies to show per row. Let say you want 5 smilies per row. 1. Customize template smiliepopup_straggler into: HTML Code:
<td class="$bgclass">$smiliehtml</td> <td class="$bgclass" colspan="$remainingcols">$smilie[text]</td> PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#4
|
|||
|
|||
(Sorry, i know its an old thread.)
I'm still running vB 3.7.4. I changed the size of the popupwindow in the "editor_smiliebox" template. and added aditional smiley rows exactly like ReCom discribed. It works well apart from one thing: Not all elements of the background in the popupwindow adjust to the new window size. Screenshot: I searched in the "editor_smiliebox" and "smileypopup" templates and in the "vBulletin Options" in the admin, but could not find were to edit the width of the background table inside the popupwindow. Can anyone help please? |
#5
|
||||
|
||||
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
That will allow you to find the template and then you may go in and find the code and change the table to have xx columns instead of yy. |
#6
|
|||
|
|||
Thank you Lynne, that helped.
I added some more colspan's (from 4 to 10) in the templates "smiliepopup" and "smiliepopup_category". Perfect. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|