Saturday, August 8, 2020

i cant create a question in my site i get an error

[​IMG]

Continue reading...

source https://xfmaster.com/threads/i-cant-create-a-question-in-my-site-i-get-an-error.15530/

After user promotion some user titles are wrong

I have set up a user title ladder and most of my users have the correct title, based on their post count. However, after some usergroup promotions ran a handful of users just had the plain title "Member" applied when it should have been something more elaborate. I have no idea where this came from and it is not something I applied to them manually.

Is there a cache rebuild job which will rebuild user titles please? Or a cron job I can run manually?...

After user promotion some user titles are wrong

source https://xfmaster.com/threads/after-user-promotion-some-user-titles-are-wrong.15529/

XenForo 2.2.0 Beta 2 Full

Today, we continue the beta stage of XenForo 2.2 with Beta 2. This release fixes a number of bugs found since the previous release, and adds a number of new features and improvements, including :
  • Thread type tools
  • GIPHY integration, image proxy bypass and audio uploads
  • PWA setup helper and Web share API
  • Article thread and forum updates and improvements
We strongly recommend anyone testing 2.2 during this beta period upgrade as each beta version is released.

More...

XenForo 2.2.0 Beta 2 Full

source https://xfmaster.com/threads/xenforo-2-2-0-beta-2-full.15528/

How can I hide the location?

How can I hide all location info on xenforo? Does anyone have a list of templates to edit?
(I don´t want to use an addon...)

Continue reading...

source https://xfmaster.com/threads/how-can-i-hide-the-location.15527/

Number box +/- buttons lack an accessible name/label

... and Lighthouse is unhappy about it.

Adding the aria-label property to each of the two +/- buttons would address this accessibility issue

Continue reading...

source https://xfmaster.com/threads/number-box-buttons-lack-an-accessible-name-label.15526/

w3c validator found 31 error(s)

All of them are identical:

The itemprop attribute was specified, but the element is not a property of any item.
Code: tra-user"><a href="/members/hooksman.15993/" class="username " dir="auto" itemprop="name" data-user-id="15993" data-xf-init="member-tooltip">hooksm

The itemprop attribute was specified, but the element is not a property of any item.
Code: tra-user"><a href="/members/portlandrain.14528/" class="username " dir="auto" itemprop="name" data-user-id="14528"......

w3c validator found 31 error(s)

source https://xfmaster.com/threads/w3c-validator-found-31-error-s.15525/

A better way to use the finder within a blob?

So I have a column in my table, that is a blob of usergroup ids... ex: ["2","3","5","9"]

I would like to search this table, for results in which the user's group's match this column.

Currently I am doing it was follows:

PHP:

$visitor = \XF::visitor();

$whereOr = [
[' Category.category_groups', 'LIKE', '%"'.$visitor->user_group_id.'"%'],
];

foreach ($visitor->secondary_group_ids AS $group)
{
$whereOr[] =......

A better way to use the finder within a blob?

source https://xfmaster.com/threads/a-better-way-to-use-the-finder-within-a-blob.15524/