Neler yeni

Foruma hoş geldin 👋, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

SVG Template by Xon

Add-ons SVG Template by Xon 2.7.0

indirmek için izniniz yok
Add-ons
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;

Kod:
{{ getSvgUrl('tempate.svg') }}

Under Board information, if "Use Full Friendly URLs" (useFriendlyUrls) is set the URL generated is:

Kod:
/data/svg/<style_id>/<langauge_id>/<style_last_modified>/<templateName>.svg

Otherwise

Kod:
svg.php?svg=&lt;templateName&gt;&amp;s=&lt;style_id&gt;&amp;l=&lt;langauge_id&gt;&amp;d=&lt;style_last_modified&gt;



Nginx URL rewrite config


Kod:
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 data/ reference;

Kod:
RewriteRule ^data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+).svg$ svg.php?svg=$4&s=$1&l=$2&d=$3 [B,NC,L,QSA]

ie, should look similar to;


Kod:
#    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]
Yazar
Lachin
İndirilme
0
Görüntüleme
4
İlk yayınlama
Son güncelleme

Puanlar

0,00 yıldız 0 değerlendirme

Lachin ait diğer kaynakar

Help Users

You haven't joined any rooms.

You haven't joined any rooms.

Tema özelleştirme sistemi

Bu menüden forum temasının bazı alanlarını kendinize özel olarak düzenleye bilirsiniz

Geri