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

Lack of Interest Increase addon_id field

Discussion in 'Closed Suggestions' started by rellect, Aug 24, 2013.

  1. rellect

    rellect Well-Known Member

    I noticed that addon_id field may contain only 25 chars.
    This is a little bit low in some cases. Would like to have it higher.

    Bob and Chris D like this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    Yeah I completely agree with this.

    I think it's good practice for the add-on ID to match the directory structure from the library directory, e.g.

    Add-on ID: YourAddOn
    Would have its files located in: library/YourAddOn/

    As a more practical example of where this is useful, I have been doing a heck of a lot of work for AVForums. To be organised I have been using AVForums_ as a prefix and locating files like this:

    Add-on ID: AVForums_YourAddOn
    Files located in: library/AVForums/YourAddOn/

    Most desired add-on IDs wouldn't exceed the limit, but sometimes they might.

    Increasing to 50 should be a good compromise.
    Bob and rellect like this.
  3. Adam Howard

    Adam Howard Well-Known Member

    140 max should settle for everyone.

    That's as long as a XenForo comment on user profile or as long as a Twitter post (same length, 140).

    Common (intuitive) length most people are use to typing out to describe things.
  4. xf_phantom

    xf_phantom Well-Known Member

Share This Page