Announcement
Collapse
No announcement yet.
Stop Links in Posts
Collapse
X
-
Maybe vB is not invoking the PHP hook in comments.Last edited by glennrocksvb; 01-29-2022, 11:20 PM.
- Top
- Translate
- Bottom
-
Found a loophole Glenn (actually spammers on our site found a loophole)
You can put a link in a comment and it's published.
See post #35 above.
- Top
- Translate
- Bottom
-
Thanks for confirming the fix works on your site.
- Top
- Translate
- Bottom
-
I was just emailed the new version 1.2, installed, tested, FIXED.
Great and super speedy work Glenn, thanks!
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
I have released v1.2 and updated first post. All the purchasers of this mod were emailed containing the download link to the new version. Thanks to ayjayef for reporting this issue. This was a good catch.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
Originally posted by ayjayef View PostThat works on this site. Spamtester posted a link in reply to this post and it's in the moderation queue. ayjayef didn't get email notification of a new post.
I think you've fixed the quirk.
- Top
- Translate
- Bottom
Leave a comment:
-
That works on this site. Spamtester posted a link in reply to this post and it's in the moderation queue. ayjayef didn't get email notification of a new post.
I think you've fixed the quirk.
- Top
- Translate
- Bottom
-
ayjayef, I have deployed the fix here on this site. Can you test using your other account?
- Top
- Translate
- Bottom
Leave a comment:
-
If you want ayjayef I can send you the updated file that is part of the mod to quickly test the solution on your site. What do you think?
- Top
- Translate
- Bottom
-
I think I found a solution that doesn't require a new PHP hook or editing existing PHP code. I just need to test it thoroughly.
- Top
- Translate
- Bottom
Leave a comment:
-
My experience of vB development is that they'll never do something to help a third party mod which wouldn't be news to you either.
Re applying a code fudge after future upgrades is a pain to remember but at worst, it ends up like it is at the moment until I see the problem and patch again so that's not too bad a result.
- Top
- Translate
- Bottom
-
Ok I think I know what's going on now. The PHP hook that is used to set the reported post into moderation queue that the mod is doing is vB's onAfterContentAddOrUpdate hook function which means the spam post has been saved already before vB triggered this hook. So at that point, vB has triggered the email notifications to the subscribers (as it normally does for a new post) before the mod is able to automatically disapprove the post.
To resolve this issue, vB should add a PHP hook right before it triggers the email to the subscribers to let third-party mods be able to cancel the email.
I will see if I can manually add a PHP hook as a temporary solution. If this is feasible, this would require editing existing PHP code which means this would have to be re-applied after every vB upgrade.
- Top
- Translate
- Bottom
Leave a comment:
-
This bug became real today. Stop Links in Posts blocked a spammer (great!) put the message in a moderation queue and emailed all those subscribed to the area. One of our users followed the forum link in his email notification and got and error that he wasn't allowed to view (as expected as it's in the moderation queue). Contacted us to ask why he was blocked!
- Top
- Translate
- Bottom
Leave a comment:
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
-
Reply to Topic Starter Ribbon for vBCloudby glennrocksvbThanks for reporting. I'll bookmark this post and check the issue.04-22-2024, 06:40 PM
-
Reply to Topic Starter Ribbon for vBCloudby MitchIt seems since the 6.0.4 update the topic starter is no longer working04-22-2024, 05:02 PM
-
Get Affordable and Fast VPS for vBulletin
Leave a comment: