• Статья
Ebay search link [Paid]

AndyB submitted a new resource:

Ebay search link - Creates eBay search links from keywords.

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:

Creates eBay search links from keywords.

The...
Click to expand...

Read more

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

  • Статья
Copy and paste the link, Server error

I need help.
Anywhere on the forum I place a link, post or private.
It keeps showing this server error....

Server error log
  • ErrorException: Fatal Error: Declaration of XF\Http\Stream::write($string) must be compatible with Psr\Http\Message\StreamInterface::write(string $string): int
  • src/XF/Http/Stream.php:29
  • Generated by: Unknown account
  • Aug 21, 2024 at 12:09 AM

Stack trace​

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state​

array(4) {...

Read more

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

  • Статья
Success using Make to update secondary user ids?

Has anyone had any success in using Make to set secondary user ids? We have a registration form handled by wordpress that currently requires manual action to add the registered user to new group.

My scenario currently calls the api to get the users current secondary_group_ids
1724209147461.webp

then adds the desired group
1724209283074.webp

What I cant figure out is how to actually post the value back to the xenforo api successfully. I started a thread on the Make forums but feedback has...

Read more

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

  • Статья
How to Add Custom Analytics Code to XenForo

I'm new to XenForo and I'm using a third-party analytics service instead of Google Analytics. I've looked through the forum and noticed that it's simple to add Google Analytics code, but I couldn't figure out how to add my own code without modifying template files. Is there a straightforward method to include my code without needing to edit any files? Thank you.

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

  • Статья
Options for Homepage/Portals

Hello, this is the first time I install XF.
I want to make a cool homepage where I highlight good threads and videos content.
So far I saw this Page as portal homepage
But I don't have content yet to see how it looks.

And i also saw the paid Xenporta addon. Which looked great. Should i just get that and move on or not?
Ideas?

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

  • Статья
Attempted to set 'sv_prefix_ids' while a save was pending without forceSet

Not sure what addon is causing this issue. I think it might be multi-prefix but unsure. When I try to move a resource from one category to another with just 1 prefix, I get the below error.

Code:

Код:
LogicException: Attempted to set 'sv_prefix_ids' while a save was pending without forceSet in src/XF/Mvc/Entity/Entity.php at line 610

XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 582
XF\Mvc\Entity\Entity->__set() in...

Read more

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

  • Статья
Alerts page mark read/viewed alerted inconsistent with alerts pop-up

The alerts page call flow is;
PHP:

Код:
        $alertRepo->addContentToAlerts($alerts);
        $alerts = $alerts->filterViewable();

        $skipMarkRead = $this->filter('skip_mark_read', 'bool');
        if ($page == 1 && $visitor->alerts_unviewed && !$skipMarkRead)
        {
            $alertRepo->autoMarkUserAlertsRead($alerts, $visitor);
            $alertRepo->markUserAlertsViewed($visitor);

            $this->markInaccessibleAlertsReadIfNeeded($alerts);
        }

But alerts pop-up...

Read more

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

  • Статья
ALLOW_DEADLOCK_RERUN combined with Entity#save

Several calls to AbstractAdapter#executeTransaction in the UserAlert repository pass the ALLOW_DEADLOCK_RERUN option, but that option can't be combined with entities unless forceSet is set on the affected entities. Any attempt to re-run the closure in response to a deadlock will result in a LogicException, thereby masking the underlying deadlock and making it difficult to debug. This is especially painful given how difficult it is to debug deadlocks in the first place.

There are...

Read more

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

  • Статья
Changing watch state of a thread for a specific user

A user has selected to watch all threads that they create and post in.

When I create a new post in a thread, the thread gets watched for that specific user

Code:

Код:
        $thread = \XF::em()->find('XF:Thread', $threadid);
        $user = \XF::em()->find('XF:User', $userid);
        $post = \XF::asVisitor($user, function() use ($thread, $message)
        {
            $creator = \XF::service('XF:Thread\Replier', $thread);
            $creator->setMessage($message)...

Read more

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

  • Статья
Admin navigation mystery

I built and add-on. I created admin route/navigation/controller/templates. Everything works fine on my local server.
But when I installed it on a production server - it works, but it doesn't display the related admin navigation. When I type in a browser related URL, it works. Finder grabs what it have to grab, passes it to a template and I do see the result. But still there is no related links in the admin navigation.

How is it possible? 🤷‍♂️

What I did wrong?

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

  • Статья
Moderator Checkpoint System [Paid]

Stuart Wright submitted a new resource:

Moderator Checkpoint System for XF2 - Track which posts have been checked by your moderators to save duplication of work

This addon has been working to save moderators time on AVForums.com since 2013.
Note: Taken official ownership of this addon from Chris D on 3rd April 2019.
  • Saves duplication of work by multiple moderators by showing which posts have been checked
  • Records when moderators have checked posts
  • Saves...
Click to expand...

Read more

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

  • Статья
Resize attachments all [Paid]

AndyB submitted a new resource:

Resize attachments all - Resize all attached images in posts which are over maximum width and height allowed.

Description:

Resize all attached images in posts which are over maximum width and height allowed.

This add-on will run through all posts and resize any attached images which exceed the allowed maximum setting in the options page.

(Example of Resize attachments all page)

View attachment 207022

(Example of Options page)...
Click to expand...

Read more

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

  • Статья
<xf:if is="$thread.cover_image"> / <xf:elseif is="$forum.node_id == 1" />

Code:

Код:
<xf:if is="$thread.cover_image">
    <a href="{$linkUnread}" class="articlePreview-image" style="background-image: url('{$thread.cover_image}')" aria-hidden="true" tabindex="-1">&nbsp;</a>
<xf:elseif is="$forum.node_id == 1" />
.........


I want to add photos to each topic according to its id.
However, there should not be a photo by default. Only photos provided for ID should be included.


Can you please help me how to do this?

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

  • Статья
Watched Threads Admin Bulk Delete

I did search for this in the forums here, but was unable to find a viable solution.
Is there a way in the admin area (2.3 (CLOUD HOSTED VERSION)) to bulk update the users to remove some of the watched threads emails that go out?
Also, is there a way to have the 'Watch This Thread' NOT be automatically checked on a new post or thread?
I am getting absolutely killed by the amount of emails that go out for watched threads.
(a simple way for a non-programmer).

Thanks in advance :)

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

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

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

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


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

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

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

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


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

Фильтровать

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