Recent content by stromb0li

  1. S

    Unable to preserve image resolution

    Per the HYS threads back when 2.3 was released, I also read this. I've tried the following and still see the image compressed to the 2.1MB filesize. ... $upload = $this->request->getFile('upload', false, false); if ($upload) {...
  2. S

    Unable to preserve image resolution

    In Admin CP, we left the restrictions blank and also tried setting as 0 and still saw compression applied to the images.
  3. S

    Unable to preserve image resolution

    In 2.3.x, it appears images are always resized client side prior to upload, even if under attachments, we set image optimization to "Do not optimize". If I take a 300 dpi image that is about 20MB and upload, it is compressed down to about 2MB (which is great for those that don't want the...
  4. S

    XF 2.3 How do I unlock an account?

    In order to unlock an account, you will need to delete the entries for the user out of the xf_login_attempt table; there is no option to unlock an account via Admin CP. Posting this as a question here since I couldn't find this via search.
  5. S

    XF 2.3 Reply to thread by email

    Sorry to bubble this up, but follow up question. If not, has anyone built such an add-on? :D
  6. S

    XF 2.3 Textarea spellcheck

    I have a textarea input but when I add the "spellcheck="true" attribute, I still don't see the squiggles on mispelled words. Is there something specific I need to add to the field to allow spellcheck recommendations? <xf:textarea placeholder="My placeholder" name="field1"...
  7. S

    XF 2.2 Output HTML without PAGE_CONTAINER

    Sorry to bubble up an old topic, but can you provide an example of how to reference different view within the same class? E.g. return $this->view('Some\AddOn:Some\Page', '', $viewParams); // Goes to renderRaw1 return $this->view('Some\AddOn:Some\Page', '', $viewParams); // Goes to renderRaw2
  8. S

    XF 2.3 Display notice on pages

    I have an add-on I've created that has two different two different pages (public templates) I want to display the same notice on. Is there an example of how I can surface this within the notices section?
  9. S

    Best practices to run a fresh new server ?

    This is an old post. I'm running version 8.4 of PHP and I believe the recommended version is 8.3 now.
  10. S

    XF 2.3 What field is used for IP address?

    For those searching, it looks like you have to override / set $_SERVER['REMOTE_ADDR'] if you want xenforo to use a different address; there isn't a $config property specifically to set. The list of supported properties to be set can be found in /src/XF/app.php.
  11. S

    Not a bug Approvals - Spam IP address not displayed friendly

    This is not a valid "ip". I thought it was trying to display the IP address when it was the only match that showed up for the first account I posted. I didn't understand they were counts at first. Even after going to StopForumSpam, they don't show counts > 1000 so it wasn't clear what this...
  12. S

    Not a bug Approvals - Spam IP address not displayed friendly

    Here's another account. After looking at this again where the username, IP address, and email both showed up instead of only IP) I then thought it was the number of entries matched in the StopForumSpam database, but for this person, I show more than a thousand results for both email and IP...
  13. S

    Not a bug Approvals - Spam IP address not displayed friendly

    I have never, in my 20 years of doing network administration, ever seen an IP address that was 4 digits long that wasn't either a base8 (octal), base10 (int), base16 (hex) of the IP address. Irrespective, the page is not consistent in displaying this. Please elaborate.
  14. S

    Not a bug Approvals - Spam IP address not displayed friendly

    On approvals, the spam IP address isn't displayed as the IPv4/IPv6 format. I'm not sure what format the IP address is that is shown; from what I can tell, it's not base 8 (octal) or base 10 (int). Edit: I understand I can grab the IP address above, but it's weird that it isn't consistent.
  15. S

    XF 2.3 What field is used for IP address?

    My search fu is failing me. In config.php, which property do I need to set to adjust what IP address is written in the user log? I have two proxies inline, so I'd like to set the IP address that xenforo uses to be a value from a header the proxy creates of the original requestor's IP address.
Back
Top Bottom