I added Profile.location to userSearcherOrders and it works fine unless I set it to show the value, in which case I get the following.
TypeError: Argument 2 passed to XF\Service\MemberStat\Preparer::prepareCacheResults() must be of the type array, object given, called in...
Possibly too late to move now as someone might be using them, although I would be surprised as I can't think of any reason why anyone would want to use them in their current position.
Wouldn't it make more sense to put them outside of the <xf:if contentcheck="true"> and </xf:if> tags?
In XF\Payment\AbstractProvider, there is a method with the following signature:
public function supportsRecurring(PaymentProfile $paymentProfile, $unit, $amount, &$result = self::ERR_NO_RECURRING)
However, it only ever seems to be called by a method in XF\Entity\PaymentProfile with the...
If I edit a template mod that includes a space at the of the Find/Replace pattern, in the editor the space is removed, which then removes the space on save.
If there is no way around this, then it should probably just remove spaces on save, so that at least the developer knows that he needs to...
If a setup file tries to create a new boolean column and that column already exists, it produces the following error:
where xxxxx is the column name.
This happens even if the column is already set to size 3 or 4, but the code is checking whether it is size 1, so it fails.
The code is on line...
I'm sure someone will have raised this before, but I've just searched and can't find it, so just looking for confirmation that this "as designed".
If I set the following option in the New Threads widget:
Then it looks like this if you place it in the sidebar:
I edited a template mod that I'd made that was originally for forum_post_thread and changed it to be for helper_thread_options, which is called by forum_post_thread.
When I saved, the template for forum_post_thread didn't update and I started getting errors from the old template mod.
I appreciate that this is a bit of an edge case, but if there is no like_item... template for a like in XF2.0 and this add-on is not converted to use reactions on XF2.1, this causes a template error when viewing the "Reactions received" page:
In XF 2.0, this would have just ignored that the...
If you add a new sort order using the user_searcher_orders code event and a user creates a widget using that sort order, disabling the add-on will break any page where that widget is enabled:
Unknown column xxxxxxxxxxxxxxxx on XF:User in /var/www/public/xf21/src/XF/Mvc/Entity/Finder.php:1476...
Currently the latest threads widget fetches 4x the number of threads it needs and then applies permissions to it afterwards.
On sites where there is a lot of activity that is not visible to guests, this can still result in only a handful of threads appearing or the widget disappearing...
If I do a template edit to remove the quick thread from forum view and then filter by a thread prefix that has no results, I get this:
With the quick thread not removed it looks more like this:
This is because structured_list.less is only included if you have either quick thread included or...
It would be great if there was a way to include template code from the next minor release in an older release using something like:
<xf:newtag>This only works in XenForo 2.2 and above so is not parsed in older XenForo versions</xf:newtag>
As a real...
This has probably been addressed somewhere but I can't find it anywhere.
If I do something simple like add an icon to my option group, I can no longer install my add-on on XF 2.0.
The console gives this error:
Column 'icon' is unknown
I am adding a new widget position in our add-on to add widgets to the actual sidebar for the find threads pages, so it is a bit confusing that the current widget position for the sidenav is called sidebar.
Perhaps something that could be changed in 2.1?