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

'Add to cart' error for attachment

31 May 2020 Edited
#1
This issue is marked as solved
Few issue is seen:

1. I enable third party monetization.
Add cost for attachment 5
But as an another user , I get below error while click on 'Add to cart".

2. There is no space between cost and currency. Here 5USD.... It should be 5 USD.

3. When I disable third party monetization, other members still show cost for attachment but as an admin, i not able to see that cost attachment box on full editor of post. I don't know what should be happen there.
Shade 31 May 2020
#2
You can add the space yourself. It's the following bit in bankpipe_postbit_attachments_attachment_cart:

{$paidAttachment['price']}{$mybb->settings['bankpipe_currency']} 
As for the first issue, I will need your forum url to test, or a screenshot of the console error which is generated in your browser console, as stated in the error. Please read them and try to interpret them before asking for support, they generally include all information already.
Shade 31 May 2020
#3
Open bankpipe_postbit_attachments_attachment_cart, find:

<a href="usercp.php?action=cart&amp;add=1&amp;bid={$paidAttachment['bid']}class="bankpipe-item button" data-action="add" data-bid="{$paidAttachment['bid']}"
Replace with:

<a href="usercp.php?action=cart&amp;env=bankpipe&amp;add=1&amp;bid={$paidAttachment['bid']}class="bankpipe-item button" data-action="add" data-bid="{$paidAttachment['bid']}"
Also open bankpipe_postbit_attachments_attachment_added, find:

<a href="usercp.php?action=cart&amp;remove=1&amp;bid={$paidAttachment['bid']}class="bankpipe-item button" data-action="remove" data-bid="{$paidAttachment['bid']}"
Replace with:

<a href="usercp.php?action=cart&amp;env=bankpipe&amp;remove=1&amp;bid={$paidAttachment['bid']}class="bankpipe-item button" data-action="remove" data-bid="{$paidAttachment['bid']}"
For some reason, these templates have not been updated during one of the last versions where the env=bankpipe piece of string was introduced. This will be fixed in beta 11. Thank you!
Dr.Jeet 31 May 2020
#4
Ok... bro.Thanks.