Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Feb 2008, 07:29
imcoach imcoach is offline
 
Join Date: Apr 2007
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
Reply With Quote
  #2  
Old 25 Nov 2008, 13:01
k111 k111 is offline
 
Join Date: Nov 2008
[edit] http://www.vbulletin.com/forum/showthread.php?t=102052

found it..

Last edited by k111; 25 Nov 2008 at 13:08.
Reply With Quote
  #3  
Old 25 Nov 2008, 13:27
ReCom ReCom is offline
 
Join Date: Mar 2008
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Open misc.php and find the following code portion:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Notice that for the following code block
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

there are two of them, one at the top and one at the bottom of the code portion from 2. Replace both of them with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Find the line
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

from the code portion from 2. Replace it with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

5. Now the smilie popup window should show 5 smilies per row.

Reply With Quote
  #4  
Old 09 May 2012, 13:17
kurti kurti is offline
 
Join Date: Nov 2008
(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?
Reply With Quote
  #5  
Old 09 May 2012, 15:54
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #6  
Old 10 May 2012, 04:23
kurti kurti is offline
 
Join Date: Nov 2008
Thank you Lynne, that helped.

I added some more colspan's (from 4 to 10) in the templates
"smiliepopup" and "smiliepopup_category". Perfect.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:05.

Layout Options | Width: Wide Color: