Jump to content

Admin Hook to insert option to Ban IP and Delete selected Support Tickets(s)


cdeese8

Recommended Posts

questions:
1.) Do you know of a better way to avoid even IP banning?
2.) How do I add an action or input selector to admin page supporttickets.php that'll Ban IP Sender & Delete?
3.) Is this something a hook should be used for or is an addon module better?

Here are the current available options: https://i.imgur.com/rl6Me9P.png
Here is what I imagine the end-result to look: https://i.imgur.com/kE1dRmh.png

The spam subjects are so crafty, these bots use keywords that are "non-targetable" like "Ivan, Grobock, Masil and Ressel Ukraine". That means adding a spam control that target's "Subject" won't work.

Thanks for time

notes:
* hope community has existing solution
* avoid enabling google captcha service.
* avoid creating Support Ticket Spam Control subjects or phrases on https://whmcs.demo/admin/configticketspamcontrol.php
* avoid having to pay for third party to develop addon

misc:
* WHMCS 7.4 using stock admin template
* https://docs.whmcs.com/Security/Ban_Control
* https://developers.whmcs.com/api-reference/addbannedip/
* $_ADMINLANG['support']['blockanddelete'] = "Block Sender & Delete";
* https://whmcs.demo/admin/configbannedips.php
* <form method="post" action="/whmcs/configbannedips.php">
* supporttickets.php file (place where i want to add ban ip input form option)
* configbannedips.php file (place where ban ip option is located)

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