Jump to content
cdeese8

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

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)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines