Add-On for HTML-to-Thread Conversion

BT10

Well-known member
Objective: Develop a Xenforo add-on that can take a pre-formatted HTML file and convert its content into a new forum thread with multiple posts.

Key Requirements:

Automatic User Creation Based on HTML Content:
  • The add-on should parse the HTML file to identify unique authors in the content.
  • If an author in the HTML file does not already exist in the Xenforo user database, a new user account should be automatically created.
  • Each new user should have:
    • A username matching the author name found in the HTML.
    • A random placeholder email (e.g., username@example.com) and a random password.
  • Each post in the thread should be attributed to the correct user based on the parsed author information.
Retain Basic HTML Formatting:
  • The add-on should preserve basic HTML formatting found within each message's content. This includes:
    • Links
    • Paragraphs
    • Bullet Points and Lists
    • Basic Inline Formatting: Tags should be converted to their BBCode equivalents or preserved if Xenforo allows it.
Forum ID:
  • The add-on should be able to accept a specific forum ID where the thread will be posted. This should be easy to adjust in the code.
Admin Panel Access:
  • Provide an accessible route in the Xenforo Admin Panel to run the conversion.
  • A single-click conversion action should parse the HTML, create the thread, and add posts.
  • Support for bulk uploads and conversions.

If anyone is interested in this job, please send a PM.
 
Back
Top Bottom