Extension talk:InviteSignup

About this board

Derek Jones Smr (talkcontribs)

Hello!

How can i change the text of the Invitation email?

Dreamy Jazz (talkcontribs)
Reply to "Invite message"
Infitaahul (talkcontribs)

how to fix the following error?


A database query error has occurred. This may indicate a bug in the software.

[YIX97VzxouZ7shRdkl6pJQAAANY] 2021-04-25 23:40:29: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"


Please help...

Nikerabbit (talkcontribs)

Do enable $wgShowExceptionDetails to get more information.

Reply to "Database error"
97.113.186.96 (talkcontribs)

$wgISGroups = array( 'translator', 'sysop' ); causes a sql error

Nikerabbit (talkcontribs)

That code certainly doesn't. Something else may if you haven't run update.php.

Ulrich C. Thiess (talkcontribs)

Wiki 1.34.2

If i use $wgISGroups

ArgumentCountError from line 456 of C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\user\UserGroupMembership.php: Too few arguments to function UserGroupMembership::getGroupMemberName(), 1 passed in C:\inetpub\zoomsoft.de\mediawiki-1.34.2\extensions\InviteSignup\SpecialInviteSignup.php on line 164 and exactly 2 expected

Backtrace:

#0 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\extensions\InviteSignup\SpecialInviteSignup.php(164): UserGroupMembership::getGroupMemberName(string)

#1 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\extensions\InviteSignup\SpecialInviteSignup.php(90): SpecialInviteSignup->getAddRow()

#2 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\specialpage\SpecialPage.php(575): SpecialInviteSignup->execute(NULL)

#3 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\specialpage\SpecialPageFactory.php(611): SpecialPage->run(NULL)

#4 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

#5 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\MediaWiki.php(900): MediaWiki->performRequest()

#6 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\includes\MediaWiki.php(527): MediaWiki->main()

#7 C:\inetpub\zoomsoft.de\mediawiki-1.34.2\index.php(44): MediaWiki->run()

#8 {main}

Taavi (talkcontribs)

Are you sure you are running the latest version of InviteSignup?

Ulrich C. Thiess (talkcontribs)

Yes: InviteSignup-REL1_34-d2f41cb.tar.gz

2020-05-25T18:16:55

Nikerabbit (talkcontribs)

That is not the latest version. You can pick up the master or REL1_35 version which to my knowledge are still compatible with MediaWiki 1.34.

Reply to "this function fails"

Permissions Issues on Private Wiki

2
Squingynaut (talkcontribs)

I've set up a wiki that is private so users must be logged in to view pages. When clicking the invite link in the email, I am told that I don't have permission to view the account creation page. While leaving $wgGroupPermissions['*']['createaccount'] = false; I've set $wgWhitelistRead = [ "Special:CreateAccount" ]; and now get an error "You do not have permission to do that, for the following reason: You are not allowed to execute the action you have requested."


How can the InviteSignup extension be used on a private wiki? I seem to be missing something. Thank you!

Nikerabbit (talkcontribs)

It's meant to be used like that, but I am afraid it is no longer working with modern MediaWiki versions.

Reply to "Permissions Issues on Private Wiki"

MW1.29: Permission error

6
CalNation (talkcontribs)

Going to Special:InviteSignup shows You do not have permission to invite users to sign up to this site, for the following reason: You are not allowed to execute the action you have requested.

Even though Special:ListGroupRights shows my user group for sure has the InviteSignup Any ideas?

Nikerabbit (talkcontribs)

This works for me. Are you logged in and using the right account?

CalNation (talkcontribs)

Just tried logging out/in to make sure and still there's permission error

Are you using MW1.29? It might be a version issue.

Nikerabbit (talkcontribs)

I am not using InviteSignup much currently and I am not even sure it works properly with MediaWiki since the auth code rewrite. But you shouldn't see such errors. Maybe related to https://gerrit.wikimedia.org/r/c/303358/ ?

أحمد (talkcontribs)

A wiki of mine exhibits a similar, and I believe related issue: Users in the "staff", "admin" and "bureaucrat" user-groups are able to send invitations, but upon following the invitation link, the invitee gets a message that they are not authorised to perform the action.

Dan.mulholland (talkcontribs)

I experience the same with MW 1.31. I think this is either broken or broken for private wiki use with the ConfirmAccount extension used at the same time.

Reply to "MW1.29: Permission error"

What if I want to choose their username?

2
79.182.137.171 (talkcontribs)

I don't want them to decide on their own usernames, just on their own passwords.

Nikerabbit (talkcontribs)

This functionality does not exist.

Reply to "What if I want to choose their username?"

"No email address" error from "create account" form

7
99.224.74.96 (talkcontribs)

Running MediaWiki 1.22.5 with a few extensions.

The email link is http://<mydomain>/index.php?title=Special:UserLogin/signup&invite=4c2d4327c0c65a093e82f7989ab69aa6959b06ea&returnto=Special%3ADashboard.

Fill in a userid and password and click on "Create your account".

An error is displayed - "Account creation error. No email address"

I suspect it is either a permissions issue or a conflict with another extension.

Any suggestions?

91.213.144.3 (talkcontribs)

The same - "mediawiki-1.25.2".

>>Was the account actually created?

I try to create it on SpecialPages\Create account

91.213.144.3 (talkcontribs)

Look for parameter

$wgEmailAuthentication

In "LocalSettings.php"

أحمد (talkcontribs)

I have the same issue with MW1.26.

$wgEmailAuthentication is set to "true" in LocalSettings.php, which is how I would like it to be.

Are you suggesting that this extension doesn't work with this configuration?

أحمد (talkcontribs)

Even after having set $wgEmailAuthentication = false, invitees still get this error message.

Is it something else?

أحمد (talkcontribs)
Reply to ""No email address" error from "create account" form"
Noboddy (talkcontribs)

It would be great if I could already set up a username for the people I invite. Is it possible to add that?

Nikerabbit (talkcontribs)

It's not currently possible.

It sounds like you could just create accounts for them in a regular way and then request password reminder to let them reset their password.

Noboddy (talkcontribs)

Thanks for the reply, I guess I'll have to continue doing it that way then.

Reply to "Username"

Sending mails from users' addresses is not a great idea

5
78.143.73.31 (talkcontribs)

Great little extension!

However, lots of invites will end in spam folders because the extensions sends invites from the logged in user's e-mail address. If this address has SPF rules set up not allowing the wiki server to send mails (which in my world would almost always be the case), the receiving server will mark the message as spam.

Shouldn't this extension use $wgPasswordSender as From address?

Anyway, thanks for the great work!

Best regards, Asbjørn Baagø

Nemo bis (talkcontribs)
Jschroe (talkcontribs)

I just installed this extension -- it's perfect for what I need, except emails keep going to spam. I wish I knew enough to submit a patch for this. If you could get around to it, that would be very helpful. Thank you!

Lcawte (talkcontribs)
78.143.73.31 (talkcontribs)

I've been busy for a few days. I'll check to see if the above mentioned fix solves my problem. If not, I'll work on a fix and submit it. If it does fix it, I'm very thankful! :-)

-Asbjørn Baagø

Reply to "Sending mails from users' addresses is not a great idea"

404 on form submission after "add" button click

5
46.138.104.164 (talkcontribs)

I've installed extension using instructions. I can see it in special:version, and can go to special:invitesignup. But when i'm clicking add, postback fails (i see it in console) and wiki shows me stadart page for absent article.

46.138.104.164 (talkcontribs)

And there was the bullet: SpecialInviteSignup.php line 147 Html::hidden( 'title', $this->getPageTitle()->getDBKey() ) .

cuz of Wiki.php line 77: $title = $request->getVal( 'title' );

PS: im using latest wiki and extension versions on the post date.

Nemo bis (talkcontribs)

By "latest wiki", do you mean you're using 1.22? Anyway, I hope gerrit:134800 fixes it, you may want to test.

JoelKP (talkcontribs)

I noticed the same problem, using MediaWiki 1.24alpha. For me at least, the change has fixed it.

Reply to "404 on form submission after "add" button click"
Return to "InviteSignup" page.