Jump to content

projectmyst

Retired Forum Member
  • Posts

    11
  • Joined

  • Last visited

Everything posted by projectmyst

  1. As far as I'm aware fail2ban can only query .log files, I don't thinking you can setup fail2ban filters using database.
  2. Hi I know failed logins get logged on the database, but is there a way to log failed logins to the admin section on a login.log? The reason for this is because I want to setup a rule for fail2ban. I'm just looking for some things like: failed to login user test@test.com from 192.168.1.1 any help would be appreciated.
  3. Hi brian How can I make it to just show the actives ones and not the totals. For example, only active domains and not total, active services and not total, due invoices and not total and so on. This is the code that I have so far. // Badge Count if (!is_null($client)) { $domainscount = $client->domains->count(); $servicescount = $client->services->count(); $invoicescount = $client->invoices->count(); $ticketscount = $client->tickets->count(); $quotescount = $client->quotes->count(); // Funds $currencydata = getCurrency($client->id); $creditcount = formatCurrency($client->credit, $currencydata); } // Cart Count Badge $itemsincart = (count($_SESSION['cart']['products']) + count($_SESSION['cart']['domains']));
  4. Hi brian Yeah that worked, thank you. I haded defined the badge correctly.
  5. Hi Everyone I'm trying to add active domains badge via hooks, but I'm not having much luck. Does anyone how I can achieve this? This is my current code: // Domains if ($primaryNavbar) { $primaryNavbar->addChild('Domains') ->setLabel('Domains') ->setOrder(97); if ($primaryNavbar && !is_null($primaryNavbar->getChild('Domains'))) { if (!is_null($client)) { $primaryNavbar->getChild('Domains')->addChild('My Domains') ->setUri('clientarea.php?action=domains') ->setLabel('My Domains') ->setBadge(($badges['activedomains'])) ->setOrder(1); $primaryNavbar->getChild('Domains')->addChild('Divider-My Domains') ->setUri('#') ->setLabel('-----') ->setClass('nav-divider') ->setOrder(2); } $primaryNavbar->getChild('Domains')->addChild('Register a New Domain') ->setUri('cart.php?a=add&domain=register') ->setLabel('Register a New Domain') ->setIcon('fas fa-envelope-open') ->setOrder(3); $primaryNavbar->getChild('Domains')->addChild('Transfer a Domain to Us') ->setUri('cart.php?a=add&domain=transfer') ->setLabel('Transfer Domains to Us') ->setIcon('fas fa-envelope-open') ->setOrder(4); if (!is_null($client)) { $primaryNavbar->getChild('Domains')->addChild('Divider-Renew Domains') ->setUri('#') ->setLabel('-----') ->setClass('nav-divider') ->setOrder(5); $primaryNavbar->getChild('Domains')->addChild('Renew Domains') ->setUri('cart.php?gid=renewals') ->setLabel('Renew Domains') ->setOrder(6); } } }
  6. Hi Everyone Has any one used whmcsconnect.com? I've used this guys for a few years and i have to say that his templet is vey nice, but thats where it ends. As a WHMCS seller and custemers service is really bad. Normally it takes him about 3-6 week to get back to you, and when you need support, its non existence. I got a skin from him, i asked for some support on a problem that the skin had at the beginning of the year, and i'm still waiting for an answer. This is hardly the first time, some time a go i got him to do some work for me wish he said it would take about a week, and 3 months later i had to harass him for the work that paid him do. Has any one had bad experience with this person? Please share you thoughts with everyone, lets as know what you think about whmcsconnect.com..
  7. Hi I'm having a little issue that maybe someone can help me with. My instillation of WHMCS keeps redirecting me from https://www.hostoncilla.co.uk/members/index.php to https://www.hostoncilla.co.uk/members/clientarea.php, I have tried everything but not having any lock. Does anyone know why it keeps happening? Thanks
  8. HI when Renewing a domain that ends with a .uk it gives me this message "Minimum Advance Renewal is 180 Days", every other domain works just fine. any one knows how to fix this, i have tried "$DomainRenewalMinimums = array('.co.uk'=>'1000','.org.uk'=>'1000','.me.uk'=>'1000'); " That doesn't work.
  9. Hi i register my domains with enom, now when i go to the DNS Management on the client section it gives me this options www. A 000.00.00.00 @ A 000.00.00.00 * A 000.00.00.00 now the 000.00.00.00 is my ip address, what do i have to add there to redirect that domain to another domain name with out having to add it on my cpanel?
  10. Hi when you go to the clients page where you can sign in to the cpanel and the webmail, is there any way of changing the wording on the link for the webmail? as in when you click on the webmail link it will come up as http://maydomain/webmail i want to change the webmail to just mail. Can any one help!
×
×
  • 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