Results 1 to 4 of 4

Thread: Help for IIIU pixhost.org plugin  

  1. #1
    Elite Member looperjack's Avatar
    Joined
    18 Feb 2012
    Posts
    53,868
    Likes
    1,039,760
    Images
    4,692,619

    Help for IIIU pixhost.org plugin

    Hi,
    Any coders out there who can help me fix this xml code to upload to pixhost.org through IIIU (IIIUploader)

    <?xml version="1.0" encoding="windows-1251"?>
    <Plugin xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
    <PluginName>pixhost.org</PluginName>
    <FormValuesList>
    <ArrayOfString>
    <string>content_type</string>
    <string>{IMAGECONTENT}</string>
    </ArrayOfString>
    <ArrayOfString>
    <string>tos</string>
    <string>on</string>
    </ArrayOfString>
    <ArrayOfString>
    <string>img[]</string>
    <string>{FILE}</string>
    </ArrayOfString>
    </FormValuesList>
    <ParametersList>
    <ArrayOfString>
    <string>imagecontent</string>
    <string>Image content</string>
    <string>0=FAMILY safe~|~1=ADULT content</string>
    <string>0</string>
    <string>List of values</string>
    </ArrayOfString>
    </ParametersList>
    <FileSizeMin>0</FileSizeMin>
    <FileSizeMax>10240</FileSizeMax>
    <HostingLogin />
    <HostingPassword />
    <HostingBaseURL />
    <UploadStepsList>
    <ArrayOfString>
    <string>POST</string>
    <string>https://www.pixhost.to/classic-upload/</string>
    <string />
    <string />
    <string />
    <string />
    <string>1</string>
    <string>multipart/form-data; boundary={BOUNDARY}</string>
    <string>{UPLOADFILE}</string>
    <string />
    <string>False</string>
    <string>False</string>
    </ArrayOfString>
    </UploadStepsList>
    <RegularExpression />
    <MatchIndex>1</MatchIndex>
    <AltRegularExpression />
    <AltMatchIndex>1</AltMatchIndex>
    <ResponseEncoding />
    </Plugin>

  2. #2
    Administrator V's Avatar
    Joined
    31 May 2010
    Posts
    24,057
    Likes
    285,547
    Images
    1,762,649
    Location
    🖕😊🖕 

    Re: Help for IIIU pixhost.org plugin

    Don't think it is going to work because classic upload uses javascript to show you the codes.

    The API method might have worked but it outputs escaped forward slashes and I see no string replacement functionality in III Uploader.

    Best solution is to use another tool because their API works just fine if you can rewrite output.

  3. Liked by 1 user: looperjack

  4. #3
    Elite Member looperjack's Avatar
    Joined
    18 Feb 2012
    Posts
    53,868
    Likes
    1,039,760
    Images
    4,692,619

    Re: Help for IIIU pixhost.org plugin

    Quote Originally Posted by V View Post
    Don't think it is going to work because classic upload uses javascript to show you the codes.

    The API method might have worked but it outputs escaped forward slashes and I see no string replacement functionality in III Uploader.

    Best solution is to use another tool because their API works just fine if you can rewrite output.
    Yeah, that might be the case. It does not output the bbcodes as regular expressions do not match.

  5. #4
    Elite Prospect maya's Avatar
    Joined
    22 Aug 2016
    Posts
    8,789
    Likes
    168,904
    Images
    793,804
    Location
    Tikal 

    Re: Help for IIIU pixhost.org plugin

    old thread i know..
    maybe someone can use it. i updated the plugin, the thumbsize is also included now.
    works for me



    <?xml version="1.0" encoding="Windows-1252"?>
    <Plugin xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
      <PluginName>pixhost.to_classic_v1</PluginName>
      <FormValuesList>
        <ArrayOfString>
          <string>content_type</string>
          <string>{IMAGECONTENT}</string>
        </ArrayOfString>
        <ArrayOfString>
          <string>tos</string>
          <string>on</string>
        </ArrayOfString>
        <ArrayOfString>
          <string>img[]</string>
          <string>{FILE}</string>
        </ArrayOfString>
      </FormValuesList>
      <ParametersList>
        <ArrayOfString>
          <string>imagecontent</string>
          <string>SFW_NSFW</string>
          <string>0=FAMILY safe~|~1=ADULT content</string>
          <string>1</string>
          <string>List of values</string>
        </ArrayOfString>
        <ArrayOfString>
          <string>thumbsize</string>
          <string>ThumNailSize</string>
          <string>200~|~250~|~300~|~350~|~400~|~450~|~500</string>
          <string>300</string>
          <string>List of values</string>
        </ArrayOfString>
      </ParametersList>
      <FileSizeMin>0</FileSizeMin>
      <FileSizeMax>5120</FileSizeMax>
      <HostingLogin />
      <HostingPassword />
      <HostingBaseURL />
      <UploadStepsList>
        <ArrayOfString>
          <string>POST</string>
          <string>https://pixhost.to/classic-upload/</string>
          <string />
          <string>content_type={IMAGECONTENT}; view_type=list; max_th_size={THUMBSIZE}; lb_user=; lb_pass=; count_views=0</string>
          <string />
          <string>"show_url":"(?&lt;lnk&gt;[^"]*?)","th_url":"(?&lt;prv&gt;[^"]*?)"</string>
          <string>1</string>
          <string>multipart/form-data; boundary={BOUNDARY}</string>
          <string>{UPLOADFILE}</string>
          <string />
          <string>False</string>
          <string>True</string>
        </ArrayOfString>
      </UploadStepsList>
      <RegularExpression>"show_url":"(?&lt;lnk&gt;[^"]*?)","th_url":"(?&lt;prv&gt;[^"]*?)"</RegularExpression>
      <MatchIndex>1</MatchIndex>
      <AltRegularExpression />
      <AltMatchIndex>1</AltMatchIndex>
      <ResponseEncoding />
    </Plugin>
    Last edited by maya; 27th July 2025 at 14:30.

  6. Liked by 5 users: bOOmy, cdf99, ghizzie, mike_04, roger33

Posting Permissions