GithubHelp home page GithubHelp logo

mattrude / prosody-register-web-template Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 11 KB

This repository holds the Prosody mod_register_web templates for my xmpp-site theme.

License: BSD 3-Clause "New" or "Revised" License

HTML 100.00%
xmpp xmpp-server recaptcha bootstrap3 html

prosody-register-web-template's Introduction

Prosody mod_register_web Template

This repository holds the Prosody mod_register_web templates for my Jekyll xmpp-site and xmpp-site-lite themes.

Features

  • bootstraps v3.3.7
  • reCAPTCHA support

Installing Template

  1. You must install the prosody module mod_register_web on your prosody server before this template will be used.

    1. Add the module as you would any other module, by adding: modules_enabled = { "mod_register_web"; }
  2. Download the template from this repository and place it on your prosody server.

  3. In your prosody.cfg.lua file, add the following line pointing to the location you saved this repository.

    register_web_template = "/path/to/your/custom-templates"

  4. Once complete, reload your prosody server.

reCAPTCHA Support

This template supports reCAPTCHA, to prevent bots from creating accounts on your server, to enable, add the below lines to your prosody.cfg.lua file. You will need to replace the values with the keys recived from the reCAPTCHA site.

captcha_options = {
  recaptcha_public_key = "78901";
  recaptcha_private_key = "12345";
}

prosody-register-web-template's People

Contributors

mattrude avatar

Stargazers

 avatar

Watchers

 avatar  avatar

prosody-register-web-template's Issues

Validate fields before submitting request.

Validate the forms fields using javascript before attempting to submit the new user request.

It should...

  • Confirm the username field is not null
  • Confirm the password fields match
  • Confirm the email address fields is in the correct format

See the project jqBootstrapValidation as a potental option.

OT: alternative to recapthca?

Hi Mattrude!

This is offtopic question, that really concerns Prosody. I ask you to look expert.
Do you know if exist any register_web module using an alternative to Google (captcha) testing?

Many tanks!

davide

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.