Jump to content

WHMCS Ticket Spam Control *AKISMET* (Need Beta Testers)


Recommended Posts

OK, so I tested the message reply piece and it appears to be working as it should. I created a ticket via the contact us form with a user that wasn't registered. Once it was done, i clicked the ticket number on the page and replied two more times. After that, I checked the subject and *** POSSIBLE SPAM *** was only entered one time. Is this what you were doing? I've attached a picture to show what I'm doing.

 

frontiFace.JPG

 

To take it a step further. I went into the admin side and replied to the ticket also. While this uses a seperate hook like the client reply, I tested it anyway and it appears to be working fine also. Here's a picture:

 

adminiFace.JPG

Edited by HawtDogFlvrwtr
Link to comment
Share on other sites

  • Replies 69
  • Created
  • Last Reply

Top Posters In This Topic

Sounds good. I recommend that you deactivate and reactive the plugin when you put 8 on there. Make sure you capture your license key and your api key before you do though. beta8 adds a table to the database called mod_trpspam which is required to determine if a ticket has been marked as spam (Instead of changing the default schema for the ticket table). If that table wasn't created, it will have the issue you speak of. I'm going to resolve this deactivate/reactive piece by adding an update statement to the addon for future versions that makes changes based on version installed...

Edited by HawtDogFlvrwtr
Link to comment
Share on other sites

Hello HawtDogFlvrwtr,

I was playing around with this addon, it blocked all spams, however i've suggestion,

 

On submission of ticket clients get's regular message

 

Ticket Created #395018

 

Your ticket has been successfully created. An email has been sent to your address with the ticket information. If you would like to view this ticket now you can do so.

 

However in background message is marked spam and no e-mail is sent to client

 

Is there anyway we can show Message here that the ticket has been marked spam, some thing like this

 

Ticket Created #395018

 

Your ticket has been created, however marked spam and closed. Possible reason content of ticket..........

 

Regards,

RJ

Edited by jainritesh
Link to comment
Share on other sites

Is there anyway we can show Message here that the ticket has been marked spam, some thing like this

 

Ticket Created #395018

 

Your ticket has been created, however marked spam and closed. Possible reason content of ticket..........

 

why would you do this as this defeats the object of the addon

Link to comment
Share on other sites

Hello HawtDogFlvrwtr,

I was playing around with this addon, it blocked all spams, however i've suggestion,

 

On submission of ticket clients get's regular message

 

 

 

However in background message is marked spam and no e-mail is sent to client

 

Is there anyway we can show Message here that the ticket has been marked spam, some thing like this

 

 

 

Regards,

RJ

 

thank you for the suggestion. I can certainly do that. I will focus on having that in the next version.

 

Thanks,

Chris

Link to comment
Share on other sites

why would you do this as this defeats the object of the addon

 

easyhosting,

 

Its a request for something he wants. Please don't slam what others request as everyone has different requirements. I will make it a selection and an entry screen where you can select if you want them to get an email or not. And if you do, you can enter the text you want to appear.

 

Thanks,

Chris.

Link to comment
Share on other sites

Hello HawtDogFlvrwtr,

One more thing i found is that if user creates a thread correctly and then starts spamming by replying it is not closed.

 

[ATTACH=CONFIG]3414[/ATTACH]

 

I've attached a picture about what i was trying.

 

Regards,

RJ

 

this was done intentionally but understand what you're saying. If the not posts something not seen as spam first and then does, it doesn't see it. I will have to think about resolving that.

Link to comment
Share on other sites

why would you do this as this defeats the object of the addon

 

The text is just an example, showing such error message will probably lead to less spam, as the user will not try to spam again. Presently he gets message ticket created so he will continue to spam (anyway we know in background this addon will mark the spam).

 

 

Regards,

RJ

Link to comment
Share on other sites

easyhosting,

 

Its a request for something he wants. Please don't slam what others request as everyone has different requirements. I will make it a selection and an entry screen where you can select if you want them to get an email or not. And if you do, you can enter the text you want to appear.

 

Thanks,

Chris.

 

No issue with that, with earlier post what i want was to display custom message showing some kind of error message to supress his spamming intention. I don't want that user to get any e-mail, present method of sending no e-mail is correct, as there is no point of sending e-mails as spammer won't use correct e-mail address and it will bounce.

 

Regards,

RJ

Link to comment
Share on other sites

easyhosting,

 

Its a request for something he wants. Please don't slam what others request as everyone has different requirements. I will make it a selection and an entry screen where you can select if you want them to get an email or not. And if you do, you can enter the text you want to appear.

 

Thanks,

Chris.

 

i was just really say what he wants defeats what you stated when beta8 was released

 

Emails are no longer sent to the ticket creator when it's marked as spam. This ensures two things:

 

They don't get your real business email address when a ticket is created on your page.

They don't get a confirmation that your email address is real.

Link to comment
Share on other sites

No issue with that, with earlier post what i want was to display custom message showing some kind of error message to supress his spamming intention. I don't want that user to get any e-mail, present method of sending no e-mail is correct, as there is no point of sending e-mails as spammer won't use correct e-mail address and it will bounce.

 

Regards,

RJ

 

i get you now, but a lot of spam are sent automated by machine so they wont see any message anyway, and if it is sent by a human they wont monitor it until they get an emailed reply

Link to comment
Share on other sites

Hello HawtDogFlvrwtr,

One more thing i found is that if user creates a thread correctly and then starts spamming by replying it is not closed.

 

[ATTACH=CONFIG]3414[/ATTACH]

 

I've attached a picture about what i was trying.

 

Regards,

RJ

 

 

Ok. I've fixed this by changing the secret code when it's detected as spam and when you mark it as spam. Now when they attempt to goto the link they were given to change or add to the ticket, it tells them the ticket isn't found.

 

 

Also, I've added the config option to allow the email to go to the ticket creator. Now you can select if want the confirmation email sent when spam is detected.

Edited by HawtDogFlvrwtr
Link to comment
Share on other sites

Hello HawtDogFlvrwtr,

I was playing around with this addon, it blocked all spams, however i've suggestion,

 

On submission of ticket clients get's regular message

 

 

 

However in background message is marked spam and no e-mail is sent to client

 

Is there anyway we can show Message here that the ticket has been marked spam, some thing like this

 

 

 

Regards,

RJ

 

This has been completed. Now when a ticket is submitted, If it's seen as spam, there is a new Smarty variable available to the client interface called SpamMessage. If the message was spam it will be true.. if not it will be false. To use it, you would simply change your supportticketsubmit-confirm.tpl file with a smarty IF statement like this.

 

{if $SpamMessage eq "true"}

Ut Oh.. your messages was spam.

{else}

<p>{$LANG.supportticketsticketcreateddesc}</p>

{/if}

 

Obviously, this will be part of the install README for the next release.

 

Here is a pic:

frontcIFace.jpg

Edited by HawtDogFlvrwtr
Link to comment
Share on other sites

It doesn't look all that sexy yet, but I wanted to give a sneak preview of the upcoming deleted/spam ticket table for the module. Initially it will show you tickets that were marked as spam even if they were deleted from the regular ticketing system... we keep them in a special table so that you can mark them as ham/restore them later to the ticketing system within WHMCS

 

In near-future beta versions we have a graph displaying the spam received over the year by month(compared to the previous year) and will add the ability to clear the spam tickets, restore them, and mark them as ham. For now though, it's just a view of the tickets.

 

Who knows... we may even make a widget for the admin home screen with statistics on spam related tickets. :)

 

[ATTACH=CONFIG]3398[/ATTACH]

 

A new release will probably be out tomorrow evening. I've gotten the sorting on all fields working. The final pieces of this addition is the ability to delete spam tickets and report them as HAM (from the spam recycle bin) .

Link to comment
Share on other sites

Beta 10 is released. You can get it from our page in your product download section.

 

here's what's new:

 

  • Added smarty client-side variable that can be used to display a special message when a spam ticket is submitted by a user.
  • Added old spam list.
  • Added sorting to spam list page.
  • Fixed Several Bugs
  • Tickets marked as spam but not deleted can no longer be added to by spammer. Previously they could just open the ticket and keep adding to it.. now that's impossible.
  • You now have the option to let the confirmation email out when a spammer submits a ticket (WE DO NOT RECOMMEND YOU DO THIS AS THEY WILL HAVE YOUR EMAIL ADDRESS)

Edited by HawtDogFlvrwtr
Link to comment
Share on other sites

Love BETA 10, seem to have a few issues with it spamming the activity log now though as the following has duplicated itself a lot (I've taken out the username & IP from the table)

 

[TABLE=class: datatable, width: 100%]

[TR]

[TD=bgcolor: #F3F3F3]10/08/2012 20:38[/TD]

[TD=bgcolor: #F3F3F3]

ReportSpam Value in DB:

[/TD]

[TD=bgcolor: #F3F3F3][/TD]

[TD=bgcolor: #F3F3F3][/TD]

[/TR]

[TR]

[TD]10/08/2012 20:38[/TD]

[TD]

TicketID:

[/TD]

[TD][/TD]

[TD][/TD]

[/TR]

[/TABLE]

 

When set to delete tickets the following occurred (I've removed the ticket ID myself):

 

[TABLE=class: datatable, width: 100%]

[TR]

[TD]10/08/2012 20:48[/TD]

[TD]

Deleted Ticket - Ticket ID: xxxx

[/TD]

[TD][/TD]

[TD][/TD]

[/TR]

[TR]

[TD=bgcolor: #F3F3F3]10/08/2012 20:48[/TD]

[TD=bgcolor: #F3F3F3]

idExists:

[/TD]

[TD=bgcolor: #F3F3F3][/TD]

[TD=bgcolor: #F3F3F3][/TD]

[/TR]

[/TABLE]

 

So I presume that's working fine, but it seems I also get a lot of this notice I presume if one or more staff members press the Report SPAM button???

 

[TABLE=class: datatable, width: 100%]

[TR]

[TD=bgcolor: #F3F3F3]10/08/2012 21:16[/TD]

[TD=bgcolor: #F3F3F3]

ALREADYSPAM SHOULD BE SET TO TRUE. LN 190

[/TD]

[TD=bgcolor: #F3F3F3][/TD]

[TD=bgcolor: #F3F3F3][/TD]

[/TR]

[/TABLE]

 

So is there a way other than removing the button, to mention a message to the person pressing the button that the ticket has already been marked as SPAM?

 

Also a suggestion:

 

An option to mark a ticket with your desired subject e.g. ****POSSIBLE SPAM *** & then automatically change the status to something else e.g. open, closed, pending, etc. rather than just the 3 options of change subject, close and finally delete, just encase it is HAM, or have I missed it and the HAM options are coming later?

Link to comment
Share on other sites

Love BETA 10, seem to have a few issues with it spamming the activity log now though as the following has duplicated itself a lot (I've taken out the username & IP from the table)

 

[TABLE=class: datatable, width: 100%]

[TR]

[TD=bgcolor: #F3F3F3]10/08/2012 20:38[/TD]

[TD=bgcolor: #F3F3F3]

ReportSpam Value in DB:

[/TD]

[TD=bgcolor: #F3F3F3][/TD]

[TD=bgcolor: #F3F3F3][/TD]

[/TR]

[TR]

[TD]10/08/2012 20:38[/TD]

[TD]

TicketID:

[/TD]

[TD][/TD]

[TD][/TD]

[/TR]

[/TABLE]

 

When set to delete tickets the following occurred (I've removed the ticket ID myself):

 

[TABLE=class: datatable, width: 100%]

[TR]

[TD]10/08/2012 20:48[/TD]

[TD]

Deleted Ticket - Ticket ID: xxxx

[/TD]

[TD][/TD]

[TD][/TD]

[/TR]

[TR]

[TD=bgcolor: #F3F3F3]10/08/2012 20:48[/TD]

[TD=bgcolor: #F3F3F3]

idExists:

[/TD]

[TD=bgcolor: #F3F3F3][/TD]

[TD=bgcolor: #F3F3F3][/TD]

[/TR]

[/TABLE]

 

So I presume that's working fine, but it seems I also get a lot of this notice I presume if one or more staff members press the Report SPAM button???

 

[TABLE=class: datatable, width: 100%]

[TR]

[TD=bgcolor: #F3F3F3]10/08/2012 21:16[/TD]

[TD=bgcolor: #F3F3F3]

ALREADYSPAM SHOULD BE SET TO TRUE. LN 190

[/TD]

[TD=bgcolor: #F3F3F3][/TD]

[TD=bgcolor: #F3F3F3][/TD]

[/TR]

[/TABLE]

 

So is there a way other than removing the button, to mention a message to the person pressing the button that the ticket has already been marked as SPAM?

 

Also a suggestion:

 

An option to mark a ticket with your desired subject e.g. ****POSSIBLE SPAM *** & then automatically change the status to something else e.g. open, closed, pending, etc. rather than just the 3 options of change subject, close and finally delete, just encase it is HAM, or have I missed it and the HAM options are coming later?

 

 

Ashley,

 

thank you for responding back. Those messages you are seeing are for my debugging purposes. Upon first release of a new feature, i leave the new feature debug logs enabled even when debug isn't enabled. The next release when i'm sure they are working fine, I will add them to the debug string so they don't appear unless debug is enabled.

 

The deleted ticket log is normal for WHMCS the idexists is one that I forgot to remove from last time. It won't be in the next release (whoops).

 

As for mentioning to the user, yes. I can have a popup occur when they click it and also remove the button. Is that what you mean?

 

As for the changing the status, that's a great idea. I will work on having that added to the next release. If not the next, then the one following that. BTW, the new spam ticket viewer will have a "report as ham" button that will restore the ticket back to the WHMCS ticket system and report back to akismet that it wasn't spam, so that it doesn't get marked as such next time... This is a kind of "recycle bin" for spam messages, so even if they are deleted from the ticket system, you can still restore them later from our spam ticket list.. you can get to this in beta 10 by clicking Addons>>WHMCS Ticket Spam within the WHMCS backend... obviously this will only appear if you've configured a permission level for the addon within the Setup>>Addon Modules for our addon.

 

As of now, you can only view and sort the previous tickets... but in the near future you will be able to restore, delete perminently, and report as ham and restore.

 

Thanks,

Christopher Phipps

The-Ratpack.com LLC

Edited by HawtDogFlvrwtr
Link to comment
Share on other sites

Ashley,

 

thank you for responding back. Those messages you are seeing are for my debugging purposes. Upon first release of a new feature, i leave the new feature debug logs enabled even when debug isn't enabled. The next release when i'm sure they are working fine, I will add them to the debug string so they don't appear unless debug is enabled.

 

The deleted ticket log is normal for WHMCS the idexists is one that I forgot to remove from last time. It won't be in the next release (whoops).

 

As for mentioning to the user, yes. I can have a popup occur when they click it and also remove the button. Is that what you mean?

 

As for the changing the status, that's a great idea. I will work on having that added to the next release. If not the next, then the one following that. BTW, the new spam ticket viewer will have a "report as ham" button that will restore the ticket back to the WHMCS ticket system and report back to akismet that it wasn't spam, so that it doesn't get marked as such next time... This is a kind of "recycle bin" for spam messages, so even if they are deleted from the ticket system, you can still restore them later from our spam ticket list.. you can get to this in beta 10 by clicking Addons>>WHMCS Ticket Spam within the WHMCS backend... obviously this will only appear if you've configured a permission level for the addon within the Setup>>Addon Modules for our addon.

 

As of now, you can only view and sort the previous tickets... but in the near future you will be able to restore, delete perminently, and report as ham and restore.

 

Thanks,

Christopher Phipps

The-Ratpack.com LLC

 

Okay thanks Chris, I thought perhaps they were coming later, but couldn't remember what you said.

 

As for the popup, yes that would be great to see, just so the person pressing it is aware that it has been marked as SPAM or already marked as SPAM, etc. as yesterday when testing the module, all my staff somehow pressed the button at the same time and no message was displayed to them so had no idea if it worked or not.

Link to comment
Share on other sites

Okay thanks Chris, I thought perhaps they were coming later, but couldn't remember what you said.

 

As for the popup, yes that would be great to see, just so the person pressing it is aware that it has been marked as SPAM or already marked as SPAM, etc. as yesterday when testing the module, all my staff somehow pressed the button at the same time and no message was displayed to them so had no idea if it worked or not.

 

Ashley, Great point.. I will have a check to the database when the button is clicked to ensure someone hasn't already done it before you click it. That will prevent double submits if more than one admin are looking at it, at a time.

 

Thanks,

Chris

Link to comment
Share on other sites

Ashley,

 

I decided to make use of the WHMCS infobox that appears at the top of the screen. Now when a ticket is submitted and it already has (when two people have the ticket open at the same time and click report spam one after the other), it will print a message to the top of the screen stating such. It will also print a message when it was successfully submitted as spam. Please see screenshot.

 

alreadySpam.jpg

 

I also added a confirmation box for when you click on the report spam button.

 

Thanks,

Chris

Edited by HawtDogFlvrwtr
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated