Welcome to My iptv forum

  • Everyone is invited! My iptv forum is for everyone, new and advanced user alike!
  • Searching is key! Before you post a question, use the forum search feature to determine whether your topic has already been covered.
  • Do not start flame wars! If someone has engaged in behavior that is detrimental to the discussion -- spamming, harassment, etc -- report the post and we'll take a look.
  • Resource icon

    xF2 Add-on Standard Library by Xon 1.19.5 1.19.5

    xF2 Add-on
    • Fix Helper::find() and Helper::findCached() assumed entity ids are only ints (can be string/int/array)
    • Add Helper::instantiateEntity() type-safe wrapper
    • Fix Helper::createEntity() could cause "Call to undefined method ...\XF\Entity\...::where()" errors when verifying content is unique
    • Actually distribute minified ajaxPagination.js file
    • Only add phrase_dynamic template method in XF2.1
    • Add various strongly typed helpers to automatically type hint returns based on using ::class argument instead of magic strings.
    PHP:
    Please, Log in or Register to view codes content!

    • For static analysis and IDE, $obj will have the type \XF\Repository\User

      While XF2.3 intends to implement this, adding this functionality to this add-on allows migrating before hand and simplifies migrating as the Helper bit just needs to be swapped with \XF
    • Add js/sv/lib/ajaxPagination.js
    HTML:
    Please, Log in or Register to view codes content!

    Code:
    Please, Log in or Register to view codes content!
    • Fix accidental hard XF2.2 requirement. Take #2
    Note; The 1.18.x branch will be the last branch to support XenForo 2.1.x
    • Deprecate getContentPermissions function, as the 2nd string argument was not actually used, with a replacement function getPerContentPermissions added.
    • Add \SV\StandardLib\Helper::isAddOnActive() helper function. Similar to \XF::isAddonActive(), except it understands version strings
    • Shim template funciton is_addon_active code to understand version strings
    Add support for addon.json 'require'/'require-soft' to support addon version strings instead of the addon version_id.
    Uses version_compare under the hood after some very basic standardization.

    php version strings support dotted versions, '1.2.3' and also each part may also support special character strings:

    PHP:
    Please, Log in or Register to view codes content!
    Thanks to @NamePros for sponsoring this update
    • Add "patch_route_build_callback" code event, used to manipulate the router state during construction.
    • Add input filter option "empty-str-to-null". Example usage for developers:
    PHP:
    Please, Log in or Register to view codes content!
    • Fix caching global permissions was broken (Impacts Can Warn Staff & User Essentials, but depends heavily on content if this bug was triggered)
    • Add helper repository for manipulating permissions.
      Will be used by a number of upcoming updates for various add-ons.
    18,034Threads
    63,131Messages
    62,364Members
    SzakalLatest member
    Top