[TH] Smilie Importer [Deleted]

Hmm, I'm thinking I can export my vBulletin smilie table as xml and then just adjust it to this format. Is there an example template for the xml structure?
 
I am not familiar with the XML for vBulletin. Perhaps you can post a bit of it here so I can understand?
Code:
-<table name="vb_smilie">
    <column name="smilieid">2</column>
    <column name="title">Embarrassment</column>
    <column name="smilietext">:o</column>
    <column name="smiliepath">http://mysite.com/images/smilies/redface.gif</column>
    <column name="imagecategoryid">1</column>
    <column name="displayorder">1</column>
    <column name="importsmilieid">0</column>
</table>
 
Code:
-<table name="vb_smilie">
    <column name="smilieid">2</column>
    <column name="title">Embarrassment</column>
    <column name="smilietext">:o</column>
    <column name="smiliepath">http://mysite.com/images/smilies/redface.gif</column>
    <column name="imagecategoryid">1</column>
    <column name="displayorder">1</column>
    <column name="importsmilieid">0</column>
</table>
So that would convert to:
Code:
<smilies>
    <smilie>
        <title><![CDATA[Embarrassment]]></title>
        <image_url><![CDATA[http://mysite.com/images/smilies/redface.gif]]></image_url>
        <smilie_text><![CDATA[:o]]></smilie_text>
    </smilie>
</smilies>
 
The provided file was not a valid XML file. Please provide a valid XML file.

I get that error when I import my smiley zip.
 
Then it's an invalid XML file. You have to try to open it in a browser or xml viewer and see what error it throws.

EDIT: Or wait, did you say smiley ZIP? It can't be a zip file.
 
I have installed this add on - imported the xml file and have "blank" smiles. Any ideas?
 

Attachments

  • Screen Shot 2013-08-31 at 7.07.12 AM.webp
    Screen Shot 2013-08-31 at 7.07.12 AM.webp
    13.2 KB · Views: 5
Top Bottom