欢迎客人!

• 开始前请阅读社区规则确保您顺利的熟悉本社区。注册用户可以提交资源,如果您有已发布资源的新版本,您可以随时更新版本!

• 文件链接损坏请在文件下方留言,我们将会及时更新来自备份服务器的新链接。如有其它问题请 提交工单 和我们联系!

• 我们拥有多账户检测系统,对于重复注册我们将采取严厉措施!

Add/Plugins OzzModz - Registration Spaminator

此插件是另一个打击论坛垃圾邮件机器人注册的工具。[OzzModz] Registration Spaminator

会在注册表单中注入虚假字段和复选框,浏览器无法呈现这些字段和复选框,因此人类永远看不到。但机器人会填写字段并选中复选框 - 表明自己是机器人并落入 Spaminator 陷阱。然后,Spaminator 会记录所有信息并发送机器人以完成注册,但不创建任何帐户,完全阻止自动垃圾邮件注册,同时确保机器人程序中不会出现任何标记。

程序“认为”注册成功,并且经常立即尝试登录不存在的帐户! [ OzzModz ] Registration Spaminator可以与其他反垃圾邮件措施配合使用,并且不受其他反垃圾邮件措施的影响,但也使它们全部过时,证明了验证码、谜题、问题、计时器等毫无价值,因为它仍然会在所有这些烦人的标准反垃圾邮件杂项仍然有效时捕获机器人。而且它不会干扰您在注册表单上的任何自定义字段。[OzzModz] Registration Spaminator完全独立,不依赖任何第三方数据库、列表或 IP 阻止。它为机器人提供了更多机会来逃避并证明自己是机器人,从而更好地防御自动垃圾邮件。

因此,我们可以结合多种检查,而不是每个表单只使用一种 CAPTCHA/ReCaptcha 和/或一两个问题。这为[OzzModz] Registration Spaminator带来了巨大的优势。 由于 XRumer 等程序已经击败了 CAPTCHA/ReCaptcha、电子邮件验证、问答、计时器和许多其他垃圾邮件阻止技术,[OzzModz] Registration Spaminator带来了一整套机器人无法通过的全新检查。

Add/Plugins Svg Template by Xon

Depending on configuration, this add-on requires webserver URL rewrite support!

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 (The template must have .svg at the end of the name!) ;
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>
Rendering SVGs to PNGs requires external support, and depending on OS this may result in odd limitations or poor rendering.

It is not recommended to use Imagick if it can be helped!

Ubuntu (using https://launchpad.net/~ondrej/+archive/ubuntu/php PPA);
Code:
sudo apt install php7.4-imagick libmagickcore-6.q16-3-extra<br>sudo systemctl restart php7.4-fpm
Note; some distro's require libmagickcore-6.q16-3-extra to be installed to enable SVG support.

Older versions of Imagick have poor SVG support, on top of Imagick's poor security reputation.

This is a generic escape hatch to plug in arbitrary png conversion, using proc_open in php.

Configure Render using proc_open option with;
Code:
&lt;CLI-binary&gt; {destFile} {sourceFile}
{sourceFile} is the source SVG written as a temp file {destFile} is the destination PNG file as a temp file

Alternatively input/output can be done via pipes

Note; template names are only alpha-numeric strings, which is enforced by validation before the CLI option is called

Example using resvg v0.35.0+, configure CLI - Pipe command with;
Code:
/usr/local/bin/resvg --quiet --resources-dir=/tmp/ - -c
Example using resvg, configure CLI command with;
Code:
/usr/local/bin/resvg --quiet {sourceFile} {destFile}
Pre-compiled linux x86_64 binary has been made available here. Compiled on CentOS 7, works on Ubuntu 18.04/20.04/22.04

Compiling may bind to newer versions of glibc which can cause portability issues
Code:
curl https://sh.rustup.rs -sSf | sh<br>source $HOME/.cargo/env<br>cargo install resvg<br>cp ~/.cargo/bin/resvg /usr/local/bin/resvg<br>chmod +x /usr/local/bin/resvg
Note; use snap as otherwise it is likely to have too old an instance!
Code:
sudo snap install inkscape
Configure CLI PIPE command with;
Code:
inkscape --export-type=png -p
An example of conditional CSS to use the png over the svg for mobile clients
Less:
<span>.mod_interrupt--svg.mod_interrupt</span><br><span>{</span><br> <span>&amp;--stop</span><br> <span>{</span><br> <span>&amp;:before</span><br> <span>{</span><br> <span>content</span><span>:</span> url<span>(</span><span>{</span><span>{</span> getSvg<span><span>Url</span><span>(</span>'sv_bbcode_modinterrupt_stop.svg'<span>)</span></span> <span>}</span><span>}</span><span>)</span> <span>!important</span><span>;</span><br> <span>}</span><br> <span>&lt;xf:if is="$xf.svg.as.png"&gt;<br> .is-tablet &amp;:before,<br> .is-mobile &amp;:before</span><br> <span>{</span><br> <span>content</span><span>:</span> url<span>(</span><span>{</span><span>{</span> <span>getSvgUrlAs</span><span>(</span><span>'sv_bbcode_modinterrupt_stop.svg'</span><span>,</span> <span>'png'</span><span>)</span> <span>}</span><span>}</span><span>)</span> <span>!important</span><span>;</span><br> <span>}</span><br> &lt;<span>/</span><span>xf</span><span>:</span>if&gt;<br> <span>}</span><br><span>}</span>
Explicit usage in templates;
XML:
<span><span><span>&lt;</span><span>xf:</span>if</span> <span>is</span><span><span>=</span><span>"</span>$xf.svg.enabled<span>"</span></span><span>&gt;</span></span><br> <span><span><span>&lt;</span><span>xf:</span>if</span> <span>is</span><span><span>=</span><span>"</span>$xf.svg.as.png and $xf.mobileDetect and $xf.mobileDetect.isMobile()<span>"</span></span><span>&gt;</span></span><br> <span><span><span>&lt;</span>img</span> <span>src</span><span><span>=</span><span>"</span>{{ getSvgUrlAs('example.svg', 'png') }}<span>"</span></span><span>/&gt;</span></span><br> <span><span><span>&lt;</span><span>xf:</span>else</span> <span>/&gt;</span></span><br> <span><span><span>&lt;</span>img</span> <span>src</span><span><span>=</span><span>"</span>{{ getSvgUrlAs('example.svg', 'svg') }}<span>"</span></span><span>/&gt;</span></span><br> <span><span><span>&lt;/</span><span>xf:</span>if</span><span>&gt;</span></span><br><span><span><span>&lt;</span><span>xf:</span>else</span> <span>/&gt;</span></span><br> <span><span><span>&lt;</span>i</span> <span>class</span><span><span>=</span><span>"</span>fa fa-stop<span>"</span></span> <span>/&gt;</span></span><br><span><span><span>&lt;/</span><span>xf:</span>if</span><span>&gt;</span></span>
While webserver rewrite rules are recommended, this add-on supports extending XenForo's routing system to provide zero-configuration support for SVG Templates

Code:
location ^~ /data/svg/ {<br> access_log off;<br> rewrite ^/data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+\..*)$ /svg.php?svg=$4&amp;s=$1&amp;l=$2&amp;d=$3$args last;<br> return 403;<br>}
Add the rule before the final index.php;
Code:
RewriteRule ^data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+\..*)$ svg.php?svg=$4&amp;s=$1&amp;l=$2&amp;d=$3 [B,NC,L,QSA]
ie, should look similar to;
Code:
# If you are having problems with the rewrite rules, remove the "#" from the<br> # line that begins "RewriteBase" below. You will also have to change the path<br> # of the rewrite to reflect the path to your XenForo installation.<br> #RewriteBase /xenforo<br><br><br> RewriteCond %{REQUEST_FILENAME} -f [OR]<br> RewriteCond %{REQUEST_FILENAME} -l [OR]<br> RewriteCond %{REQUEST_FILENAME} -d<br> RewriteRule ^.*$ - [NC,L]<br> RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]<br> RewriteRule ^data/svg/([^/]+)/([^/]+)/([^/]+)/([^\.]+\..*)$ svg.php?svg=$4&amp;s=$1&amp;l=$2&amp;d=$3 [B,NC,L,QSA]<br> RewriteRule ^.*$ index.php [NC,L]

Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.

Contributions

If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.

Add/Plugins Featured Threads and Content

grid-home.webp
featured-article-replies.webp
featured-article.webp
featured-listing.webp
featured-sp-options.webp
featured-threads-widget.webp

Administrator Features
• Set up criteria to automatically feature content with Content, User, and User field criteria
• Choose the order in which auto feature criteria will be checked
• Choose how many featured items can be displayed per page
• Choose the maximum excerpt length for featured items
• Allow moderators to feature threads, polls, media and resources
• Create a widget to display featured content
• Choose the number of featured content items to be displayed on the widget
• Set the pixels you would like all uploaded slider background images to be
• Determine how long content can remain featured or leave it featured indefinitely
• Display a user’s current featured content on a "Featured content" tab on their member profile
• Apply a prefix to featured threads
• Show the first post at the top of all pages in the featured thread
• Determine the size and style icons should be for the featured content
• Add advertisements above and below feature message content
• Choose whether or not users can dismiss features from widgets in permissions

User Features
• Easily identify and view featured content
• Have their currently featured content displayed on their member profile
• Dismiss features from displaying in widgets if you have the appropriate permissions

Add/Plugins [Xen-Soluce] Credit System

Description :
  • This add-on allow you to setup an advanced system for counting user threads, posts, replies and reactions in selected forums.
Feature summary :
  • Options :
    • Credit calculation method
    • Rounding value
    • Events :
      • Add event :
        • Threads
        • Posts
        • Reply
        • Reactions
        • XenCentral Feedback System :
          • Positive
          • Neutral
          • Negative
        • [Xen-Soluce] Invite System:
          • Invite
      • Title
      • Description
      • Enable
      • Settings - threads :
        • Exclude closed threads
        • Exclude soft-deleted threads
        • Exclude thread IDs
      • Settings - posts :
        • Exclude closed threads
        • Exclude soft-deleted threads
        • Exclude soft-deleted posts
        • Exclude thread IDs
        • Count only one post per user in each thread
      • Settings - reply :
        • Exclude closed threads
        • Exclude soft-deleted threads
        • Exclude soft-deleted posts
        • Exclude thread IDs
        • Count only one reply per user in each thread.
      • Settings - reactions :
        • Exclude closed threads
        • Exclude soft-deleted threads
        • Exclude soft-deleted posts
        • Exclude thread IDs
        • Count only one reaction per user in each thread.
        • Count first post reaction only
      • Credit
      • Credit for closed threads
      • Node
      • User groups
        • User is a member of any of the selected user groups
        • User is NOT a member of any of the selected user groups
    • List all users credit
      • Add credit
      • Remove credit
      • Reason
    • Batch update reset user credit
    • Color property :
      • Add credit color :
        • Start
        • End
        • Color
        • Enable
    • Rebuild credit :
      • Threads
      • Posts
      • Reply
      • Reactions
    • User criteria :
      • Credit count between
      • The user has at least X credit
      • The user has no more than X credit
    • Sort by most credit
    • Member statistics : Most credit
  • Permissions :
    • User : View own credits log
    • User : View other's credits log
    • Forum : Minimum credit to view threads
    • Forum : Minimum credit to view thread content
    • Forum : Minimum credit to post new thread
    • Forum : Minimum credit to post replies
Branding :
  • This add-on does not include branding.
Installation :
  • Download and unzip it.
  • Copy the src/addons/XenSoluce/CreditSystem directory to your server.
  • From the AdminCP install the add-on.
Note :

过滤器

热门资源

后退
顶部