Extension:NewSignupPage

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
NewSignupPage

Release status:Extension status stable

ImplementationTemplate:Extension#type MyWiki
DescriptionTemplate:Extension#description Enhances MediaWiki's default signup page
Author(s)Template:Extension#username Jack Phoenix
Latest versionTemplate:Extension#version 0.9.1 (2016-12-17; 6 months ago (2016-12-17))
MediaWikiTemplate:Extension#mediawiki 1.29+
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
Changelog
ExampleTemplate:Extension#example Any ShoutWiki site
ParametersTemplate:Extension#parameters
  • $wgRegisterTrack
  • $wgAutoAddFriendOnInvite
  • $wgForceNewSignupPageInitialization
Added rightsTemplate:Extension#rights

bypasstoscheck

Hooks usedTemplate:Extension#hook
BeforePageDisplayManual:Hooks/BeforePageDisplay

Translate the NewSignupPage extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

The NewSignupPage extension enhances MediaWiki's default signup page, Special:UserLogin/signup, by requiring users to check a checkbox stating that they've read and understood the site's Terms of Service and Privacy Policy.

In addition to that, the extension is compatible with social tools. If a wiki's admins choose to give out points for recruiting new users, set $wgRegisterTrack to true (and make sure that user_register_track table exists on that wiki's database beforehand!) and you're done.

Installation[edit]

  • Download and place the file(s) in a directory called NewSignupPage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'NewSignupPage' );
    
  • If you set $wgRegisterTrack = true;, you need to create the user_register_track table in your database; you can do this from command line with php maintenance/sql.php extensions/NewSignupPage/user_register_track.sql
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

User rights[edit]

This extension adds a new user right, bypasstoscheck, which by default isn't given to any group. Users with this right can create new accounts without checking the "I accept the site's Terms of Service" checkbox.

User points[edit]

  • $wgUserStatsPointValues['referral_complete'] — set this to something to give out points for referring a new user successfully to the site.

Customizing checkbox message[edit]

This extension adds a new checkbox in Special:UserLogin/signup (right below the Remember my login on this computer checkbox). You can edit the text for this checkbox by editing the system message in MediaWiki:Shoutwiki-loginform-tos.

Parameters[edit]

  • $wgAutoAddFriendOnInvite — if the new user was referred to the site by an existing user, should we make them friends automatically? Defaults to false.
  • $wgRegisterTrack — whether to track registrations into the user_register_track DB table. Defaults to false.
  • $wgForceNewSignupPageInitialization — initialize the extension, even if InviteEmail or UserRelationship classes do not exist? Useful for testing.


Social toolsSocial tools
SocialProfileExtension:SocialProfile OverviewExtension:SocialProfileDeveloper infoExtension:SocialProfile/For developersScreenshotsExtension:SocialProfile/ScreenshotsHistorySocial tools#History
Other social extensions Automatic Board WelcomeExtension:Automatic Board WelcomeBlogPageExtension:BlogPageChallengeExtension:ChallengeFanBoxesExtension:FanBoxesMiniInviteExtension:MiniInviteNewUsersListExtension:NewUsersListPictureGameExtension:PictureGamePollNYExtension:PollNYQuizGameExtension:QuizGameRandomFeaturedUserExtension:RandomFeaturedUserRandomGameUnitExtension:RandomGameUnitRandomUsersWithAvatarsExtension:RandomUsersWithAvatarsSiteMetricsExtension:SiteMetricsSiteScoutExtension:SiteScoutSportsTeamsExtension:SportsTeamsUserStatusExtension:UserStatusUserWelcomeExtension:UserWelcome
Other related extensions

(which do not depend on SocialProfile)

AnswersExtension:AnswersAJAXPollExtension:AJAXPollCommentsExtension:CommentsImageRatingExtension:ImageRatingLinkFilterExtension:LinkFilterMediaWikiChatExtension:MediaWikiChatNewSignupPageExtension:NewSignupPageTopListsExtension:TopListsVideoExtension:VideoVoteNYExtension:VoteNYWikiForumExtension:WikiForumWikiTextLoggedInOutExtension:WikiTextLoggedInOut

See also[edit]