Jump to content
thirty bees forum

Bird

Members
  • Posts

    2
  • Joined

  • Last visited

Bird's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter

Recent Badges

0

Reputation

  1. Our shop still needs some work, but it is mostly presentable. Would love to be added to the list. https://pipecoating24.de/
  2. Hi y'all, first of all, if this is in the wrong subforum, I'm sorry... I just created my account. 😅 So, a while ago I came up with the idea to create a new module for a proof of work captcha. After a quick search I found the amazing https://altcha.org/docs/ captcha system and obviously the (outdated) https://github.com/thirtybees/nocaptcharecaptcha. I got it kinda working but can't get rid of some issues and would love to get some help from this amazing community. Unknown issues: - The captcha works in the module configuration (which is obviously in the backoffice), but not on the login screen for the backoffice (careful when activating it, you have to delete the altchacaptcha module folder through your hosting to be able to login again) - Whenever I open the "Live Edit" (under Modules/Positions tab in the backoffice) with the module active, I get a popup with: TECHNICAL ERROR: Failed to load module list Known issues: - Some behaviour (like the advanced settings) might be buggy with both the altcha module and the nocaptcha module active, because of file conflicts (both modules use files with the same name) Because of the "Live Edit" error, I modified the `views/templates/front/hook-captcha.tpl`. It should actually look something like this: <label>{l s='Captcha' mod='altchacaptcha'} <sup>*</sup></label> <altcha-widget id="{$captchaHtmlId|escape:'html'}" challenge="{$challengeLink|escape:'html':'UTF-8'}" language="{$languageIso|escape:'html':'UTF-8'}"></altcha-widget> Also, I used AI during the creation of the module, because I never worked with PHP before. I try to keep my AI usage mostly to research, but occasionally I insert the provided code as is, because either it is just that good, or I'm way too dumb to code it myself. Hope you understand. As it is basically a rewrite of the NCRC module with AFL 3.0 and the Altcha code is licensed under MIT license, I think we can all work on this module going forward and distribute it as an official module. I don't have to be included in any credits, my only wish is for this module to stay free and open source. You can check the changes made to the main .php file with the attached diff.patch file, if you don't want to download the whole module. altchacaptcha.zip diff.patch
×
×
  • Create New...