Recent content by BubbaLovesCheese

  1. BubbaLovesCheese

    XF 2.3 Fetch the user entities of all users mentioned or quoted on a thread page in a single query

    This addon collects everyone who replied in a post - so maybe that might help as a start https://xenforo.com/community/resources/who-replied.6340/
  2. BubbaLovesCheese

    XF 2.3 What happens when you edit poll options after votes have been cast?

    The votes are tied to the "slot" that contains the option. If you add more slots (poll options), nothing will happen to the existing ones. If you delete and option (slot) then those votes are gone, but the rest all remain. I changed the wording of a poll option - Votes stay the same - Only...
  3. BubbaLovesCheese

    XF 2.3 What happens when you edit poll options after votes have been cast?

    I created a poll with 10 options. Multiple choice is allowed and user can change their vote. People have already voted. Now what would happen to those votes if: I changed the wording of a poll option I added more options to the poll And can I delete an already existing poll option? Thanks. I...
  4. BubbaLovesCheese

    XF 2.3 Here is some custom Pricing Table code for User Upgrades

    Yeah, it's been a long time since I did that. I'm not sure how it works. But I will suggest that you ask ChatGPT. It can customize that code to suit whatever needs you have. It's also knows way more than me too!
  5. BubbaLovesCheese

    XF 2.3 Help figuring out the best way to offer User Upgrades with different durations?

    I'm trying to figure this out. Let's say I offer an upgrade to "gold" like so: $10 for 3 months $20 for 6 months $30 for 12 months I noticed a few things: If a user buys 3 months, the option to purchase another 3 months disappears If they buy 6 months, then they have 2 concurrent "gold"...
  6. BubbaLovesCheese

    [Xen-Soluce] User Upgrade Duration [Paid]

    @XenSoluce , does this stack different durations (see above question), and will it work with the gift addon?
  7. BubbaLovesCheese

    [Xen-Soluce] User Upgrade Duration [Paid]

    Was this question ever answered? If a user has 3 months remaining, and they purchase 12 months, will they have 15 in total?
  8. BubbaLovesCheese

    XF 2.3 This is how to prevent Paypal asking for a shipping address via REST API

    Update. Sorry, the above works for removing address when you have subscription.... and the code below works for removing addresses for 1-time purchases. I use BOTH in my code. Just add this code 'shipping_preference' = 'NO_SHIPPING' just around Line 264 'payment_source' => [...
  9. BubbaLovesCheese

    Gift Upgrades [Paid]

    Is there a way to have an upgrade that is only a gift, and not purchasable?
  10. BubbaLovesCheese

    Gift Upgrades [Paid]

    So I noticed when I click the GIFT box on the user profile popup, it displays all the user_upgrades options, even the ones that have been disabled. Am I doing something wrong, or have other experienced that too? I think it's the nf_gift_controls template that display that box.
  11. BubbaLovesCheese

    XF 2.3 What is the best way to bulk give users User Upgrades (with expiry dates)?

    I have 150 users who I would like to add to the user upgrades. Each one would have a different End Date. I could create a list like this: Name, UserGroup, End Date John, 48, Mar 30 2025 Paul, 50, Jun 13 2026 Ringo, 48, Dec 12 2026 George, 48, Jan 12 2027 Is there a way to bulk add them into...
  12. BubbaLovesCheese

    XF 2.3 What is the Webhook's retry policy in case of failure?

    Thanks! If anyone wanted to add custom webhook retries, you can add this to the src\XF\Job\Retryable file. class CustomWebhookSend extends WebhookSend { protected function calculateNextAttemptDate(int $previousAttempts): ?int { // Add any custom timing logic you want below...
  13. BubbaLovesCheese

    XF 2.3 What is the Webhook's retry policy in case of failure?

    Does the webhook reattempt delivery if it does not receive a 2xx status code response from the listener endpoint? If so, does anyone know the details on the retry schedule (number of retries, intervals, etc.) before it is marked as failed? And is there any documentation on this? Thanks!
  14. BubbaLovesCheese

    Fixed PayPal NEW error with user upgrades.

    @est3ban129 , This is the simple solution to stop Paypal from asking for a shipping address: https://xenforo.com/community/threads/this-is-how-to-prevent-paypal-asking-for-a-shipping-address-via-rest-api.229568/
Back
Top Bottom