lbryio / lbryio/lbrypress

Low Funds Email is missing Numerical Characters for LBC Balance

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
21
Forks
7
PR merge metrics
No merged PRs in 30d

Description

**DESCRIPTION:**
When first setting up LBRYPress on a Wordpress server, and before setting up and running 'lbrynet', an email will be sent notifying the user that their funds are low. This email attempts to inform the user of the current balance, but is missing the numerical value in the sentence:

"You currently have LBC left in your wallet."

-----

**REPRO STEPS:**
1) Log into self-hosted Wordpress
2) Install and Activate the LBRYPress Plugin
3) Do not install and run 'lbrynet'
4) Wait for an email to be sent to administrator

**Results**: Email is missing numerical characters for balance

**Expected:** Email shows 0 for the balance, or states that a wallet is not setup yet, or does not send an email until 'lbrynet' is running

-----

**ENVIRONMENT:**
Ubuntu 18.04.4
WordPress 5.3.3
PHP 7.2.24
LBRYPress 0.0.1
Lodestar Theme 1.0.8

-----

**IMAGES:**

![LBRYPress_0 1 1_WalletBalanceLow](https://user-images.githubusercontent.com/30788194/82759256-6fdcda00-9da9-11ea-9ee0-99087b0c7279.png)

-----

**LBRY ADDRESS:**
bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b
mail@cahlen.org

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the administrator low-funds email during the listed WordPress and LBRYPress setup, then locate the code that generates the wallet-balance message. Check the behavior when lbrynet is not running and verify that the completed change shows a numerical balance or clearly states that the wallet is not set up.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.