Search results

  1. F

    XF 2.1 Absolute value in template?

    How can I get an absolute value? Something like {{ abs(-10) }} doesn't work. Do I have to use an if statement and then multiply by negative 1 if < 0?
  2. F

    XF 2.1 Do account upgrades renew automatically?

    This is a little hard to test, so I was wondering: If someone purchases an account upgrade with a PayPal payment profile and it lasts 1 month, will it automatically renew and charge them after the month ends?
  3. F

    XF 2.1 After setting up a bounce email address, all emails sent by the forum are coming from it. Is this normal?

    Is this normal? "Sender" of the email is still showing my main email, but the From Address according to cPanel is now this bounce email address I set up.
  4. F

    Seperate unregistered and unconfirmed groups

    Having these together is an issue in some cases because, let's say you have a node where users can talk to moderators privately. This means they can only see threads that they created, while moderators can see threads from everyone. If there's an unconfirmed user who's having problems validating...
  5. F

    XF 2.1 How to set up emailing so bounced emails change user state to "Email invalid (bounced)"

    I have the default email transport method set, but I would like XF to recognize when emails are not being sent. If I understand correctly, I need to change from Default to SMTP*. I know some forums use SMTP to send emails from a third party, but can I continue sending them from my server? Do I...
  6. F

    Allow multiple user names to be listed under user criteria section of contact user pages (alert users, email users, message users)

    Alert users / Email users / Message users -> User criteria -> User name. It seems strange that we can't list multiple users here. For example, notices allow you to add multiple user names separated by commas under user criteria. However, these three pages only allow one name to be specified...
  7. F

    XF 2.1 Threads redirected from vBulletin are redirecting to http

    If I paste a URL into the browser with "http" it will redirect to https as expected. But if someone clicks an old vB link that contains "http" it won't change it to https when redirecting to the XF thread.
  8. F

    XF 2.1 Fatal error (memory) when rebuilding search index for profile posts

    Rebuilding the search index is working for me with every data type except profile posts. From the server error log: ErrorException: Fatal Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 667648 bytes) src/XF/Db/Mysqli/Statement.php:125 It also seems like it gets stuck...
  9. F

    Elasticsearch stopping on its own every morning

    It's not happening every morning actually, but I set up Elasticsearch and Enhanced Search for XF about a week ago and the forum has had server errors starting around the same time in the morning for 3-4 days since then. When I looked at the error details it was just a standard error about not...
  10. F

    XF 2.1 Thread field choices won't rebuild after importing them

    I imported choices for a drop down thread field as a BLOG using SQL. Everything worked except that, when creating the thread, the choices show as "thread_field_choice.choiceIDHere" in the drop down. If I manually change one of the choices in the custom thread fields admin page, it shows up...
  11. F

    XF 2.1 How to add CSS to an add-on using best practices?

    I have an add-on that adds a template to every post using a template modification. I need to style part of this template with CSS. I added it to a new .less template, but how do I call this template using best practices? Do I use <xf:css in the HTML template that goes in each post or would this...
  12. F

    XF 2.1 Shared IPs not showing same results as "more users" in IP list

    Is shared IPs limited by anything such as time or type of log? As an example, a user matched another user with 2 IPs. Only one showed under Shared IPs. I had to go through their IP list and click "more users" for each IP to find the full list of matches.
  13. F

    XF 2.1 Would there be any usability or performance drawbacks to setting up a thread field with thousands of choices?

    I'd like to set up a drop-down thread field with several thousand options. Would there be any drawback to this? If so, I would probably have to use a free text field instead, but I'd rather not.
  14. F

    XF 2.1 Is it possible to make an ordered BBCode list with letters instead of numbers?

    Test Test Test How can this be changed to a. b. c. instead of 1. 2. 3.? LIST=a is used elsewhere such as vB, but it doesn't work on XF.
  15. F

    XF 2.1 How can responsive width be turned off for a style?

    I want to create one style that doesn't change width based on the device / viewport. What's the easiest way to do this? Thanks!
  16. F

    XF 2.1 How to use min-width around entire forum or limit responsive width?

    I'm trying to make a style that doesn't get so small it turns into a "mobile version". Instead, when viewed on a mobile device, it would just look like a desktop version and zoomed out more. Maybe a little responsiveness is okay, but let's say no smaller than 900px. What's the easiest way to do...
  17. F

    XF 2.1 Can a thread field's requirement be based on another thread field?

    Is it possible to make a custom thread field only be required depending on what was selected for another custom thread field? For example: "Do you like dogs" ( ) Yes ( ) No "What's your favorite dog breed?" [ text field] If they check Yes on the first question, the 2nd question is required...
  18. F

    XF 2.1 How to replace usernames in reactions bar with just a number?

    The reactions shown in posts currently include a few usernames. How can I get rid of usernames and replace them with a simple number of how many reactions the post received? (Similar to how Facebook does it.)
  19. F

    XF 2.1 How can the banned users list only show temporary banned?

    I'm not sure if this is a result of importing from vBulletin, but the banned users list is unusable because it's filled with thousands of permanent bans and the temporary ones are mixed in. Almost always when a mod/admin wants to see who's banned it's a temporary ban because these are the...
  20. F

    XF 2.1 Deleting a usergroup - what happens to its users?

    Will all users be put into the Registered group? Also, if there are 20,000 users in the group, could this potentially cause any problems? Thanks.