• Статья
Censor words

We are discussing, on my initiative, not using the censor function anymore. There's reasons. For here, I have a simple question:

Is there a way to turn the rules off other than deleting the rules? I can't seem to find one. It would be nice to be able to turn it off but leave the rules there in case we reverse the decision someday.

Читать далее...

  • Статья
Protecting admin.php, the /install directory, and test & development installations using .htaccess

Brogan submitted a new resource:

Protecting admin.php, the /install directory, and test & development installations using .htaccess (version 1.0) - Stop those annoying skiddies.

If you want to provide an extra layer of protection to admin.php, the /install directory, and test & development installations, you can do so with .htaccess authentication.
Click to expand...

Read more about this resource ...

Читать далее...

  • Статья
Block IP [Paid]

AndyB submitted a new resource:

Block IP - Blocks VPN, Proxy, Tor and Relay users from log in and register pages.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

XF2 Addons

Description:

Blocks VPN, Proxy, Tor...
Click to expand...

Read more

Читать далее...

  • Статья
Приветствуем нового пользователя, DrChlen

@DrChlen, Добро пожаловать на наш форум! Территория возможностей 💥 😉

Зарегистрированный пользователь не может скачивать ресурсы ознакомившись с условиями на странице с повышениями групп или в личном профиле!


Описания платных групп:

  • Статья
Приветствуем нового пользователя, Redik

@Redik, Добро пожаловать на наш форум! Территория возможностей 💥 😉

Зарегистрированный пользователь не может скачивать ресурсы ознакомившись с условиями на странице с повышениями групп или в личном профиле!


Описания платных групп:

  • Статья
Upgrade from last 2.2x to 2.3.4

Hi,

I previously disabled all add-ons for an upgrade and now receive the following error during the upgrade:

1731849617400.webp

I can't get into the admin area at the moment either. I have already added $config['enableListeners'] = false; to config.php, but that didn't help either.

What exactly does the error mean?

Читать далее...

  • Статья
Is there any way to make a duplicate thread?

Hi. Is there any way to copy a XenForo thread with all the likes, reactions and responses to a new URL, without redirecting the original thread to a new one? I basically need to make a complete copy of the thread /threads/test-1.1/ under a new URL /threads/test-2.2/ without redirecting one to another. I need two identical threads under different URLs. Is there an add-on for this?

Читать далее...

  • Статья
IndexNow error: [403] Site Verification is not completed.

Since my forum runs in XF 2.3, there is a caching problem.


There are many pages with these errors:





ErrorException: IndexNow error: [403] Site Verification is not completed. Please wait for some time for the verification to complete and try again.
src/XF/Error.php:82
Gegenereerd door: Onbekend account
17 nov 2024 om 10:36

Stack trace​


#0 src/XF.php(266): XF\Error->logError('IndexNow error:...', false)
#1 src/XF/IndexNow/Api.php(86)...

Read more

Читать далее...

  • Статья
MySQL search with multiple consecutive asterisks causes error

Hi there can someone explain what does mean this :
  • XF\Db\InvalidQueryException: MySQL query error [1064]: syntax error, unexpected '+', expecting FTS_TERM or FTS_NUMB or '*'
  • src/XF/Db/AbstractStatement.php:230
  • ed '+', expecting FTS_TERM or FTS_NUMB or '*'
  • src/XF/Db/AbstractStatement.php:230
  • Generated by: xxxx
  • Feb 24, 2024 at 08:54

Stack trace​

SELECT search_index.content_type, search_index.content_id
FROM xf_search_index AS...

Read more

Читать далее...

  • Статья
Can't use modern MySQL / MariaDB collations

XenForo currently uses hardcoded collation utf8mb4_general_ci which treats usernames like Günther and Gunther as identical (which might not be desired).

This collation is kinda old and lacking proper support for many unicode characters.

MariaDB added support for more modern UCA 14 collations like utf8mb4_uca1400_as_ci quite some time ago and made utf8mb4_uca1400_ai_ci default in 11.6:

[MDEV-27009] Add UCA-14.0.0 collations - Jira

jira.mariadb.org
jira.mariadb.org
...

Read more

Читать далее...

  • Статья
Resolved report alert not sent if report assigned and unassigned

When determining users to send a report update alert to in XF\Service\Report\ClosureNotifierService it runs this query:

SQL:

Код:
$lastOpenDate = $db->fetchOne("
    SELECT comment_date
    FROM xf_report_comment
    WHERE report_id = ?
        AND state_change = 'open'
    ORDER BY comment_date DESC
    LIMIT 1
", $reportId);

It then finds any comments where comment_date is greater than or equal to the date queried here, and is_report is 1. This should send the alert...

Read more

Читать далее...

  • Статья
screen automatically goes to top of page

Getting multiple reports of the following...

When I reply to a message the screen automatically scrolls to the top of the page and I have to scroll back down to the bottom to start typing anything
Click to expand...
when hitting “reply” or attaching and image in a thread it takes me to the top of the post and have to scroll down to hit post.
Click to expand...

Happening on:
  • Windows 11/Chrome
  • iPad/Chrome
  • iPhone 11/Safari
  • iPhone 13/Safari
  • Pixel 9/Edge

Happening on default style with all...

Read more

Читать далее...

  • Статья
Post preview loses registered event listeners for rendered bb-code preview

While technically xf-init is executed, any event listeners are lost probably resulting in the results of xf-init being GC'ed. The problem is the use of innerHTML to copy data into the DOM, as this creates new nodes and doesn't move/copy the existing nodes.

This is noticeable for custom bb-code which has xf-init handlers, and xf-init is executed on content which is then dropped.

Code:

Код:
function toPreview (previewHtml)
{
    const previewBox = getPreviewBox()...

Read more

Читать далее...

  • Статья
Guests can't attach files

I never got an answer to this, as to whether it was a bug or by design.
XF 2.3 - Guests can't post attachments?

However, I would be intrigued as to the reasoning behind this if it's "as designed" and not a bug since Xenforo makes use of guests being able to upload files in their contact form.

1726282192552.webp

I understand these are two completely different systems; though, some forum admins run "ticket" systems on their forums too.

Can you really...

Read more

Читать далее...

  • Статья
unassociatedAttachmentLimit calculated incorrectly

Very minor issue but the unassociatedAttachmentLimit config value actually accepts 1 less than the limit. Easier to test if you set $config['unassociatedAttachmentLimit'] = 2;, you get the error after uploading 1 attachment instead of 2.

src/XF/Attachment/Manipulator.php:140:

$allowed = ($uploaded < $unassociatedLimit);

just needs to be:

$allowed = ($uploaded <= $unassociatedLimit);

Then it accepts 2 and rejects a 3rd.

Strangely the check above works...


Read more

Читать далее...

  • Статья
HTML not displaying properly

I'm on the cloud which was just updated this week and suddenly our Wordle and Connections game results are not displaying properly.

Wordle 987 5/6

⬛⬛🟨⬛⬛
⬛⬛⬛⬛🟨
⬛🟨⬛⬛🟨
🟨🟨⬛🟨⬛
🟩🟩🟩🟩🟩

When this code is entered the message is cut off at the third row of squares. Any ideas on how to fix it, uers are getting frutrated.

Читать далее...

  • Статья
Rebuild search index not working after upgrading to XF2.3.4

Hi,
just like XF2.3.0, I'm again facing Rebuild search index failure on XF 2.3.4 because of high memory use.

here is the log:

Server error log
  • XFES\Elasticsearch\BulkRequestException: Elasticsearch indexing error: Elasticsearch bulk action error (first error: [conversation-1] index [technofi_su.....] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];)
  • src/addons/XFES/Elasticsearch/Api.php:487
  • Generated by...

Read more

Читать далее...

Фильтровать

Назад
Верх Низ