Search results

  1. Earl

    XF 2.1 execute xf-addon:bump-version before or after coding for next update?

    There are version string in _metadata.json files too. And they get increased too, right? ie: "confirmation_code_was_sent_to_x.txt": { "global_cache": false, "version_id": 1000010, "version_string": "1.0.0 Alpha", "hash": "1b21028722e08c00124e7738599e3e1e"...
  2. Earl

    Use machine learning to detect reaction abusers?

    Well, What choices do we have? Imagine: Visitor "A" creates an account, and start posting something valuable. Visitor "B" has a different opinion and B dislikes "A"s post (negative reaction). Visitor "A" triggers and starts disliking everything B has posted and they both end up on "Dislike war"...
  3. Earl

    XF 2.1 Remove title

    I want to remove this part from homepage. Which place should I edit?
  4. Earl

    XF 2.1 xf-addon:build-release fails with error [E_WARNING] file_get_contents(....js) failed to open stream: No such file or directory

    I get this error when I execute xf-addon:build-release Earl/ThreadChooser [E_WARNING] file_get_contents(/var/www/html/src/addons/Earl/ThreadChooser/_build/upload/js/ThreadChooser/collapseTrigger.js): failed to open stream: No such file or directory I have that file under _files/ directory...
  5. Earl

    XF 2.1 need help to convert $.fn.MyApp=function() to XF.MyApp=function()

    I have this javascript code (function( $ ) { "use strict"; var methods = { init : function( options ) { var $root = $(this).find("> ul"); var settings = $.extend({ // Settings; here you can add parameters to menu animation: 'slide', //...
  6. Earl

    Fixed By using API, You can create resource categories which has invalid parents, then they become ghost categories

    Summary: By making an API (superuser key with resource_category:write scope enabled) request, you can create resource categories which has invalid parent IDs. Then they become invisible in resource categories page in the admin panel and resource index. Steps to reproduce: Create category:write...
  7. Earl

    XF 2.1 Ajax auto complete in custom fields / Resource fields

    Is it possible to use these type of custom fields? I want to have an input text field just like in tag search (example) as a custom field. I can see it uses <xf:tokeninput /> tags in templates and actionTagAutoComplete action in misc controller responses with the data
  8. Earl

    XF 2.1 Load overlay after clicking submit button

    How do I display a simple overlay after clicking the submit button? I understand this concept: if ($this->isPost){ do something return $this->readirect($this->getDynamicRedirect()); } return $this->view('Earl\Vendor\ConfirmbBox, 'delete_confirm', $viewParams); As far as I know, you cannot do...
  9. Earl

    XF 2.1 XenForo way to validate a simple custom <xf:form> ? (regex)

    I have a simple form like this in a default notification block {{ phrase('your_account_is_currently_awaiting_confirmation_confirmation_message_sent_to_x', {'phone': $xf.visitor.phone}) }}<br /> <xf:form action="{{ link('canonical:account-confirmation/phone') }}" ajax="true" class="block">...
  10. Earl

    XF 2.1 How to chaneg default user group "Registered" to something else? (Trying to integreat phone verification)

    I'm trying to integrate a phone verification system to my forum. So I create a new user group that has very limited permissions, such as No private messaging, no reactions, etc. Then display a notice to the criteria that members are only in that limited permission group, saying "Please verify...
  11. Earl

    XF 2.1 After importing forum, Users getting "This message is awaiting moderator approval, and is invisible to normal visitors."

    I have imported threads, posts, nodes, user groups, etc.. from a vbulletin forum, I had registered users group in vbulleting forum, and senior members could be able to reply to threads, and create posts in most forums without moderator approvals. But after importing to the forum, Users in the...
  12. Earl

    Not a bug xf-dev:generate-phpstorm-meta not skipping add-ons in $config['development']['skipAddOns']= [];

    when I execute php cmd.php xf-dev:generate-phpstorm-meta I get this error Fatal error: Class 'KL\UserCriteriaExtended\Entity\XFCP_User' not found in /app/src/addons/KL/UserCriteriaExtended/Entity/User.php on line 15 The add-on named "KL\UserCriteriaExtended" has no _output directory because...
  13. Earl

    XF 2.1 [E_WARNING] Error while sending STMT_PREPARE packet. PID=20725 importing from vbulletin 3.8 to xenforo

    Got this error when importing posts 99%, Reduced processes to 4 and retried, and it continued importing Edit history. What is this warning / Error? Should I worry about this? xenforo_2.1.2 xfi_1.2.3
  14. Earl

    MySQL query error [1213]: Deadlock found when trying to get lock; try restarting transaction

    Server error log XF\Db\DeadlockException: MySQL query error [1213]: Deadlock found when trying to get lock; try restarting transaction src/XF/Db/AbstractStatement.php:217 Stack trace INSERT INTO `import_log_vbulletin_1` (`content_type`, `old_id`, `new_id`) VALUES (?, ?, ?) ON DUPLICATE...
  15. Earl

    XF 2.1 Received invalid UTF-8 for string column [message]

    Importing from vb 3.8 to XF v2.1.1 Server Error log 1: InvalidArgumentException: Received invalid UTF-8 for string column [message] . src/XF/Import/Data/EntityEmulator.php:155 Stack trace [CODE]#0 src/XF/Import/Data/AbstractEmulatedData.php(35): XF\Import\Data\EntityEmulator->set('message', '
  16. 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...
  17. 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...
  18. 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...
  19. 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...
Top