• Статья
XFRM\Service\ResourceItem\Icon::setImageFromExisting does not fail as expected if the icon is missing

PHP:

Код:
public function setImageFromExisting(): bool
{
    $path = $this->resource->getAbstractedIconPath();
    if (!$this->app->fs()->has($path))
    {
        new \InvalidArgumentException(
            "Resource does not have an icon ({$path})"
        );
    }
There is no throw on that new \InvalidArgumentException line

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

  • Статья
There are scheduled jobs outstanding which have not run. Jobs may not be getting triggered when expected.

Upgraded yesterday. There is this warning in ACP. In tools->cron entries can see that most of entries have yesterday as next run date. Tried to run manually. Only few updated. But everyone had a message " Cron entry was run successfully. ".

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

  • Статья
[OzzModz] Overlay Data Template Context

Ozzy47 submitted a new resource:

[OzzModz] Overlay Data Template Context - Adds template context data parameter to the overlay HTML

Requirements:
XF 2.2+


Description:

Adds template context data parameter to the overlay HTML (used for styling by our addons)

View attachment 281068
Click to expand...

Read more about this resource...

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

  • Статья
View reported items as an administrator?

Hey guys,
its come to my attention that moderators have a "reports" tab at the very top of the forum, where they're able to view items that have been reported by the members. However as an administrator, I don't have this option, which is a bit concerning as it means I'm potentially missing problematic content in the community.

1729318238831.webp

How do I go about enabling this?

Cheers

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

  • Статья
[OzzModz] Remove Last Post Avatars

Ozzy47 submitted a new resource:

[OzzModz] Remove Last Post Avatars - Removes the last post avatars from the forum thread list in XenForo 2.1

Removes the last post avatars from the forum thread list in XenForo 2.1.

Before install:
View attachment 297906

After install:
View attachment 297907
Click to expand...

Read more about this resource...

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

  • Статья
Explore the Best Wooden Flooring Options in Bangalore.

Explore top-quality wooden flooring in Bangalore to enhance your home's interiors. From solid hardwood to engineered and laminate flooring, the city offers a variety of options that combine style, resilience, and cost-effectiveness. Find out how to select the ideal wooden flooring to complement Bangalore's climate and your design vision, while discovering leading suppliers and the latest trends to elevate your living space.

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

КАПИТАНША-2! Продолжение невероятной истории любви, благословлённой морем. 9-12 серии.

Несладкая месть - все серии. Мелодрама (2018)

Катя – обычная студентка, влюбилась впервые в жизни. Она встретила своего принца – Виктора – красивого, богатого и любящего молодого человека. О таком мужчине простая девушка, как она, могла только мечтать. Но Катя не подозревает, что Виктор появился в ее жизни не случайно. На самом деле он – одержи

  • Статья
How to update users email via API if you have only username?

Is there a method to update a user's email address via the API if I have only their username?

I see that I can POST and update to their email using their ID : /api/users/{{userid}}

But can I GET their userid from their username somehow?

What would be the method to make this work?

Thanks.

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

  • Статья
unable to run elasticsearch

Hello.

I'm trying to get Elasticsearch v.8 to work but I'm getting the error:
[root@hst /usr/share/elasticsearch]$ bin/elasticsearch-cli
Exception in thread "main" java.lang.AssertionError: CliToolProvider [cli] not found, available names are [node, shard]
at org.elasticsearch.cli.CliToolProvider.load(CliToolProvider.java:69)
at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:60)
Click to expand...

My elasticsearch.yml:
cluster.name: node-1
node.name: node-1...
Click to expand...

Read more

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

  • Статья
Addon to manage Resource Downloads and other stuff

Hello everybody!
I am looking for an add-on to add a "Resource download history" and modify resource manager to show all "Games" and view all "Mods" on the home page of our forum so users can find mods much more easily.
Another feature to improve our users' experience would be a games filter in the options so our users can filter mods by game.
The last needed feature of the add-on would be a way to limit the download speed of resources depnding on their user-group (permissions).

I'd be...

Read more

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

  • Статья
Passkey registration failed: invalid origin

Had a user try to set up a passkey and they are getting an error, the stacktrace is as follows src/XF/Error.php:82:

Code:

Код:
#0 src/XF.php(266): XF\Error->logError('Passkey registr...', false)
#1 src/XF/Service/Passkey/ManagerService.php(204): XF::logError('Passkey registr...')
#2 src/XF/Pub/Controller/AccountController.php(955): XF\Service\Passkey\ManagerService->create(Object(XF\Http\Request), NULL)
#3 src/XF/Mvc/Dispatcher.php(362)...

Read more

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

  • Статья
[MMO] Custom Ban Information

kick submitted a new resource:

[MMO] Custom Ban Information - Customize your ban page as you want

The add-on allows you to edit the lock page as you like. Of the options to configure the template, configure and specify the contacts that will be displayed for communication. In addition to all this, you can display a standard message as desired.
View attachment 224091
View attachment 224092
Click to expand...

Read more about this resource...

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

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

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

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


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

  • Статья
Setting up caching backend (I'm looking for paid help)

Hello,
I want to have a caching backend setup so that the plugin doesn't hit the Discord API too much.
Currently, my website opens in 6-10 seconds because of the widget of the plugin I use...
I made the settings in this link. Cache support | Manual | XenForo

Can anyone offer paid assistance with a solution?

You can learn the site address and plugin name via private message.

Send me PM please, Thank you.

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

  • Статья
BBCode "2.0" refresher

I have been racking my brain around how we can allow users to input more information into a BBCode tag without an add on to create it, and it seems that the methodology would be to finally give BBCode a refresher after all these years.

For starters, some BB codes don't require a closing tag. An example of this would be sharing media gallery items with:
Code:

[GALLERY=album, 100][/GALLERY]

Instead of having a closing tag, why not treat it with an opening tag only, like some HTML tags and XF syntax?
HTML:

<img src=""...

Read more

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

  • Статья
Change Post Date by Xon

Xon submitted a new resource:

Change Post Date by Xon - Change Post Date as an inline moderator option

Adds the in-line moderator option "Change Post Date".

New Permissions
  • Change Post Date
Performance impact

The actual post date change is very fast, and only causes the thread data to be re-indexed. However, if position counters in the thread are detected to be incorrect they will be rebuilt.

This ensures the end-user isn't impacted by...
Click to expand...

Read more

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

  • Статья
Public Usergroups

I use vB's Public Usergroups quite a bit on TAZ, and would really like to see them added to XenForo.
Public custom usergroups are custom usergroups that your users can request to join because you have enabled the "Public (Joinable) Custom Usergroups" option for those usergroups.
Click to expand...

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

  • Статья
Extending NotifierService::notifyCreate is complicated

\XF\Service\Report\NotifierService::notifyCreate is currently kinda monolithic which makes it somewhat difficult to extend.

Could this be made more modular, eg. smth. like

PHP:

Код:
protected function getCreateNotificationEmailParams(User $user): array
{
    $report = $this->report;
    $comment = $this->comment;

    return [
        'receiver' => $user,
        'reporter' => $comment->User,
        'comment' => $comment,
        'report' => $report,
        'message' =>...

Read more

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

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

XenForo currently uses utf8_mb4_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 uca1400_as_ci quite some time ago and made a UCU collation default in 11.6:

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

jira.mariadb.org
jira.mariadb.org

[MDEV-19123] Change default charset from latin1 to utf8mb4 - Jira

jira.mariadb.org
jira.mariadb.org

MySQL 8 at...

Read more

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

Фильтровать

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