📢 重要通知 🚀

网站重新整理了一下,清除了沉余数据,目前开放免费任何资源下载 🙂. 网站等待xenforo 2.4 大更新版本后再花精力设计网站.

SVG Template by Xon

SVG Template by Xon 2.6.1

没有下载权限
XF兼容
  1. 2.1.x
  2. 2.2.x
  3. 2.3.x
根据配置,此附加组件需要网络服务器 URL 重写支持!允许将 SVG(可扩展矢量图形)图像存储为模板。这将在 XF 根目录中创建一个新的 svg .php 文件。生成指向 SVG 模板的链接;

To generate a link to an SVG template;
XML:
{{ getSvgUrl('tempate.svg') }}
Under Board information, if "Use Full Friendly URLs" (useFriendlyUrls) is set the URL generated is:
XML:
{{ getSvgUrl('tempate.svg') }}
Otherwise
XML:
svg.php?svg=<templateName>&s=<style_id>&l=<langauge_id>&d=<style_last_modified>
Nginx URL rewrite config
HTML:
location ^~ /data/svg/ {
  access_log off;
  rewrite ^/data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+).svg$ /svg.php?svg=$4&s=$1&l=$2&d=$3$args last;
  return 403;
}
Apache URL rewrite config

Add the rule before the final reference;data/
HTML:
RewriteRule ^data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+).svg$ svg.php?svg=$4&s=$1&l=$2&d=$3 [B,NC,L,QSA]
ie, should look similar to;
HTML:
#    If you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "RewriteBase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+).svg$ svg.php?svg=$4&s=$1&l=$2&d=$3 [B,NC,L,QSA]
    RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
作者
波坤太叔
下载
2
查看
124
首次发布
最后更新

评级

0.00 星 0 星

来自波坤太叔的更多资源

  • SV Standard Library
    SV Standard Library
    一些旨在简化附加开发的辅助实用程序没有任何直接面向用户的更改。上传到资源经理,以帮助依赖性跟踪,并允许更新,而无需更新每个单独的附加 组件
  • [MMO] Rename Attachments
    [MMO] Rename Attachments
    该插件允许您为附件添加前缀
  • [Xen-Soluce] Upgrade Coupons
    [Xen-Soluce] Upgrade Coupons
    此附加组件允许您为用户升级添加折扣代码。
  • Ultimate Landing Page
    Ultimate Landing Page
    游戏社区的登陆页面
  • [TaylorJ] Blogs
    [TaylorJ] Blogs
    为您的用户提供一种在他们自己的个人区域中进一步表达自己的方式!

最新更新

  1. 2.6.1

    修复了样式属性中 XF2.3 样式变体对 getSvgUrl() 的支持
  2. 2.6.0

    需要 StandardLib v1.19.0+ 如果已安装,则需要 Redis 缓存 2.17.0+ XF2.3 兼容性更新 PHP 8.4 兼容性修复
  3. 2.5.1

    修复了请求无效 svg 时生成的内部服务器错误而不是 404
后退