FriendsOfFlarum StopForumSpam
Braden thanks, are you on 1.2?
luceos What's an SPS key, is this the API key for StopForumSpam? Because I generated one a few days ago, so it shouldn't have expired. But even then my understanding is it's used only when reporting spam, not when checking for spam.
Here are my settings:
Braden, are you sure you're on Flarum 1.2? Because after I installed 1.2 a nickname field appeared on the registration form and I don't see one on your screenshot. Here's how mine looks:
When I click on Sign Up, it goes OK and a temporary user is created, I also receive the email for confirmation on the vusra.com service and can confirm the email and then we have a normally registered user
luceos there are no logs.
Here's my info:
Flarum core 1.2.0
PHP version: 8.0.14
MySQL version: 5.7.32-35-log
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, mbstring, standard, mysqlnd, pcntl, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, imap, shmop, SimpleXML, soap, sockets, sodium, exif, sysvmsg, sysvsem, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache
+-------------------------------------+---------+--------+
| Flarum Extensions | | |
+-------------------------------------+---------+--------+
| ID | Version | Commit |
+-------------------------------------+---------+--------+
| flarum-flags | v1.2.0 | |
| flarum-suspend | v1.2.0 | |
| flarum-tags | v1.2.0 | |
| fof-spamblock | 1.0.2 | |
| flarum-subscriptions | v1.2.0 | |
| flarum-approval | v1.2.0 | |
| flarum-markdown | v1.2.0 | |
| v17development-seo | v1.8.0 | |
| sycho-move-posts | v0.1.5 | |
| fof-user-directory | 1.2.0 | |
| fof-user-bio | 1.0.1 | |
| fof-upload | 1.0.7 | |
| fof-stopforumspam | 1.1.1 | |
| fof-sitemap | 1.0.3 | |
| fof-polls | 1.0.5 | |
| fof-pages | 1.0.1 | |
| fof-nightmode | 1.1.8 | |
| fof-links | 1.0.3 | |
| fof-ignore-users | 1.0.2 | |
| fof-forum-statistics-widget | 1.0.2 | |
| fof-formatting | 1.0.2 | |
| fof-follow-tags | 1.0.2 | |
| fof-byobu | 1.1.0 | |
| flarum-sticky | v1.2.0 | |
| flarum-statistics | v1.2.0 | |
| flarum-pusher | v1.2.0 | |
| flarum-nicknames | v1.2.0 | |
| flarum-mentions | v1.2.0 | |
| flarum-lock | v1.2.0 | |
| flarum-likes | v1.2.0 | |
| flarum-lang-english | v1.2.0 | |
| flarum-emoji | v1.2.0 | |
| flarum-bbcode | v1.2.0 | |
| extiverse-mercury | 0.1.3 | |
| clarkwinkelmann-first-post-approval | 1.0.0 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| askvortsov-rich-text | v2.1.1 | |
| askvortsov-markdown-tables | v1.2.1 | |
+-------------------------------------+---------+--------+
Base URL: https://mydomain.com/forum
Installation path: /home/customer/www/mydomain.com/public_html/forum
Queue driver: sync
Mail driver: smtp
Debug mode: off
I reinstalled the extension, cleaned the cache multiple times... still the same. As a side note, I disabled it, purged it, then removed it with composer remove
but after installing it again I could see all my settings preserved, e.g. the API key. It was my understanding that purge would remove all DB settings for an extension or is that not the case?
Removing the extension via composer to some extension still leaves leftovers, its a known issue but it shouldn't be a reason for it not working. Infact it's a good sign you have the api key in your setting's
"Uninstall" (migrate down) feature in Flarum only removes data that the extension added through database migrations, so it often doesn't include the settings which are stored in a Flarum database table.
For it to clear settings, the extension developers need to add a migration that inserts an initial value for settings, and clears them in the down
function. Very few extensions actually do it, so in practice settings aren't impacted by that feature.
There's also no way for Flarum to automatically reset the settings because there isn't a standard naming or registration system for settings at the moment so Flarum has no way to know which setting value belongs to which extension.
I see, thanks.
Now, I really prefer having this extension working. What strategies can I test? Disabling extensions one by one while reproducing the faulty scenario to see whether another extension might be affecting it? Any way to debug the extension? I'm a Java developer but PHP doesn't mean a lot to me I can see the source code of the extension in the
vendor
folder. If I make some changes there, will they apply? Like putting some log statements?
- Edited
Braden nope, doesn't help. I tried everything, I set a threshold of 1, I enabled all possible combinations of enabled checks, all possible geographical regions...
Something is broken but I'm exhausted and just giving up since I don't know how to debug further This extension simply doesn't work on my forum and I will deinstall it. Had high hopes...
Amarok When testing for incompatibility with extensions is it enough to just disable them temporarily, or do I have to also purge and remove them through composer?
Amarok I've pasted above a list of my current extensions. Can you check and tell me which ones you don't have? I guess this will save me some time in finding ones that may cause incompatibilities and I will be thankful if you can do this favor to me
CyberGene Ouch, have a several... but could try to put here the full list :
acpl/mobile-tab
afrux/asirem
antoinefr/flarum-ext-bbcode-fa
askvortsov/flarum-auto-moderator
askvortsov/flarum-discussion-templates
askvortsov/flarum-help-tags
askvortsov/flarum-moderator-warnings
askvortsov/flarum-rich-text
blomstra/flag-duplicates
clarkwinkelmann/flarum-ext-author-change
clarkwinkelmann/flarum-ext-circle-groups
clarkwinkelmann/flarum-ext-collapsible-posts
clarkwinkelmann/flarum-ext-create-user-modal
clarkwinkelmann/flarum-ext-emojionearea
clarkwinkelmann/flarum-ext-first-post-approval
clarkwinkelmann/flarum-ext-popular-discussion-badge
darkle/fancybox
datlechin/flarum-add-like-controls
datlechin/flarum-pronouns
datlechin/flarum-scroll-buttons
flarum-lang/french
flarum-lang/german
flarum-lang/italian
flarum/approval
flarum/bbcode
flarum/core
flarum/emoji
flarum/flags
flarum/lang-english
flarum/likes
flarum/lock
flarum/markdown
flarum/mentions
flarum/nicknames
flarum/pusher
flarum/statistics
flarum/sticky
flarum/subscriptions
flarum/suspend
flarum/tags
flarumite/simple-discussion-views
flarumite/simple-spoilers
fof/analytics
fof/bbcode-details
fof/bbcode-tabs
fof/best-answer
fof/cookie-consent
fof/discussion-language
fof/disposable-emails
fof/drafts
fof/filter
fof/follow-tags
fof/formatting
fof/forum-statistics-widget
fof/gamification
fof/html-errors
fof/impersonate
fof/ignore-users
fof/linguist
fof/links
fof/masquerade
fof/merge-discussions
fof/moderator-notes
fof/nightmode
fof/oauth
fof/pages
fof/polls
fof/prevent-necrobumping
fof/profile-image-crop
fof/reactions
fof/share-social
fof/sitemap
fof/socialprofile
fof/spamblock
fof/split
fof/stopforumspam
fof/subscribed
fof/terms
fof/upload
fof/user-bio
fof/user-directory
fof/webhooks
ianm/follow-users
ianm/html-head
ianm/syndication
ianm/synopsis
jslirola/flarum-ext-login2seeplus
justoverclock/flarum-ext-feedback
justoverclock/flarum-ext-keywords
justoverclock/flarum-ext-welcomebox
kilowhat/flarum-ext-wordpress
kyrne/whisper
migratetoflarum/canonical
nearata/flarum-ext-tags-color-generator
noriods/auto-more
ramesh-dada/bbcode-alerts
ramesh-dada/realtime
serakoi/flarumdiscordtheme
sycho/flarum-advanced-extension-categories
sycho/flarum-profile-cover
the-turk/flarum-regrole
therealsujitk/flarum-ext-gifs
v17development/flarum-blog
v17development/flarum-seo
v17development/flarum-user-badges
webbinaro/flarum-calendar
yannisme/oxotheme
zerosonesfun/direct-links
zerosonesfun/flarum-member
Amarok This is easy, the only extensions I have that you don't have are these:
sycho-move-posts
fof-byobu
extiverse-mercury
askvortsov-markdown-tables
I will now disable them one by one until StopForumSpam starts working.
Disabled all those, still the same...