Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Block someone from opening tickets in WHMCS?

raindog308raindog308 Administrator, Veteran

There is an individual who is very keen to market their services on LowEndBox. Unfortunately, it's barely-adjacent content with low quality, and we're just not interested.

I've politely explained this to them, but every few days there's another ticket saying "here's some more great stuff to put on your site".

Rather than close each ticket manually, I ws thinking to block their ability to open tickets. I clicked "block sender" but that added them to the "blocked email senders list" and did not stop them from continuing to open tickets.

I'm thinking there is something else in WHMCS I should be looking at...?

Before people start guessing, the individual is not a LET member and to my knowledge has never participated in our community.

Comments

  • tentortentor Member, Host Rep

    Are they changing their email? Is it opened via web form or via email sent? Also, do you have captcha enabled?

  • raindog308raindog308 Administrator, Veteran

    Is there a way to tell how the ticket is opened? I believe they're opening on https://services.lowendtalk.com/

    There is an IP address logged by WHMCS in the bottom of the ticket which I think means web-opened. I'm sure worst case we could block that IP but this seems like something WHMCS could do...?

    It's not spammy enough that a captcha would solve the problem. They open one ticket every day or two.

    It's the same email address. If I click "Block Sender" on it, I get:

    ...because I've clicked block sender before.

  • tentortentor Member, Host Rep

    Another option is to force visitors to register an account to make a ticket, but I am not sure if this is an option for you.

    WHMCS always had too much bugs for me.

    Thanked by 1host_c
  • jsgjsg Member, Resident Benchmarker

    Is source code for WHMCS available? I'm asking because this might actually be the shortest way to what you want.

  • raindog308raindog308 Administrator, Veteran

    @jsg said: Is source code for WHMCS available?

    Alas, no. WHMCS makes the templates available so you can reskin things, but the actual code is IONcube-encoded.

    Thanked by 1jsg
  • LowHostingLowHosting Member, Host Rep

    @jsg said:
    Is source code for WHMCS available? I'm asking because this might actually be the shortest way to what you want.

    Not really, but it's way too easy to find an uncoded version just by searching "WHMCS decoded" on GitHub

    Thanked by 1jsg
  • jsgjsg Member, Resident Benchmarker

    @raindog308 said:

    @jsg said: Is source code for WHMCS available?

    Alas, no. WHMCS makes the templates available so you can reskin things, but the actual code is IONcube-encoded.

    Yuck! But then that's what I expected.

    Well then, IP blocking it is, it seems. But maybe contacting them and letting them know that almost urging LET staff to tell about them publicly incl. mentioning their name isn't exactly a smart thing to do could help them to at least go considerably slower?

  • jsgjsg Member, Resident Benchmarker
    edited October 2024

    @LowHosting said:

    @jsg said:
    Is source code for WHMCS available? I'm asking because this might actually be the shortest way to what you want.

    Not really, but it's way too easy to find an uncoded version just by searching "WHMCS decoded" on GitHub

    Thanks a lot! *smirk

    But can those be trusted and are they halfway up to date versions?

    P.S. Actually I myself would choose the decompile the beast approach myself but I don't know about @raindog308's experience and expertise in that kind of tasks. Also, unlike me, he probably has (has to have) a more "get things done and efficiently" approach while I enjoy code analysis and making scripts do what I want/need (but then, I don't have to manage a business community like LEB...).

  • raindog308raindog308 Administrator, Veteran

    @LowHosting said: Not really, but it's way too easy to find an uncoded version just by searching "WHMCS decoded" on GitHub

    You don't say :D

    Thanked by 1LowHosting
  • LowHostingLowHosting Member, Host Rep
    edited October 2024

    @jsg said:

    @LowHosting said:

    @jsg said:
    Is source code for WHMCS available? I'm asking because this might actually be the shortest way to what you want.

    Not really, but it's way too easy to find an uncoded version just by searching "WHMCS decoded" on GitHub

    Thanks a lot! *smirk

    But can those be trusted and are they halfway up to date versions?

    As I saw, most are 7.x versions so a bit outdated, but still good if you just need to check how something works.

    Thanked by 1jsg
  • LowHostingLowHosting Member, Host Rep

    @raindog308 said:
    Is there a way to tell how the ticket is opened? I believe they're opening on https://services.lowendtalk.com/

    There is an IP address logged by WHMCS in the bottom of the ticket which I think means web-opened. I'm sure worst case we could block that IP but this seems like something WHMCS could do...?

    It's not spammy enough that a captcha would solve the problem. They open one ticket every day or two.

    It's the same email address. If I click "Block Sender" on it, I get:

    ...because I've clicked block sender before.

    Anyway, as I can remember blocking the email only stops the imports of the tickets from the mailboxes attached to WHMCS, they can still open tickets from the webpage.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    Will send you a hook in a sec to help with that.

    Francisco

  • emghemgh Member, Megathread Squad

    just remove/disable the account? if the user will make another account to circumvent, surely he/she will do that if you disable creations of tickets too?

  • LowHostingLowHosting Member, Host Rep

    @emgh said:
    just remove/disable the account? if the user will make another account to circumvent, surely he/she will do that if you disable creations of tickets too?

    Those are guest tickets.

    Thanked by 1emgh
  • Look at email headers and start blocking at asn level.

  • MikeAMikeA Member, Patron Provider
    edited October 2024

    @Levi said:
    Look at email headers and start blocking at asn level.

    It's probably submitted via the contact/ticket form, which doesn't do email checks.

    Edit: I'm incorrect apparently. Thought it didn't check it, at least a long time ago.

  • LowHostingLowHosting Member, Host Rep

    If anyone needs it, this hook extends the "Block sender" function even to the ticket-form https://pastebin.com/j9nQncQm

    Thanks to @Francisco for the code review!

  • emghemgh Member, Megathread Squad

    @LowHosting said:

    @emgh said:
    just remove/disable the account? if the user will make another account to circumvent, surely he/she will do that if you disable creations of tickets too?

    Those are guest tickets.

    Still sounds weird that they won’t stop when asked but they also won’t use another email to circumvent :D

  • need to pay that 7$ bilohbuck tax

  • LowHostingLowHosting Member, Host Rep

    @emgh said:

    @LowHosting said:

    @emgh said:
    just remove/disable the account? if the user will make another account to circumvent, surely he/she will do that if you disable creations of tickets too?

    Those are guest tickets.

    Still sounds weird that they won’t stop when asked but they also won’t use another email to circumvent :D

    It's probably automated spamming.

    Thanked by 1jsg
  • emghemgh Member, Megathread Squad

    @LowHosting said:

    @emgh said:

    @LowHosting said:

    @emgh said:
    just remove/disable the account? if the user will make another account to circumvent, surely he/she will do that if you disable creations of tickets too?

    Those are guest tickets.

    Still sounds weird that they won’t stop when asked but they also won’t use another email to circumvent :D

    It's probably automated spamming.

    I read it as their offer and message targetted LET specifically but maybe not

  • btchostbtchost Member
    edited October 2024

    Just use this hooks. I tried to post it here, but CloudFlare/forum restrictions prevent posting code. So, I created a GitHub release instead. Simply download the hooks (PHP file), and you're good to go. Feel free to update it as needed.

    https://github.com/BitcoinOffshoreHosting/WHMCS-Email-Ticket-Blocker-Hook/

    Edit: I didn't notice someone else had posted a hook before. Both hooks accomplish the same things, mine is just a bit simpler since it was coded in 2 minutes.

  • zmeuzmeu Member
    edited October 2024
  • jfreak53jfreak53 Member, Patron Provider

    If you still haven't solved this with all the hooks, we created a module years ago to block names, emails, addresses from new signups/orders. Shoot me a pm and I'll send it to you tomorrow morning when I get into the office.

    Thanked by 1nghialele
  • LowHostingLowHosting Member, Host Rep

    @LowHosting said:
    If anyone needs it, this hook extends the "Block sender" function even to the ticket-form https://pastebin.com/j9nQncQm

    Thanks to @Francisco for the code review!

    Found a bug and solved it on this new version:
    https://pastebin.com/9XmjrBPM

  • suyadi92suyadi92 Member
    edited October 2024

    @jsg said:
    Is source code for WHMCS available? I'm asking because this might actually be the shortest way to what you want.

    Yeah, that should be much easier if the source code is available. Just block those particular user from submitting the form

    [EDIT]

    If it is submitted without login then we need to check the message body then

Sign In or Register to comment.