related posts
61 sats \ 1 reply \ @NorthKoreanHostage 18 Dec 2022
This is the good stuff.
LNURL Auth needs to replace everything it can.
reply
0 sats \ 0 replies \ @lone OP 18 Dec 2022
this is the way
reply
10 sats \ 1 reply \ @chungkingexpress 19 Dec 2022
Does this run a lightning node on the server?
reply
0 sats \ 0 replies \ @lone OP 19 Dec 2022
No
reply
10 sats \ 1 reply \ @BitcoinMaxiNewsdotCom 19 Dec 2022
My site's (bitcoinmaxinews.com) PHP version is higher than 7.4, but I get this msg when I want to install the plugin from WP plugins:
"This plugin does not work with your version of PHP. Learn more about updating PHP." Is there a solution for this?
Another question: Will this plugin allow me to only allow people to log in via Lightning? Can I also charge a small fee for it to block spammers?
reply
100 sats \ 0 replies \ @lone OP 19 Dec 2022
Hey, thank you for reaching out.
As for now you need to have at least PHP 8.0.15 running on your server.
Yes, you have the possibility for LNURL Auth only on your wp-login.php page.
At the moment it's not possible to charge a fee to use LNURL Auth. I will check this out. Thank you for the input.
Anyway, if you notice a spammer, you have the possibility to ban the account by copy-pasting the linkingKey from the user edit screen to the banlist in the plugin settings page.
reply
10 sats \ 0 replies \ @BitcoinMaxiNewsdotCom 19 Dec 2022
Lol, I was just about to post and ask if such a thing exists... Great share!
reply
10 sats \ 0 replies \ @pengsats 19 Dec 2022
Interesting, I'll try it.
reply
10 sats \ 0 replies \ @tlindi 18 Dec 2022
Where I need to click to donate this kind of nice post?!?
reply
10 sats \ 0 replies \ @beorange 18 Dec 2022
This is nice. Good job.
reply
10 sats \ 1 reply \ @kr 18 Dec 2022
very cool, is there an easy way to implement lnurl-auth functionality on other site hosting platforms like webflow?
reply
798 sats \ 0 replies \ @lone OP 18 Dec 2022
Sorry I have no idea about webflow.
But yes, ther should be definitively a way for it. LNURL Auth is very easy to implement. Check out the Lightning Document #4 https://github.com/lnurl/luds/blob/luds/04.md
reply
10 sats \ 8 replies \ @TheBTCManual 18 Dec 2022
I'm not sure if my WP is acting up but is there a setting that I am missing to allow those posting a comment to use this? I tried out the demo and want to set up the same on our site
reply
0 sats \ 7 replies \ @lone OP 18 Dec 2022
I'm not sure if I get your question. You want to provide LNURL Auth to existing users?
reply
10 sats \ 6 replies \ @TheBTCManual 18 Dec 2022
I managed to get it to work, like your demo, but when you login, you need to refresh the page a second time before you can comment, any idea what the issue could be?
reply
0 sats \ 1 reply \ @lone OP 19 Dec 2022
Hey, can you update your plugin and check if it works now? ⚡️
reply
0 sats \ 0 replies \ @lone OP 19 Dec 2022
Anyway, you need to set a valid URL in the plugin settings for users visiting wp-login.php directly.
With the updated version, the plugin checks the redirect_to query parameter. The redirect_to query parameter is set, if a user clicks on "login" anywhere on your site. So if someone clicks on "login" from a post, he will be redirected back to the post after authentication.
reply
0 sats \ 3 replies \ @lone OP 19 Dec 2022
Cool! Thank you for reaching out. Have you altered the plugin settings? What does your redirect URL look like?
reply
10 sats \ 2 replies \ @TheBTCManual 19 Dec 2022
Yes I did, I removed the redirect to the homepage because I wanted the user to remain on the article they wish to coment on
reply
0 sats \ 1 reply \ @lone OP 19 Dec 2022
Hm I guess this wont work for now. I will work on this feature. Thank you for the input!
reply
0 sats \ 0 replies \ @lone OP 19 Dec 2022
Or you could probably add the plugin shortcode in your footer php on posts with a dynamic redirect attribute for the current url.
reply
0 sats \ 0 replies \ @lone OP 18 Dec 2022
A demo is linked in the plugin description 👍
reply