Jump to content

Question and Answer Guest Topic

Recommended Posts

About This File

This plugin will add the Question and Answer Challenge when a guest tries to create a new topic in your board.


  • This plugin will create a cookie with 1 minute of lifetime. After that time, guest will have to answer again to the challenge.
  • Guests will be able to create the topic if you haven't set Questions and Answers (ACP -> Member -> Spam Prevension -> Question and Answer Challenge)



Edited by Adriano Faria
Link to comment
  • 2 months later...
  • 5 months later...
  • 2 years later...

Just a suggestion to save a really unnecessary DB query which is executed each time a topic is loaded: There's really no point in fetching the question inside the Topic::formElements hook for registered members. You can literally stop doing any further checks and return the parent method response  if the Member::loggedIn()->member_id check returns true 😉


Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...