Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

Custom Upgrade Page and links to subscriptions

5 Aug 2020 Edited
#1
This issue is marked as solved
So i have customized the upgrade page to showcase my upgrade packages. I have used a button to direct link to each of the subscriptions.

In order to upgrade to tier 3 you must already own tier 1 and tier 2.

But when i use a test user. they are able to jump straight to tier 3 even though it says the user must be part of a specific group which is tier 2 and this user is not.

How would i make the custom page not allow upgrades ?

I assume since im using a direct link it takes it right into the cart and allows purchase

for example this is the button im using
<div style="text-align:center;">
<a href="usercp.php?action=cart&env=bankpipe&add=1&bid=1" class="bankpipe-item button fastCheckout" data-action="add">{$lang->bankpipe_add_to_cart}</a>
</div>

<div style="text-align:center;">
<a href="usercp.php?action=cart&env=bankpipe&add=1&bid=2" class="bankpipe-item button fastCheckout" data-action="add">{$lang->bankpipe_add_to_cart}</a>

</div>

<div style="text-align:center;">
<a href="usercp.php?action=cart&env=bankpipe&add=1&bid=3" class="bankpipe-item button fastCheckout" data-action="add">{$lang->bankpipe_add_to_cart}</a>

</div>
Shade 5 Aug 2020
#2
Hi, at the moment this feature is built in templates, specifically, if the user is not allowed to see unless he is in a specific usergroup, the bankpipe_subscriptions_subscription_not_allowed template will be used instead of bankpipe_subscriptions_subscription.

It is always better to use templates than a custom page. However, I agree that right now if the user is able to add an item to the cart, he is able to purchase it regardless of permissions. This will be fixed in the upcoming version. Thanks for reporting.
encrypted 5 Aug 2020
#3
Gotcha! that makes sense. Yea would love to see this in the furture and would be willing to test if you ever do come up with something!
Dr.Jeet 5 Aug 2020 Edited
#4
Ya..that is also my custom upgrade page issue.
Thanks Shade for add to into to do list.
encrypted 5 Aug 2020
#5
So what i just did now was fairly simple for the time being and actually i dont mind it staying this way.

I have my custom upgrade page which is /upgrade.php and it lists the tiers and all the features you get.
I added a single button across the bottom of the tier table that click click here to purchase. That button then redirect to the bankpipe sub page which then uses the feature to not allow upgrades outside of groups.
This seems like an ok work around for now