pixelfed/support

Invites seemingly not working nor documented

Opened this issue · 3 comments

I just finished the official installation manual and got a working PixelFed instance, quite nice.

However, I set OPEN_REGISTRATION to false because I want a private instance.

I made a new admin user for myself over the artisan command line.

Now, there doesn't seem to be a way for other users to join? Do I add them all through the command line?

I searched in the issue field for invites, found a user citing the PF_USERS_INVITES config field. That turns out to not exist, but PF_USER_INVITES does seem to exist.

I look at the doc file of all config options and find them, so I set this:

PF_USER_INVITES="true"
PF_USER_INVITES_TOTAL_LIMIT="1000"
PF_USER_INVITES_DAILY_LIMIT="1000"
PF_USER_INVITES_MONTHLY_LIMIT="1000"

I run the php artisan config:cache to refresh the config. Nothing changes, I still can't find an invite option anywhere.

I tried running php artisan route:cache and php artisan view:cache because maybe some of the views etc are cached. No success.

I find a comment from 2020 where @dansup says the invite feature is not released yet.

So are invites supported or not? How do they work? They are not covered in any documentation.

trwnh commented

looks like a possible typo in your config? you said you set PF_USER_INVITE="true" but it should be PF_USER_INVITES="true" with an s

this is what i could find in commits for invites: pixelfed/pixelfed@da0b3b5

Ugh, I was so careful typing it correctly in my issue and when grepping, but I didn't notice I typed it wrong the very first time. Thanks!

Well, the menus show up now, but like mentioned in this issue, no actual invites are sent out..
pixelfed/pixelfed#2238