Announcement

Collapse
No announcement yet.

How do I change the size of the smilie box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #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


    • #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


      • #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


        • #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


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

            Comment


            • #21
              I found it.
              ~*Sara*~

              Comment


              • #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...
                X