Announcement

Collapse
No announcement yet.

Stop Links in Posts

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ayjayef
    commented on 's reply
    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.

  • glennrocksvb
    replied
    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.

    Leave a comment:


  • ayjayef
    replied
    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!

    Leave a comment:


  • ayjayef
    commented on 's reply
    Not really, if I disable the mod then the post won't be auto-moderated and the 2nd user would get an email anyway.

  • glennrocksvb
    commented on 's reply
    Now can you temporarily disable this mod and then try again? Just want to confirm it works without the mod.

  • ayjayef
    commented on 's reply
    Just created a new user and can confirm they received email notification with the the message and it appears in their message centre too... both with the link in a post that is waiting for moderation.

  • glennrocksvb
    commented on 's reply
    Can you test with a regular user subscriber on your site?

  • ayjayef
    commented on 's reply
    Good question, on my site the subscriber was an admin but on your site (this thread) I'm not an admin and it did the same.

  • glennrocksvb
    commented on 's reply
    Is the subscriber a regular user or a Moderator/Admin?

  • ayjayef
    replied
    I bought the mod, simple install into vBull 5.6.6 and the mod works well on all our testing including the spammers sneaky color changed links, thanks!

    I can confirm that if someone is subscribed to the thread or the sub-forum they will get email notification of a new post showing the moderated content which is not ideal. Hopefully we can workout how to stop that.

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    I'll test on my local setup to check if the issue also occurs there.

  • ayjayef
    replied
    I'm not smart enough to know if it's vB or your addon but I'm sure you'll make sense of it.

    I've not seen it happen on my site though.

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by ayjayef View Post
    I just posted a test from low post count account above with a link in it and it has correctly hid the post in a moderation queue.

    ...but, it emailed the subscription notification with the hidden spam link in it to everyone who is subscribed to this thread.

    Bug?
    That's a good catch. That looks like a bug. But even without this mod vB should not have emailed subscription notifications in the first place if a post is in moderated queue, right? That seems like a vB bug in itself. Other users should not see the moderated posts in the email.

    Leave a comment:


  • ayjayef
    replied
    I just posted a test from low post count account above with a link in it and it has correctly hid the post in a moderation queue.

    ...but, it emailed the subscription notification with the hidden spam link in it to everyone who is subscribed to this thread.

    Bug?

    Leave a comment:


  • elektro-kot
    replied
    kether , ayjayef

    Hi.
    The first version of the module worked fine, there was one error (previously i reported a problem).

    Recently, Glenn has released an update (version 1.1), everything works perfect now.

    Leave a comment:

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"