Pickem is a Fantasy Sports prediction game. Whether against the spread or straight up, you are tasked with picking the outcome of every game in a given week for an entire season.
Survivor is a popular variant of Pickem where you only select a single team for the week and if you get it correct...
Xenforo 2 fix error automatically submit sitemap to Bing.
Setup -> Options -> XML sitemap generation -> Automatically submit sitemap to search engines:
Replace the old bing.com code with the following new code:
https://bing.com/webmaster/ping.aspx?sitemap={$url}
This is the best way to remove all Footer Copyright Xenforo 2, no addon needed.
Open Admin -> Appearance -> Template -> Find template: PAGE_CONTAINER
Select the Style you are using
Find and delete this code in PAGE_CONTAINER
<xf:if contentcheck="true">
<div...
You can increase the security of Admin Xenforo by creating an extra password to access the admin.php file, using .htaccess and .htpasswd
Step One: Edit .htaccess
Add the following lines to the .htaccess file, at the root directory (containing the admin.php file).
<Files admin.php>
AuthType...
The following (language).json snippets are included:
css
html
javascript
php
To install:
Extract the zip file to your local computer containing the above (language).json files.
In VS Code, go to File > Preferences > User Snippets
Select the Existing or New Snippet (language) to edit
Copy the...
First way:
1. Go to Admin Panel
2. Appearance -> Templates -> extra.less
3. Put there this code
.p-footer-copyright {
display: none;
}
4. Press Save
5. Done :)
Second way:
1. Go to your Appearance->Styles->YourTheme and search PAGE_CONTAINER
2. Search line 654 or find this code :
<xf:if...
Would you like to customize your prefixes?
Here's a simple DIY tutorial as an example. Of course, you can extend it for your own needs as you wish.
So, read this tutorial to achieve something like this:
1. Create your custom prefix
In admin CP go to Forums > Thread prefixes and click on...
Go to admin panel -> templates -> extra.less
and simply add this code to your extra.less :
[data-template="forum_list"]
{
.p-title-value {
display: none;
}
.p-title {
float: right;
}
}
XenVn is a All-In-One tools for Xenforo 2 with optimized code, multi-function and easy to use...
With XenVn, your forum will be Easier to Manage, better Performance, improve SEO rankings and reduce conflict errors.
XenVn is integrated with more than 50+ useful features, compatible with most...
This is an export of the Live templates I use for XenForo development in PhpStorm. You can see them in use in the Building with XenForo 2 video series.
The list of templates is far from complete, and will be updated periodically as I get around to it but in the interest in sharing useful work...
Developed by LiteSpeed Technologies - the LiteSpeed Cache Plugin for XenForo 2 (LSCXF2) is a PHP-based plugin that communicates with your installation of LiteSpeed Web Server(LSWS) and its built-in page cache, LSCache. Because LSCache is built directly into LSWS, overhead is significantly...
Sau đây là cách tạo thẻ og:image thông minh bằng cách tìm tập tin trong bài viết và tự động lựa chọn tập tin hình ảnh có kích thước lớn nhất làm thẻ og:image.
Mở template thread_view, tìm code sau:
<xf:macro template="metadata_macros" name="metadata"
arg-description="{$fpSnippet}"...
Để hiển thị danh sách lựa chọn tỉnh thành khi đăng ký thành viên diễn đàn xenforo 2, bạn làm theo cách sau:
Mở template register_macros, tìm đoạn code sau:
label="{{ phrase('location') }}"
hint="{{ phrase('required') }}" />
Thay thế bằng:
label="{{ phrase('location') }}"...