https://github.com/lichtmetzger/mega-forms-local-captcha
Integrates a local captcha by MobiCMS into Mega Forms.
https://github.com/lichtmetzger/mega-forms-local-captcha
mega-forms wordpress wordpress-plugin
Last synced: 2 months ago
JSON representation
Integrates a local captcha by MobiCMS into Mega Forms.
- Host: GitHub
- URL: https://github.com/lichtmetzger/mega-forms-local-captcha
- Owner: lichtmetzger
- Created: 2023-06-05T13:12:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T14:34:42.000Z (about 2 years ago)
- Last Synced: 2025-07-23T21:55:49.630Z (11 months ago)
- Topics: mega-forms, wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 524 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Mega Forms - Local Captcha Addon
## Dependencies
First install composer:
https://getcomposer.org/download/
Then initialize it in the project folder:
```
composer install
composer dump-autoload
```
This project is based on the Node version specified in the .nvmrc file. **If you use a different version and commit a reformatted package.json, you will be punished.**
Look up Node Version Manager (nvm) to see how to use it.
## Translations
Translation files are generated by the wp-cli bundle, specifically the "wp-cli i18n" command. The translation domain for all strings is "mega-forms-local-captcha". Install wp-cli via composer:
```
composer install
```
Then, run
```
make pot
```
to generate a master file with all of the language definitions. You can use PoEdit to create .po and .mo files with your translations and put them into the languages directory.
## Building the main CSS file
The CSS of this plugin is generated by sass.
scss/main.scss is compiled into css/main.css.
The intended way to build this is to use sass included by npm:
```
npm run build-css
```
## Build release ZIP file
Make sure zip is installed:
```
sudo apt install zip
```
Then run:
```
make release
```
and you will get an unbloated mega-forms-local-captcha.zip that you can install in WordPress.