How do I change the size of the smilie box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CupraSi
    Member
    • Aug 2002
    • 67
    • 3.5.x

    #16
    Cheers Tungsten .. mine is sorted now
    Owner
    SEATforum.net
    http://www.seatforum.net/forum

    Chairman
    SEAT Car Club UK
    http://www.seatcarclub.co.uk

    Comment

    • gregsbaby64
      Member
      • Feb 2005
      • 93
      • 4.1.x

      #17
      Originally posted by Tungsten
      In the template named editor_clientscript search for the following snippet of code:

      Code:
      var smiliewindow_x = 240;
      var smiliewindow_y = 280;
      Change it to read:

      Code:
      var smiliewindow_x = 380
      var smiliewindow_y = 400;
      After you save the template with these changes, you may need to do a hard refresh of a screen with the WYSIWYG editor open in order to reload these parameters from your forums rather than from your browser cache. Just create a new thread and once the editor is loaded, do a CTRL+F5 within MSIE and it will do reload the code completely.

      Now when you click the [More] smilies button, it should open in a larger window.
      Where would this be in 3.0.7 version, please?

      Thanks!
      Last edited by gregsbaby64; Thu 24 Mar '05, 5:47am.
      ~*Sara*~

      Comment

      • Xabbu
        Member
        • Sep 2003
        • 53
        • 3.0.0 Beta 6

        #18
        Originally posted by gregsbaby64
        Where would this be in 3.0.7 version, please?

        Thanks,

        Sara

        Should be in the same spot I would assume (I haven't upgraded yet).

        Comment

        • gregsbaby64
          Member
          • Feb 2005
          • 93
          • 4.1.x

          #19
          I'm in clientscript and there are a few files in there. I think maybe it changed?

          This is what's in vbulletin_editor.js
          Code:
          // #############################################################################
          function open_smilie_window(x_width, y_width, wysiwyg, forumid)
          {
          	if (typeof(forumid) == "undefined")
          	{
          		forumid = 0;
          	}
          	window.open("misc.php?" + SESSIONURL + "do=getsmilies&wysiwyg=" + wysiwyg + "&forumid=" + forumid, "smilies", "statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=" + x_width + ",height=" + y_width);
          }
          
          // #############################################################################
          function alter_box_height(boxid, pixelvalue)
          {
          	var box = fetch_object(boxid);
          	var boxheight = parseInt(box.style.height);
          	var newheight = boxheight + pixelvalue;
          	if (newheight > 0)
          	{
          		box.style.height = newheight + "px";
          	}
          	return false;
          }
          I'm not really sure where I would change the size, as there doesn't seem to be one.

          Thanks!
          Last edited by gregsbaby64; Thu 24 Mar '05, 5:46am.
          ~*Sara*~

          Comment

          • gregsbaby64
            Member
            • Feb 2005
            • 93
            • 4.1.x

            #20
            Can anyone help me with this please? It would be appreciated.
            ~*Sara*~

            Comment

            • gregsbaby64
              Member
              • Feb 2005
              • 93
              • 4.1.x

              #21
              I found it.
              ~*Sara*~

              Comment

              • ScottieUK
                New Member
                • Jun 2009
                • 3
                • 3.8.x

                #22
                Hi, I have a similar problem with smilies, I can resize the box, change the number of columns with no problem, the issue is that the scroll bars are missing.

                In firefox and IE there are no scrollbars, but using Safari the scroll bars are there.

                Any ideas?

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...