Search results

  1. Earl

    Reaction system improvement

    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...
  2. Earl

    Not a bug [After Upgrade] Template error: Method canLike is not callable on the given object (XFRM\Entity\ResourceUpdate) src/XF/Template/Templater.php:972

    ErrorException: Template error: Method canLike is not callable on the given object (XFRM\Entity\ResourceUpdate) src/XF/Template/Templater.php:972 Stack Trace #0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canLike ...', 'src/XF/Tem...', 972, Array) #1...
  3. Earl

    Template error: Template public:setup_fa_variables.less is unknown (after preview-upgrade)

    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...
  4. Earl

    XF 2.0 YouTube BBCode render problem

    I'm importing from vBulletin 3.8. I have a custom bb code for YouTube videos in it. youtubeid 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...
  5. Earl

    XF 2.0 Edit default bbcode [img]

    Simple question. how to modify the HTML code? I want to remove the https:|http: prefix.
  6. Earl

    Duplicate unable to import from vb 3.8. Unicode Bug

    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 'محم&#1583...
  7. Earl

    XF 2.0 Using protocol-independent absolute path in [IMG] tags

    Using protocol-independent absolute path: <img src="//domain.com/img/picture.png"/> 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...
  8. Earl

    XF 2.0 how to pass a $variable or $object to php file from template using xf:callback params?

    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...
  9. Earl

    XF 2.0 Separate Forum and Resource results

    In everything search, Results from forum and resources appear in a mixed way. Is there a way to separate them and display in the same everything search results page?
  10. Earl

    XF 2.0 Wow do you create html widgets in setup.php?

    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...
  11. Earl

    XF 2.0 PHPUnit

    Does anybody use PHPUnit with XenForo 2.x? How do you setup the working environment with PHPUnit? And PHPStorm? I can see some vendor packages have already used it (PHPUnit\Framework\TestCase) but can we use it when we're developing add-ons?
  12. Earl

    XF 2.0 Import error from vBulletin 3.8.9 to XF 2.0.2 InvalidArgumentException: Received invalid UTF-8 for string column [signature]

    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]...
  13. Earl

    XF 2.0 Having trouble extending \XF\FileWrapper. Can anyone spot my problem?

    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. XF\Attachment\AbstractHandler public function...
  14. Earl

    Searchable Resource fields?

    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...
  15. Earl

    Lack of interest Integrate TAGs to main search

    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...
  16. Earl

    XF 1.5 Perform the importing process before installing add-ons or after? which is the right way?

    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...
  17. Earl

    XF 1.5 Should I turn emails off when importing?

    I'm importing from vb 3.8.1 to XenForo. It's a big forum so should I disable emails first? I mean by adding $config['enableMail'] = false;
  18. Earl

    XF 1.5 Attached files importing failed

    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. And got...
  19. Earl

    how to add new value to ENUM list when installing my add-on? (ALTER TABLE ___ MODIFY COLUMN)

    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...
  20. Earl

    Setup git repos

    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 XenForo | | +--js/MyAddon/Addon.js | +--library/MyAddon |...
Top