Resource icon

xF2 Add-on SVG Template by Xon 2.4.6

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2
Additional Requirements
php 5.6+
Depending on configuration, this add-on requires webserver URL rewrite support!

Allows SVG (Scalable Vector Graphics) images to be stored as templates. This creates a new svg.php file in the XF root directory.

To generate a link to an SVG template;
Code:
{{ getSvgUrl('tempate.svg') }}
Under Board information, if "Use Full Friendly URLs" (useFriendlyUrls) is set the URL generated is:
Code:
/data/svg/<style_id>/<langauge_id>/<style_last_modified>/<templateName>.svg
Otherwise
Code:
svg.php?svg=<templateName>&s=<style_id>&l=<langauge_id>&d=<style_last_modified>
Nginx URL rewrite config
Code:
location ^~ /data/svg/ {
  access_log off;
  rewrite ^/data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+).svg$ /svg.php?svg=$4&s=$1&l=$2&d=$3 last;
  return 403;
}
Author
Admin
Size
35.3 KB
Extension
zip
Downloads
23
Views
1,299
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Admin

Latest updates

  1. 2.4.6 - Bugfix update

    Fix template validation ran on the master style instead of the current selected style Fix for...
  2. 2.4.5 - Bugfix update

    Compatibility update with SV/StandardLib v1.14+, still compatible with SV/StandardLib v1.11+
  3. 2.4.4 - Maintenance update

    Improve error messages when saving invalid SVGs as templates

Similar resources

[CinVin] Emoji Tweaks (use SVG images for emoji instead of PNG) Admin
Change the file extension of emoji images when using a custom CDN
0.00 star(s) 0 ratings
Downloads
1
Updated
[SVG] Date Time S
Блок даты и времени
0.00 star(s) 0 ratings
Downloads
7
Updated
[SVG] Error correction Admin
BB code error correction in forum posts
0.00 star(s) 0 ratings
Downloads
3
Updated
[SVG] Footer linkList StaffBar Sangoku
Transferring the language and style selection links in the admin menu.
0.00 star(s) 0 ratings
Downloads
6
Updated
[SVG] Forum Statistics Below Nodes Admin
0.00 star(s) 0 ratings
Downloads
13
Updated
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I Disabled AdBlock