This commit is contained in:
Cyberes 2020-11-02 21:44:52 -07:00
parent 98c386137b
commit 7dd02229db
1 changed files with 9 additions and 6 deletions

View File

@ -1,14 +1,19 @@
A better version of the classic contact form extension.
**New features:**
- reCAPTCHA protection
- Better email layout
- Always track a user's IP
- Handle reverse proxy and Cloudflare IPs
# Install
1. `git clone https://git.dp15.us/dpanzer/ProtectedContactPage.git`
1. `git clone https://git.dp15.us/dpanzer/ProtectedContactPage.git`
2. Make sure you have set `$wgPasswordSender` and have set up SMTP.
2. Make sure you have set `$wgPasswordSender` and have set up SMTP.
3. Add to the bottom of `LocalSettings.php`:
3. Add to the bottom of `LocalSettings.php`:
```php
$wgReCaptchaSiteKey = 'you public key';
@ -34,8 +39,6 @@ $wgContactConfig['default'] = array(
);
```
# Usage
Go to `Special:Contact` to access the contact form.
Go to `Special:Contact` to access the contact form.