Resource icon

SVG Template by Xon 2.1.5

No permission to download
  • Fix that svg templates may not be correctly rendered when friendly URLs are disabled
  • Like
Reactions: batpool52!
  • Fix caching non-existent svg templates not returning a 404
  • Do not include a message body, and just return 404 if the template doesn't exist
  • Like
Reactions: Vekseid
  • Support Redis Cache saving gzip cached streams to cache system without decoding server side
  • Fix getSvgUrl would generate invalid svg links when viewed by a user who has not explicitly set a style
  • Fix using getSvgUrl in style properties
  • Extend XF2 router to provide /data/svg support for svg templates.
    • Still recommend webserver rewrite rules if possible
    • If using apache you must adjust the default htaccess rewrite rules provided by XenForo;
      • Add the following;
        Code:
        RewriteRule ^data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+).svg$ svg.php?svg=$4&s=$1&l=$2&d=$3 [B,NC,L,QSA]
        before
        Code:
        RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
  • Fix that svg file link generation did not handle if the forum is in a sub-folder.
  • Disable individual CSS template caching integration.
    • SVG's are long lived and if served via recommended rewrite rules should be cached in browsers or via upstream proxies (ie cloudflare)
  • Update suggested nginx to capture 'k' argument
  • Support XF1 version arguments (style/language vs s/l) to svg.php
  • Allow helper ('getSvgUrl') to work in style properties
  • Improve handling of svg template from when friendly urls is enabled/disabled
Top