Ya but thats a pain with 500 - 600 people getting the Free VIP for 5 days at the same time...
Not sure what you are asking for then. This addon works with the build in User Upgrades. It sounds like you are looking for something very specific?
Ya but thats a pain with 500 - 600 people getting the Free VIP for 5 days at the same time...
Good idea, though.Does this addon allow you to actually have a products page for your upgrades?
Does this addon allow you to actually have a products page for your upgrades?
can you not make it so when you add this addon it creates a Products page and for those who dont want that page a check box in the settings to disable?You mean like this: http://naatan.com/support/products ?
Or something like this: http://naatan.com/projects/advanced-user-upgrades/
The first is the addon, the latter is just a custom page I made. There is no reason you can't hook it into your own custom pages.
can you not make it so when you add this addon it creates a Products page and for those who dont want that page a check box in the settings to disable?
Any news on gift purchases (or rather on any updates/features in general)? I noticed that other gift purchases addon that was released a couple days ago, which reminded me of this addon and piqued my curiosity again. Just wondering of course, no rush.
Hi NathanSorry, I was confused with the "Disables user upgrades" feature, which does the inverse of what you are asking for. I will add a "Enables user upgrades" feature. As for usergroup specific upgrades, I will also look into that.
Hi Nathan
I haven't followed this since my question so I don't know if this is available yet.
Can this be added to a page where guests can pay to make a post (job listing) in a specific forum. They can sign up in the process. I see that you have the upgrade path when people signup but if we have multiple type of account upgrades, how can we chose which upgrade to provide?
I was thinking along the line of if people signup from the Job Listing site to pay for post, they will only see the upgrade designed for them.
Excellent thanks!It is now done server side. You can see it in library/AdvancedUpgrades/ControllerPublic/Upgrades.php starting at line 183.
You can edit that file to add in what you want after each release like you would with templates.
'item_name' => $upgrade['title'],
<input type="hidden" name="item_name" value="{xen:phrase account_upgrade}: {$upgrade.title} ({$visitor.username} / {$visitor.customFields.Steam})" />
Excellent thanks!
Expanding on that, I see there's a custom value here:
PHP:'item_name' => $upgrade['title'],
Which from the looks of it would just print the name of the upgrade after the "For:" on a paypal subscription creation notification. Originally I had this print "For: Account upgrade: upgrade title (username / steam id):
HTML:<input type="hidden" name="item_name" value="{xen:phrase account_upgrade}: {$upgrade.title} ({$visitor.username} / {$visitor.customFields.Steam})" />
I think I need a little help translating that over to PHP as it's evident I'm not much of a coder...would it use the same values just in a slightly dif format?
'item_name' => $upgrade['title'] $visitor['username'] $visitor['customFields.Steam']... errr
Anyway thanks for the help thus far.
'item_name' => $upgrade['title'] . $visitor->username . $visitor->customFields['Steam']
I'll give it a test and see. Thanks Naatan.Assuming those key names are correct, you would use (from the top of my head, I can't verify right now):
PHP:'item_name' => $upgrade['title'] . $visitor->username . $visitor->customFields['Steam']
I will try to facilitate this in the future.
'item_name' => 'Account Upgrade: ' . $upgrade['title'] . ' (' . $visitor->username . ' / ' . $visitor->customFields['Steam'] . ')',
Another thing I noticed was now there's an /upgrades page after my domain, when before the only way people could purchase upgrades was via /account/upgrades. I also noticed that the popup overlay doesn't work via /account/upgrades but does via /upgrades. Perhaps the one via /account/ isn't reading the boolean for the usePopup option or whatever.
This seems a bit odd to me given all the other links in XF for account upgrades go to /account/upgrades, and it's apparent that the account_upgrades_advanced template is being rendered on both areas, the /upgrades page simply doesn't have the account menu on the left.
This doesn't seem normal. I reverted the advanced template back to its original state as that's the only thing I touched and the popup still wouldn't work even though the option was set correctly. Only when I manually got rid of the if is statement for the popup and only left the line that should trigger the overlay/popup did it work, but it didn't work properly, the overlay would open near the top of the site when you were scrolled down closer to the bottom, thus it won't appear on screen.
Was the extra /upgrades page without the account wrapper there simply for customizable purposes? E.g. someone wanting to do domain.com/products or other? It seems to me some of the intended functions of the addon only seem to work properly if I access it via domain.com/upgrades instead of domain.com/account/upgrades.
Just trying to understand the entire addon a bit more I suppose. Thanks for any info you can provide!
Ah I see, makes more sense now. One other thing I noticed was in the transaction log I see a lot of messages that say "No txn_id" - I open them up and the type is error. The transaciton type, or txn_type changes.. some of them are for subscr_signup, others are for subscr_cancel, subscr_eot, subscr_failed, etc.This is simply because one of the features in this addon is that it enables guest purchases, whom quite simply don't have an account to speak of. I could have worked around this with the standard url, but I don't like that the url itself refers to an account that does not exist.
The issue has been reported before though, and I will address it in a future update by redirecting account/upgrades to /upgrades if it's accessed by guests.
Yeah figured. I'll keep an eye on it and see how it goes.Pagination should definitely work, will check this for the next update. As for the error; hard to say what may be the cause of this. My addon only lists the database transactions exactly as they are, and seeing as you installed it today it sounds like this isn't an issue with the addon itself. Maybe these are just paypal callbacks that XenForo doesn't handle, again - hard to say without getting down and dirty with the code.
We use essential cookies to make this site work, and optional cookies to enhance your experience.