Плагин xF2 [Xen-Soluce] Avatar Gallery

НетМеня обновил ресурс [Xen-Soluce] Avatar Gallery новой записью:

2.2.0 Fix 1

Изменено :
  • Неправильный JS-файл

Примечание :
  • Эта версия дополнения совместима только с XenForo версии 2.3.0+.

Посмотреть подробности об этом обновлении...

Плагин xF2 D.C Style - Thumbnail

xenforo2 обновил ресурс D.C Style - Thumbnail новой записью:

1.0.5 Patch Level 5

  • Исправлена ошибка "синтаксическая ошибка, неожиданный '->' (T_OBJECT_OPERATOR)"

Посмотреть подробности об этом обновлении...

  • Статья
Monolog Logging Service

Sim submitted a new resource:

Monolog for XenForo 2 - Provides Monolog logging facilities for XenForo 2

This XenForo 2.0 addon adds logging functionality using the Monolog library from GitHub - Seldaek/monolog: Sends your logs to files, sockets, inboxes, databases and various web services

Usage Instructions

By default, this addon will log events to a file called internal_data/monolog.log - in later versions this will be configurable.

To use the default logging facility, do the following in your addon code...
Click to expand...

Read more

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

  • Статья
Rebuilding embed metadata for attachments does mork work than necessary

https://xenforo.com/community/threa...-horrible-performance-characteristics.153298/

This workaround was implemented in 2.1.4 but now removed for 2.3.0.

While full table scans might be unavoidable for content embeds, quotes and images the workaround could still be used if only attachments are rebuild.

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

  • Статья
Form not cleared after posting report

After posting report successfully if you click the report button again you will see the message report still there and not cleared.

Some quick solutions i was tested it:

First solution:
I change data-skip-overlay-redirect in report_create template to false to refresh the page and clear form.

Second solution:

I create new js file with this code and i inject it to helper_js_global template:

JavaScript:

Код:
((window, document) => {
    "use strict";

    XF.on(document...

Read more

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

  • Статья
Database architecture question (relations?)

So I built an add-on (slightly modified Notes add-on from Building with XF 2 videos).

Spoiler: Entity
PHP:

Код:
<?php

namespace AV\Notes\Entity;

use XF\Mvc\Entity\Entity;
use XF\MVC\Entity\Structure;

class Note extends Entity
{

    public static function getStructure(Structure $structure): Structure
    {
        $structure->table = 'av_notes_note';
        $structure->shortName = 'AV\Notes:Note';
        $structure->contentType = 'av_notes_note';
        $structure->primaryKey = 'note_id'...

Read more

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

  • Статья
Log Digest

Sim submitted a new resource:

LogDigest for XenForo 2 - Sends XenForo logs to administrators via email

This XenForo 2.0 addon sends a summary of XenForo logs to administrators via email.

Currently only server error logs are implemented.

This runs using a XenForo cron task and can be configured to check for new log entries on a fixed interval (minimum 5 minutes). So you could have it send a daily or weekly digest if you aren't interested in receiving emails more...
Click to expand...

Read more

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

  • Статья
#1 post = article, can't use inline edit

I'm aware that finding a solution off the cuff is unlikely, but perhaps someone has an idea of the direction I should look. I updated a customer forum to 2.3.2. Now there’s the following strange behavior:

I go to Post #2, click on Edit, and everything is normal.I go to Post #1, an Article, click on Edit, and absolutely nothing happens.If I open Edit in a new window, it works.

I suspect that something might be wrong with the JS. But what could it be?

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

Фильтровать

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