lightning-browser-extension
lightning-browser-extension copied to clipboard
Look for phpBB tags or find tipping tag in user signatures
I may be helping to setup an old school phpBB board soon, so I've been experimenting. I added the [ ⚡️[email protected] ] code like you do in twitter to my signature on a test board. Alby doesn't seem to pick it up. Is there something else I should do to make it visible to the extension? I'd like to enable folks to put their own code in board signatures and accept tips similar to on Twitter.
Just a random idea that could come in handy, could something be added to the Alby code to look for a bbcode? Something like [alby][/alby] or [ln][/ln] bracketing either an ln address or LNURL? Click and call up the extension type deal.
Currently Alby is using "batteries" to pick up LN-addresses on certain websites. You can try to create one for your project. Have a look at this twitter example. Let us know if you need help.
@RenegadeButcher Thanks for bringing this up. I just managed to create a phpBB shortcode for exactly that purpose! 💯
First you have to create a custom BBCode in the control panel of phpBB:

After that you can use this new BBcode like this:
[lightning="[email protected]"] ⚡ Send some sats[/lightning]

Clicking the link will automatically open Alby (if installed) or to your favorite Lightning app on your phone.
Please let me know if that works for you, I might wrap this up in some blog post.
Thanks @reneaaron , this makes way more sense!
We consider this solved