• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Search results

  1. DragonByte Tech

    Fixed Search index batch processing potentially bugged

    I fully admit this may be me reading the code wrong, but the code in XF\Job\SearchIndex looks wrong to me. If I run this code: \XF::app()->jobManager()->enqueue('XF:SearchIndex', [ 'content_type' => 'post', 'content_ids' => $postIds ])...
  2. DragonByte Tech

    XF 2.0 Question regarding phraseDeferred

    Hey all, Based on the name, it was my understanding that using \XF::phraseDeferred() it would not attempt to render or preload this phrase during runtime, and would add this phrase's key to the list of phrases to load when the View was finally rendered. However, that is not what I am seeing...
  3. DragonByte Tech

    XF 2.0 Type and ID parameters to <xf:js>? Alternatives?

    I'm using jQuery Templates to render data sets returned by one of our mods. I attempted to define one of the templates in this way: <xf:js type="text/x-jquery-tmpl" id="shoutboxShoutTypeMe"> but that produced a syntax error. I require the type tag in order for jQuery Templates to recognise the...
  4. DragonByte Tech

    Fixed XF\Service\Conversation\Replier missing isAutomated function

    Okay, so technically this isn't a bug buuuuuuuuuuuut.... XF\Service\Conversation\Creator has public function isAutomated() { $this->setLogIp(false); $this->setAutoSpamCheck(false); } This code should be added to XF\Service\Conversation\Replier as well, it's a bit...
  5. DragonByte Tech

    Fixed Weird behaviour when attempting to use upper-case letter directly next to a smiley while editing a post

    Yeah, so I don't have any screen recording software just now so bear with me. Step 1: Post a post using a smiley. Step 2: Edit the post Step 3: Attempt to type an uppercase letter directly before the smiley, I tested it with Shift-B Step 4: Notice a small overlay window appears underneath the...
  6. DragonByte Tech

    Not a bug StepRunnerUpgradeTrait functionality conflict with the Dev Docs

    In the dev docs, it says the following formats are valid: installStep1(), upgrade1000170Step(), upgrade1000170Step1() and uninstallStep1() However, this is not the case: https://regex101.com/r/L4vp8r/1 As per the code, adding the 1 in the function name is required even if there is no step 2...
  7. DragonByte Tech

    XF 2.0 Possible to block legacy addon upgrades unless legacy version ID is >= X?

    If possible, I would like to avoid having to replicate the entire upgrade process since the initial XF1 version when creating the installers for the XF2 version. Is there a way I can block upgrades if the installed XF1 version is too old? Example: The latest XF1 version ID is 20170916. Someone...
  8. DragonByte Tech

    The amount of sites with maximum password size limitations is too damn high.

    Random May-fly Free-To-Play Game #26,456,791 doing this? Okay, yeah whatever, I haven't touched this game since the 16th century so it's fine. Blizzard Entertainment doing this? Mmmm you'd think they would know better, considering the amount of "yeah that bot was TOTALLY NOT ME, I got hacked!"...
  9. DragonByte Tech

    Fixed XF\Mail\Mail::setLanguage() doesn't return $this

    Literally every other set* function in that file has return $this; except for that function. // Create appropriate mail object \XF::app()->mailer()->newMail() ->setTemplate('dbtech_mail_new_unsubscription_mailinglist', [...
  10. DragonByte Tech

    XF 2.0 Does it matter if the legacy addon's version string is different?

    For our XF1 addons, I decided it would be incredibly clever to use YYYYMMDD as the version string rather than the recommended version format. For the XF2 versions, I've switched to the recommended format. Will this cause any problems when users upgrade from XF1? Fillip
  11. DragonByte Tech

    XF 2.0 Should I be using \XF::fs() for all file operations?

    I'm finally running the latest DP, and I'm noticing the \XF::fs() is being used to write and check for the install-lock.php file, among other things. Should I be converting all my code to use the FS for all file operations? Is there ever a reason not to use it (performance overhead not needed...
  12. DragonByte Tech

    Fixed Template editor height cuts off half of the Save / Save and Exit buttons

    Chrome (Latest), Windows 10 (sadly). If the template is big enough to cause a scrollbar (e.g. more than 25 lines), the submit row gets chopped in half: Changing the height of .codeEditor.CodeMirror to 55vh in the browser's development tool fixes the issue: Previous versions of XF2 had...
  13. DragonByte Tech

    Fixed templater_macro_pre_render Code Event Listener has invalid callback signature

    \XF\Template\Templater $templater, &$type, &$template, $amp;$name, array &$arguments, array &$globalVars Should be \XF\Template\Templater $templater, &$type, &$template, &$name, array &$arguments, array &$globalVars Fillip
  14. DragonByte Tech

    [DBTech] Preview Last Post

    DragonByte Tech submitted a new resource: [DBTech] Preview Last Post - Hover over "last post date" in the thread list to see a preview! Read more about this resource...
  15. DragonByte Tech

    Tabbed Options

    DragonByte Tech submitted a new resource: Tabbed Options - Add tabs to your addon's options page Read more about this resource...
  16. DragonByte Tech

    Fixed Copy/Pasting single-line text inserts line break before inserted content

    Video shows more than a thousand words: https://gfycat.com/MatureGratefulArabianoryx Browser: Safari on 10.13, but this happened on XF1 as well before I installed 10.13. This is really, really annoying :( Fillip
  17. DragonByte Tech

    [DBTech] Product Manager

    DragonByte Tech submitted a new resource: [DBTech] Product Manager - Manage your DragonByte products under one single AdminCP tab. Read more about this resource...
  18. DragonByte Tech

    DragonByte Tech Special Offers

    Hey all, Our DragonByte Optimise product (Web Store Link) has just gone Gold, and with it comes a special offer for 40% off, valid until 23:59 GMT / UK Time, October 16 2016! To take advantage of this special offer, enter OPTIMISE40 in the Coupon Code box during checkout @ DragonByte-Tech.com...
  19. DragonByte Tech

    [DBTech] Easy Registration

    DragonByte Tech submitted a new resource: [DBTech] Easy Registration - Make the registration process for your XenForo forum easier and faster. Read more about this resource...
  20. DragonByte Tech

    [DBTech] DragonByte Optimise [Paid]

    DragonByte Tech submitted a new resource: [DBTech] DragonByte Optimise - Reduce query consumption of your forum. Read more about this resource...