Comments (4)
@asdr45fsd35fdf Is your goal to add captchas (via the captcha plugin) to the unsubscribe page?
This plugin hook allows you to override the default unsubscribe page: unsubscribePage()
Another way would be to update the unsubscribe page template that is stored in the database (to make it user editable).
From a user perspective, perhaps the best approach would be to extend the captcha plugin to add an option to add captchas to unsubscribe pages (instead of creating a separate plugin).
Does that help?
from phplist3.
FYI @bramley
from phplist3.
@asdr45fsd35fdf If you want to use asubscribe then you need to create your own subscribe form to be included on your web site. Usually those tend to be small so adding captcha might disrupt the layout too much.
If you want captcha to be used then you'll need to look at the phplist subscribe page to copy and possibly modify the chunk of html that deals with captcha. So long as the same fields are submitted then the plugin will validate them.
To ensure that a different captcha is displayed each time there needs to be a random number generated. That is done automatically when the html is generated by the plugin but would need to be done by client side code in your case, see the quick start guide for an example
https://www.phpcaptcha.org/documentation/quickstart-guide/
from phplist3.
@samtuke
Sorry, I should have provided more context. I'm using asubscribe (ajax integration). I want captcha on my subscribe page (my html not phpList subscribe page) not the unsubscribe page. This is to prevent bots from spamming me. I saw built-in captcha plugin (that was disabled by default for me as it needs core plugin enabled first I think). I did not see a way how to integrate this captcha plugin into my custom html that uses asubscribe.
@bramley
Yes, that what I did. My site is one single html page with custom subscribe form. I don't want the user to leave my page. Thank you for the suggestion I will try to piggyback on what "phplist subscribe page" does when captcha is enabled.
I suspected that the plugin might not work with asubscribe out-of-the-box. Thank you for the link. I will investigate this.
The issue is closed as far as I'm concerned.
from phplist3.
Related Issues (20)
- Emoji in subject lines HOT 1
- list selection gets wiped unexpectedly
- hardcoded table names
- Difficulty to import emails HOT 3
- Cannot create new super admins HOT 1
- Private campain templates HOT 1
- Problem with definition of timestamp columns HOT 3
- feature request for the orgs i am with HOT 2
- Add a plugin homepage hook
- Add a hook to allow plugins to download attachments
- please add arm64 builds of docker images HOT 1
- Also process bounced unidentified message HOT 3
- Read this when opening an issue
- Unsubscribe with confirmation: why system does not to delete my email? HOT 1
- phplist logs me off instantly HOT 9
- Ability to disable 'test' features in future releases? HOT 2
- Unable to update translations HOT 2
- The contents of the email are being reset HOT 1
- Reorganisation of the resources site breaks Find plugins link HOT 7
- max_queries_per_hour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phplist3.