API - delete threads with hard_delete not working

Hi,

I am trying to use DELETE threads/{id}/ with hard_delete: true in the body payload, but the given thread never gets permanently deleted.

I am running this api test as admin with all permissions for the api key.

Payload:

JavaScript:

Код:
{
  hard_delete: true,
  reason: 'Test',
  starter_alert: false,
  starter_alert_reason: '',
}

I don't get any errors and the thread is always soft deleted. I should mention I am currently running xf version 2.2.12. I do need to upgrade though, so...

Read more

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

Looking for experienced Xenforo coder

I am looking for a stable collaborator for a long and fruitful collaboration. The programmer in question must be able to take over work in progress and correct bugs left uncovered by programmers in the past who were not serious towards me, despite having always been paid well, and must also know how to build add-ons from scratch. He must also be good with APIs since I need to integrate my add-ons with an app.
I await your applications privately.

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

Add a new discussion type: link discussion

Hello;

It would be interesting to add a new type of discussion: “links”

Exactly like Reddit, a user can link to an article that will be inserted into the body of the post automatically, with a preview and an “open” button, automatically generating the discussion title.

Thus users will be able to discuss the latest news and news of any topic covered by the forums more quickly.

Giving forum creators the ability to create special sections or prefixes or build addons on top of these...

Read more

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

Request entity too large

Dear Community,

For a few weeks now, some of my users (only a handful and by no means all of them) have been reporting the following problem when uploading photos.

I've checked the server, PHP, etc. limits. 50MB is possible, but as you can see from the screenshot, it stops at around 5MB.

The problem is new. In the meantime, I have actually only changed two things:

1. installed the latest XenForo update
2. set the PHP version to the latest

My provider said he sees no problem with the...

Read more

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

What Should I Know When Buying a Diamond Ring for the First Time?

I'm planning to buy a Diamond ring, but it's my first time, and I'm feeling a bit overwhelmed by the choices out there. There are so many factors like the 4 Cs (cut, color, clarity, carat), different shapes, and certifications (like GIA or IGI). Can someone break down what's most important when choosing a diamond ring, especially if I'm on a budget? For example, is it better to prioritize carat size over clarity or color? I’ve also heard that certain diamond shapes can give...

Read more

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

Exponential incease in "StopForumSpam" registrations

Within the past few months I have noticed a marked increase in registrations caught by "StopForumSpam" and was wondering if any eose has experiences this? I have my registrations set up such that even after validating email I still have to approve the account. Lately I have been getting a ton of (I'm guessing) bot registrations. Usually it is either the IP address or email or often both that get tagged by StopForumSpam.

Has anyone else noticed a big increase in these kinds of bot...

Read more

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

How can I reduce this template-style expression

I have this code:
Code:

in_array($xf.uri, ['/pick-the-winner/', '/pick-the-winner/picks/', '/pick-the-winner/history/', '/pick-the-winner/history/events/', '/pick-the-winner/picks/member/'])

I want to simplify the code to display the widget with any url with /pick-the-winner/ in it. How would I go about this?


Thanks,
Itworx4me

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

Плагин xF2 [XenCustomize] Limit Resource Downloads

xenforo2 обновил ресурс [XenCustomize] Limit Resource Downloads новой записью:

2.3.1

Ограничение загрузки ресурсов версии 3.1 (для XF 2.3) и версии 2.2.6 (для XF 2.2) теперь доступны!

Это обновление устраняет проблему, из-за которой попытка загрузки несуществующего ресурса приводила к непредвиденной ошибке.

Чтобы упростить управление версиями, мы обновили номера версий следующим образом:
  • Серия 1.1.x теперь переименована в 2.2.x (последняя версия 2.2.6) и продолжит поддерживать XenForo 2.2.x.
  • Серия 1.2.x теперь переименована в 2.3.x (последняя версия...

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

Стиль xF2 [DohTheme] Fury Light + Dark

НетМеня обновил ресурс [DohTheme] Fury Light + Dark новой записью:

2.3.3

  • Обновлено до XenForo 2.3.3
  • Описание узла накладывается на ошибку кнопки сворачивания, которая исправлена.

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

Question regarding the process of converting attachments from JPG to WEBP

I'm doing this for a few reasons. Faster page loading, less usage or resources, and smaller backups... It appears to system creates a new file for each image in reduced size. Is that the case? If so, the original images are still on the server, correct? If so, that'll mean larger backups... Or does the system delete the original image?

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

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

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

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


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

How to edit the 'contact us' phrase to include link to user's profile, admincp etc?

I can't seem to figure out how to edit the contact_email_body_html phrase, to include a link to the user's admincp profile.

<p>The following message has been sent from {user} (IP: {ip}) via the contact form at {board}.</p>

Our contact email is imported into Zendesk, and it makes it so much easier for our agents if they can get a link to the user's profile in the admincp (vs copying the username and pasting it into the acp search). We were able to do this in XF 1.5 but I cannot seem to...

Read more

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

Robust Auction Add On

Haven't seen this for a bit and would like to hear from a reputable programmer. We do have a decent budget to develop this plug in. Please contact me if you believe you can help! But, please!! if you are the nickel dime at every turn developer scroll by this post please. We need professional and complete.

Thanks for reading!

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

Reducing Queries to one?

Can someone please tell me what and how I can do this to minimize the queries:

I am building a class that outputs a page. I fetch the titles of ten threads and then the individual posts from those threads.

These ten threads and posts are almost never changed.
My query looks something like this:
a) 1 query: Fetch threads with thread_id in [1...10]
b) 10 queries: Fetch posts from the individual threads
(Yes, could do this in one go, but I need an example to save a lot of queries)

So...

Read more

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

Set an image as avatar

If you use the "set this image as avatar" function the process is confusing.
You therefore click on the link "Define this image as avatar" and this window is displayed:

Capture d'écran 2024-09-27 092059.webp

You click "Save" and your avatar is modified accordingly.
Despite everything, this second window is displayed:

Capture d'écran 2024-09-27 092115.webp

You can click anywhere other than this overlay window to make it disappear, your avatar remains defined on the chosen image.

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

Фильтровать

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