• Статья
Facebook embed triggers "invalid DOM node" in console, wrong width in embed

see this test message https://xenforo.com/community/threads/testing-an-embed.225340/.

The width is incorrect:
Screenshot-20240915102443-529x769.webp

Traceback in the console:

Error: Invalid DOM node passed to FB.XFBML.parse()
Screenshot-20240915102322-944x431.webp

For what its worth the width was correct the first load, after accepting cookies. Subsequent loads, it fails. Also noticed by a member of my community.

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

  • Статья
Conversation search plus [Paid]

AndyB submitted a new resource:

Conversation search plus - Allows searching all conversations.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.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

Note: all my XF1 add-ons are still 100% free and are supported by...
Click to expand...

Read more

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

  • Статья
Delete Posts From Spam-Cleaner Automatically

Hello,

I administrate a forum which has quite a spam problem. And spam posts are being cleaned by this handy "Spam" button next to the post. In which case, the spam post in question is soft-deleted. So one could see what the content actually was in case it was by mistake.

However, I feel like after X days, this trash could be gone from the database completely.

My question is, did I just overlook a setting for a cron job (like: "Hard-delete soft-deleted content after X days"), or shall I...

Read more

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

  • Статья
Securing Dovecot Email Server

I'm running a LAMP VPS with AlmaLinux 8 and Apache, and I've installed a mail server using Postfix and Dovecot. Everything works fine for sending and receiving emails. However, I noticed that an intruder can establish a connection to Dovecot (e.g., using openssl s_client -connect mail.domain.com:993) and then brute force the username and password with unlimited attempts within the same live session.

Is there a configuration in Dovecot to terminate the current live session after 3 failed...

Read more

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

  • Статья
Add New threads to What's new (Widget/Page node)

frm submitted a new resource:

Add New threads to What's new (Widget/Page node) - Add a display of X New threads to the What's new navigation

1. Create the widget​

Widget definition: New threads
Widget key: whatsNewNewThreads
Title: New threads
Display in positions: (NONE)
Maximum entries: 20(+/-, your choice; I chose 20).
Display style: Standard

2. Create the Page node​

URL portion...
Click to expand...

Read more

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

  • Статья
Adding New threads to What's new

I wanted "New threads" in "What's new", so I created a Page node to contain the widget.

I put this in the Page node:
HTML:

Код:
<xf:set var="$pageSelected">new_threads</xf:set>

<xf:wrap template="whats_new_wrapper">
    <xf:set var="$pageSelected" value="overview" />
</xf:wrap>

<xf:widget key="whatsNewNewThreads" />

But, I can't get it to select the New threads tab in whats_new_wrapper like all other options.

1726368099242.webp

I edited the template whats_new_wrapper and entered this...

Read more

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

  • Статья
Thread view history [Paid]

AndyB submitted a new resource:

Thread view history - Shows admin members who have viewed thread.

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:

Shows admin members who have viewed...
Click to expand...

Read more

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

  • Статья
[OzzModz] Thread First Post Attachment Count

Ozzy47 submitted a new resource:

[OzzModz] Thread First Post Attachment Count - Displays information about the number attachments in thread first post

Requirements:
XF 2.2+

Description:

Displays information about the number attachments in thread first post and adds forum / batch thread update filters for thread first post.

If you need to display the total number of attachments in the thread use this add-on

View attachment 274700


View attachment 274701
Click to expand...
...

Read more

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

  • Статья
BBcode block styling

I use this code in my extra.less template:
Less:

Код:
.bbCodeBlock {
    border-left: 1px solid @xf-borderColorFaint;
    border-radius: @xf-borderRadiusSmall;
}

.bbCodeBlock-title {
    background: @xf-contentAltBg;
    color: @xf-textColor;
    border-bottom: 1px solid @xf-borderColorFaint;
    padding: 10px;
}

.bbCodeBlock-content {
    padding: 10px;
    background: @xf-inputBgColor;
}

Works fine but...
When you quote a message, the original version is displayed in the text editor...

Read more

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

  • Статья
Page Not Scrolling

I’ve started seeing this since upgrading to 2.3.3.

Loading a page, it just doesn’t allow you to scroll. Have had this on mobile and desktop, on multiple sites now (my own, and customer sites).

Refresh the page, and it then works.

Nothing in common in terms of web stack.

Seems to be threads / direct messages with attachments (which are webp)

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

  • Статья
Connection could not be established with host "ssl://smtp.gmail.com:465

I did not have this problem on XF 2.2, as soon as I updated to 2.3, this problem started endlessly

Server error log
  • Symfony\Component\Mailer\Exception\TransportException: Email to x@gmail.com from y@xxxxxx.com failed: Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client(): Unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable)
  • src/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154
  • Generated by...

Read more

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

  • Статья
RF Tagger (Where to paste code?)

In 1.5 I could just throw this code in the footer or forum_list templates. It doesn't seem to function correctly on 2.0 though.

Does anyone know where to place this code and have it work with 2.0?

This is what it is: https://labs.bible.org/NETBibleTagger/

Code:

Код:
<script type="text/javascript" src="https://labs.bible.org/api/NETBibleTagger/v2/netbibletagger.js">
var fontFace = 'Verdana';
var fontSize = 13;
var headerFontColor = '444444';
var contentFontColor = '000000';
var topColor =...

Read more

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

  • Статья
change usergroup self service

Hi everyone, I have resumed the development of my project currently on local and closed domain. I tried to create a way to make a normal registered user (normal user) if he goes to settings-->preferences-->do you want to be a blogger? -->YES --> the user doesn't change user group, can anyone explain to me why?

what I did:

1 I created a custom field

DO YOU WANT to be a blogger: single choice: YES - NO required upon registration YES.

2 I created the blogger user group

3 I created a...

Read more

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

  • Статья
XenForo cms - homepage

Hi, I've been using Xenforo since its release with my various official and non-official projects.

I find it really difficult to understand how a complete and highly supported structure like xenforo still doesn't offer a homepage system that manages articles / blogs by default. Users like Paul B where I chose the addon at the beginning of the month, and other devs like [XenCustomize] News Publisher: Home Page, Portal & CMS who they created...

Read more

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

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

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

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


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

  • Статья
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

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

  • Статья
Media Wall Widget for XF Media Gallery

Nicolas FR submitted a new resource:

Media Wall Widget for XF Media Gallery - Adds a new widget to the XF Media Gallery allowing the display of a media wall.

Adds a new widget to the XF Media Gallery allowing the display of a media wall.

Requires the official add-on XFMG 2.2

Responsive widget recommended for wide spaces.

View attachment 282060


Shout out to @Russ :cool:
Click to expand...

Read more about this resource...

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

Фильтровать

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