Damus
Random Penguin · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpquz3t8t9gyzt64ul694jrv2qmytlf42wlthqyml4dx046vqe8z57q296wag In the Booklook theme I'm working on I've been trying to figure out how to add set-up...
Random Penguin profile picture
I poked around a bit in the code. This isn't a "wizard" like I was talking about, but it is possible to create an additional account with a specific account type. Here I've added a drop-down menu for selecting the Account Type when creating the additional account. And this drop-down, like the password box below it, only appears if you're already logged in and the server allows additional accounts:



Then you just select the account type from the drop-down:

And the new account is created with the correct account-type and page-flags in the database. Implementing this was actually really easy and only requires editing three files: two in the core and one in the Frio theme. I could also add a script to auto-select from the list if the link was like /register?type=32 which would be a "Public Group" (type 3, flag 2).Thoughts? Would this be enough to end user confusion over how to create a Page or a Group account?