Node specific reaction types (Admin can select a particular reaction type to display only in a particular node)
Inline mode tools get an option to covert reaction type when moving a thread from a node to another node that has a different allowed reaction type.
For an instance:
Node A has WOW...
I disabled every add-on using xf:addon-disable cli option in order to run xf:upgrade.
ErrorException: Template error: Template public:setup_fa_variables.less is unknown src/XF/Template/Templater.php:610
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template...
I'm importing from vBulletin 3.8.
I have a custom bb code for YouTube videos in it.
I need to convert this to regular media YouTube bb code in XF 2 after importing.
I can run a regex search and replace on my posts table and replace it to a normal youtube url but still I don't see...
I've got two users with usernames like 'محمد العلاف' (looks like Arabic characters) and also have plenty of other users with other language characters, in my db:
This is where the script stopped at the beginning:
user with user ID 161751 has its username this 'محمد...
Using protocol-independent absolute path:
If the browser is viewing a page in SSL through HTTPS, then it'll request that asset with the https protocol, otherwise, it'll request it with HTTP.
This prevents that awful "This Page Contains Both Secure and...
I have this HTML type widget in the search_results template which has access to the $search object of the search_results template.
(template passes $search to the widget via a context variable context-search, I'm using template modification to add the widget position to the search_results...
If you are familiar with the widget system in XenForo, as you may be aware, this special kind 'HTML' type widget, allows you to add raw HTML code to your site.
I can create other type widgets when installing the addon, in setup.php
but How do you create this HTML type widget using installSteps...
Does anybody use PHPUnit with XenForo 2.x?
How do you setup the working environment with PHPUnit?
I can see some vendor packages have already used it (PHPUnit\Framework\TestCase) but can we use it when we're developing add-ons?
I'm trying to import vB 3.8.9 to XF 2.0.2. I used CLI importer and Browser both, but no luck.
`user` table has 555,467 rows, table type is MyISAM, collation is latin1_swedish_ci (145.9 MiB)
InvalidArgumentException: Received invalid UTF-8 for string column [signature]...
What I'm trying to do is:
I wanna add some metadata to a file and modify it as soon as it uploads as an attachment. (before hash calculations etc)
So I thought overriding beforeNewAttachment method in AbstractHandler would do the trick.
In admin area we have "Resources > Resource fields".
Is it possible modifying the "resource search" to detect values in Resource fields?? or Sort by Resource fields?
For an instance, let's say we have a resource category and it has a resource field named "Condition". So we can put values like...
I see tags used sitewide in xenforo to categorize content. But search results can not be filtered using tags
In the main search, you can search a specific keyword filtered with specific forum category, thread prefix, date, member etc.. But no Tags.
Tags are more effective way to categorize...
What if I have to build the site (Installing add-ons and themes etc) after completing the import process?
I've read somewhere it's a good idea to import the forum to a fresh install.
What if I don't want to publish the live site until I finish with the importing, configuring settings, add-ons...
I've been performing an import from vB 3.8. Everything was going smoothly until I click the "Import Attachments" button, and I got this error:
I skipped importing "content tags" step because I don't want tags from previous vBulletin site. Was that the problem? I don't think so.
I'm writing an add-on to add-on
I need to modify one of his column and append new ENUM value to the list.
I know I can just modify the column with this code
public static function install()
$db = XenForo_Application::getDb();
$db->query("ALTER TABLE his_table MODIFY COLUMN his_column...
Does anyone use version control system with XenForo addons?
In case you guys are using git how do you setup repositories with xf addons?
In my case I think I should use git submodules on each plugin, but currently I'm facing a problem