onyx666
Active member
- Nov 29, 2019
- 156
- 53
- 28
Great..Hi, thanks for sharing this script, I'm also using this script, and indeed in v16 the problem is in the plan, you can't edit or create a new plan if the update from a previous version uses an extended license, I found a way to fix it
go to themes/altum/views/admin/plan-update and open index.php
on line 335, change the following code
to thisCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= l('link.biolink.blocks.{mb_strtolower($key'))} ?></label>
then save, then to create plan, go to /themes/altum/views/admin/plan-create/index.phpCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= mb_strtolower($key) ?></label>
on line 311, change the following code
to thisCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= l('link.biolink.blocks.{mb_strtolower($key'))} ?></label>
translate for the following codeCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= mb_strtolower($key) ?></label>
does not exist in english#en.phpPHP:<?= l('link.biolink.blocks.{mb_strtolower($key'))} ?>
Hope it is useful![]()
Hi,Hi, thanks for sharing this script, I'm also using this script, and indeed in v16 the problem is in the plan, you can't edit or create a new plan if the update from a previous version uses an extended license, I found a way to fix it
go to themes/altum/views/admin/plan-update and open index.php
on line 335, change the following code
to thisCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= l('link.biolink.blocks.{mb_strtolower($key'))} ?></label>
then save, then to create plan, go to /themes/altum/views/admin/plan-create/index.phpCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= mb_strtolower($key) ?></label>
on line 311, change the following code
to thisCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= l('link.biolink.blocks.{mb_strtolower($key'))} ?></label>
translate for the following codeCode:<label class="custom-control-label" for="enabled_biolink_blocks_<?= $key ?>"><?= mb_strtolower($key) ?></label>
does not exist in english#en.phpPHP:<?= l('link.biolink.blocks.{mb_strtolower($key'))} ?>
Hope it is useful![]()
it's like unreadable cssHi,
If possible please help find out why user account plan template is not working.
thanks
it's like unreadable css
tnks manHi,
If possible please help find out why user account plan template is not working.
thanks
Hey, I am not quite sure what I am supposed to do with the language part?
translate for the following code:
<?= l('link.biolink.blocks.{mb_strtolower($key'))} ?>
do I just add that line to the bottom of app\languages\
@oliverquin , fix edit user, replace index.php in
themes/altum/views/admin/user-update
with this file
Thank you so much for share the solution.Working for all plan buttons and tabs including Account page > Plan tab
Replace accordingly... Hope it helps![]()
bro, me tooWhen trying to create a theme for biopages I noticed that the "Border Style" option doesn't save, it always stays in solid style.
[11-Feb-2022 12:20:34 UTC] PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php:33
Stack trace:
#0 /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php(33): Exception->__construct('Invalid payload...', '')
#1 /home/userf2302d/domains/webpub/public_html/app/controllers/WebhookCoinbase.php(28): Altum\PaymentGateways\Coinbase::verify_webhook_signature('', NULL)
#2 [internal function]: Altum\Controllers\WebhookCoinbase->index()
#3 /home/userf2302d/domains/webpub/public_html/app/core/App.php(177): call_user_func_array(Array, Array)
#4 /home/userf2302d/domains/webpub/public_html/index.php(17): Altum\App->__construct()
#5 {main}
thrown in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php on line 33
[11-Feb-2022 12:20:44 UTC] PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php:33
Stack trace:
#0 /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php(33): Exception->__construct('Invalid payload...', '')
#1 /home/userf2302d/domains/webpub/public_html/app/controllers/WebhookCoinbase.php(28): Altum\PaymentGateways\Coinbase::verify_webhook_signature('', NULL)
#2 [internal function]: Altum\Controllers\WebhookCoinbase->index()
#3 /home/userf2302d/domains/webpub/public_html/app/core/App.php(177): call_user_func_array(Array, Array)
#4 /home/userf2302d/domains/webpub/public_html/index.php(17): Altum\App->__construct()
#5 {main}
thrown in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php on line 33
[11-Feb-2022 12:21:47 UTC] PHP Notice: Undefined property: stdClass::$order_by_name in /home/userf2302d/domains/webpub/public_html/themes/altum/views/admin/payments/index.php on line 112
[11-Feb-2022 12:21:47 UTC] PHP Notice: Undefined property: stdClass::$order_by_email in /home/userf2302d/domains/webpub/public_html/themes/altum/views/admin/payments/index.php on line 113
please can i ask you question in private ?Hey there.
I accept payment using Coinbase, but whenever someone buys they never automatically get the plan.
Also this error in debug:
[11-Feb-2022 12:20:34 UTC] PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php:33 Stack trace: #0 /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php(33): Exception->__construct('Invalid payload...', '') #1 /home/userf2302d/domains/webpub/public_html/app/controllers/WebhookCoinbase.php(28): Altum\PaymentGateways\Coinbase::verify_webhook_signature('', NULL) #2 [internal function]: Altum\Controllers\WebhookCoinbase->index() #3 /home/userf2302d/domains/webpub/public_html/app/core/App.php(177): call_user_func_array(Array, Array) #4 /home/userf2302d/domains/webpub/public_html/index.php(17): Altum\App->__construct() #5 {main} thrown in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php on line 33 [11-Feb-2022 12:20:44 UTC] PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php:33 Stack trace: #0 /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php(33): Exception->__construct('Invalid payload...', '') #1 /home/userf2302d/domains/webpub/public_html/app/controllers/WebhookCoinbase.php(28): Altum\PaymentGateways\Coinbase::verify_webhook_signature('', NULL) #2 [internal function]: Altum\Controllers\WebhookCoinbase->index() #3 /home/userf2302d/domains/webpub/public_html/app/core/App.php(177): call_user_func_array(Array, Array) #4 /home/userf2302d/domains/webpub/public_html/index.php(17): Altum\App->__construct() #5 {main} thrown in /home/userf2302d/domains/webpub/public_html/app/helpers/Coinbase.php on line 33 [11-Feb-2022 12:21:47 UTC] PHP Notice: Undefined property: stdClass::$order_by_name in /home/userf2302d/domains/webpub/public_html/themes/altum/views/admin/payments/index.php on line 112 [11-Feb-2022 12:21:47 UTC] PHP Notice: Undefined property: stdClass::$order_by_email in /home/userf2302d/domains/webpub/public_html/themes/altum/views/admin/payments/index.php on line 113
Anyone know how to fix?