1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XenForo Smilie XML Generator 1.0

A smilie XML generator for Windows.

  1. MatthewH

    MatthewH Member

    MatthewH submitted a new resource:

    XenForo Smilie XML Generator - A smilie XML generator for Windows.

    Read more about this resource...
  2. DaveM

    DaveM Well-Known Member

    Wish I had this a few weeks back
  3. MatthewH

    MatthewH Member

    Well if I bought the license a few weeks back I would've had it for you. :cry:
  4. otto

    otto Well-Known Member

    Wow - what a awesome way to import big smilie directorys.:love: Many thank to share this with us. (y)
  5. GliX

    GliX Active Member

    Could you add the ability to specify smilie categories? And why you add it to all smilies, even if they are larger?
    <sprite_params w="18" h="18"/>
  6. MatthewH

    MatthewH Member

    You're very welcome! That was the purpose for it!

    I'll add those two options.
    However, with category you must know the ID of the category.

    Since there's some interest and downloads, I'll add a few things..
    • Ability to specify size parameters.
    • The characters to use for the smilie. Right now it uses { }. So it would be {smiliename} to use said smilie. I'll adjust that.
    • And I'll add category ID selection.
    otto and GliX like this.
  7. otto

    otto Well-Known Member


    is there a way to import directly in a defined smilie group? If not - than this will be a suggestion. :D ;)

    Argh... you have do it yesterday, i dint have seen the update. :) Sorry.
    Sean Kendle likes this.
  8. Tim

    Tim Active Member

    I tried to generate a smilie XML just now and I get the following error...

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at Smilie_XML_Generator.main.generate_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at MetroFramework.Controls.MetroButton.OnMouseUp(MouseEventArgs e)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    Assembly Version:
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    XenForo Smilie XML Generator
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Users/Tim/Documents/WEBSITES/XenForo%20Smilie%20XML%20Generator/XenForo%20Smilie%20XML%20Generator.exe
    Assembly Version:
    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    Assembly Version:
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Assembly Version:
    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Users/Tim/Documents/WEBSITES/XenForo%20Smilie%20XML%20Generator/MetroFramework.DLL
    Assembly Version:
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    Assembly Version:
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging

    For example:

    <system.windows.forms jitDebugging="true" />

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Any thoughts on what went wrong for me?
  9. Sean Kendle

    Sean Kendle Member

    You need to make sure you replace the @ symbol with a PERIOD (DOT) symbol in Step 2.
  10. Sean Kendle

    Sean Kendle Member

    I followed the instructions, got an XML file and when I tried to import it, it gave me this error:

    The provided file was not a valid XML file. Please provide a valid XML file.

    Does anyone know what format Xenforo expect for a smilie XML file?
  11. Sean Kendle

    Sean Kendle Member

    Ok, I found the problem! Looks like when you added Categories support, you must have forgotten to open the "<smilies>" element just after the categories element in the outputted XML file!

    Once I added back in that opening tag, it worked!

    I did *NOT* add categories, so you may find that you tested it with categories, but forgot to test it again without categories.

    Anyone else running into this problem, if you just find this line in the exported XML file:

    <smilie_categories />

    And change it to say:

    <smilie_categories />

    It will import properly.
  12. x8BiTw0LFx

    x8BiTw0LFx Member

    No support for gifs?

Share This Page