Advertisement:

Author Topic: Image for Anti-Spam Verification Questions  (Read 668 times)

Offline GL700Wing

  • Charter Member
  • Sr. Member
  • *
  • Posts: 724
  • Gender: Female
    • GL700Wing on GitHub
Image for Anti-Spam Verification Questions
« on: January 08, 2021, 09:30:46 PM »
Link to Mod

Image for Anti-Spam Verification Questions

Custom Image for use with Anti-Spam Verification Questions

Following on from a tip shared by Sir Osis of Liver this mod has been created to enable Admins to use a custom image for the anti-spam verification questions that are created via Administration Center >> Security and Moderation >> Anti-Spam.  The custom image will be displayed everywhere verification is required (eg, registration, guest searches, guest posting, guest reporting posts, etc).

Suggestion: Save the image you want to use to the forum's 'images' folder.

This mod also includes some safeguards just in case the verification image cannot be accessed via the supplied URL and/or if the verification image cannot be seen on the pages on which it is displayed:
1.  A message will be displayed in the Admin Center if the verification image URL is not valid; and
2.  On the pages on which the verification image is displayed a link to contact the webmaster is provided if the verification image cannot be seen.

Also, and even though the verification image size is displayed at a maximum pixel resolution of 300x300 on the registration page, the full-sized version of the image will be displayed in a new window/tab by clicking on it.



License
Copyright 2020 Kathy Leslie

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Life doesn't have to be perfect to be wonderful ...

Offline Mick.

  • Customizer
  • SMF Hero
  • *
  • Posts: 5,448
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Image for Anti-Spam Verification Questions
« Reply #1 on: January 09, 2021, 08:17:36 AM »
Very cool. I dig it.

Offline GigaWatt

  • The Smiley Guy
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,346
  • Gender: Male
    • MechDR on GitHub
    • Macedonian electronics forum
Re: Image for Anti-Spam Verification Questions
« Reply #2 on: January 09, 2021, 10:40:35 AM »
Mhm, very cool ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Online Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,980
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Image for Anti-Spam Verification Questions
« Reply #3 on: January 09, 2021, 02:56:12 PM »
Nicely done, GL!
Please do not PM me for support.

Offline Dave J

  • Full Member
  • ***
  • Posts: 465
    • The Hobby Workshop
Re: Image for Anti-Spam Verification Questions
« Reply #4 on: July 03, 2021, 07:51:11 AM »
Just wanted to say that I think this is great. I created my own image to use also.

Thank you GL
All the Quiz info is here