New posts New resources New threads Most answered Most reaction Most viewed threads

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.20.1 1.20.1

    xF2 Add-on
    • Fix \SV\StandardLib\Helper::repo()->aliasClass() had a compatibility issue with XF2.2.13+ when the aliased class was the top-most class extension.
    • Require php 7.2+
    • php 8.4+ compatibility fix
    • Improve custom AJAX pagination and AJAX pagination with filter bar javascript. Includes admincp option helper option rendering code
      See Who Replied for an implementation of the feature allowing selectable pagination styles
    • Add Helper::plugin for type-safe plugin creation
    • 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!
    18,302Threads
    63,995Messages
    62,839Members
    ghita43Latest member
    Top