Jump to content

xyzulu

Member
  • Posts

    457
  • Joined

  • Last visited

  • Days Won

    7

xyzulu last won the day on July 12 2023

xyzulu had the most liked content!

About xyzulu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

xyzulu's Achievements

Senior Member

Senior Member (3/3)

37

Reputation

1

Community Answers

  1. Yes, as I noted in the first post.. it's possible to see the download after logging in to whmcs.com .. I do think this is unintended behaviour from WHMCS (not to list on the public download page) and I was hoping this thread might be useful to them.
  2. and yet there is an incremental patch from 8.10 to 8.10.1 out already.. this is all very confusing 😉
  3. As the title says.. see attachment. The only way to download 8.10 (now 8.10.1) is after login to whcms.com Is this a change to how we need to find the latest versions?
  4. Now that ioncube loaders support php 8.2, will WHMCS be supporting php 8.2 anytime soon? (8.1 is now EOL) @WHMCS John
  5. It works for me still.. I am using this hook (below). Might you be using a custom admin template perhaps? <?php # Stats Info Bar for v8 Blend # Written by brian! use WHMCS\Database\Capsule; use WHMCS\Billing\Invoice; use Carbon\Carbon; function admin_v8_infobar_hook($vars) { if ($vars['template'] == "blend") { $pendingstatuslist = Capsule::table('tblorderstatuses')->where('showpending','1')->pluck('title'); $pendingorders = Capsule::table('tblorders')->whereIn('status',$pendingstatuslist)->count(); $overdueinvoices = Invoice::overdue()->count(); $awaitingreplylist = Capsule::table('tblticketstatuses')->where('showawaiting','1')->pluck('title'); $ticketsawaiting = Capsule::table('tbltickets')->whereIn('status',$awaitingreplylist)->where('merged_ticket_id','0')->count(); $current_time = Carbon::now()->translatedFormat("l, j F Y, H:i"); $headerreturn = '<div style="margin: 0; padding: 5px; background-color: #1a4d80; display: block; width: 100%; max-height: 20px;"> <div style="text-align: center; color: #fff; font-size: .8em; margin: 0;"> <a href="orders.php?status=Pending" style="color: #fff;"><span style="font-weight: 700; color: #fc0;">'.$pendingorders.'</span> '.AdminLang::trans('stats.pendingorders').'</a> | <a href="invoices.php?status=Overdue" style="color: #fff;"><span style="font-weight: 700; color: #fc0;">'.$overdueinvoices.'</span> '.AdminLang::trans('stats.overdueinvoices').'</a> | <a href="supporttickets.php" style="color: #fff;"><span style="font-weight: 700; color: #fc0;">'.$ticketsawaiting.'</span> '.AdminLang::trans('stats.ticketsawaitingreply').'</a> </div> </div>'; return $headerreturn; } } add_hook("AdminAreaHeaderOutput",1,"admin_v8_infobar_hook");
  6. /clients.. /admin.. Just remove the '/clients' from the start of the rewrite directives
  7. WHMCS works wonderfully on Nginx (faster at the least), however WHMCS don't provide enough documentation. You can find all the tools you need to put things together yourself using Google, but I wanted to start this thread (and hopefully keep it updated) to keep track of the latest directives required. I'm not trying to teach you how to use Nginx or how to configure it. WHMCS will load and install just fine, but you will run into a few links that don't work in the admin and client side. At the least you need to include the following directives (including a block of the /vendor folder, which WHMCS do actually provide directions on ) : https://gist.github.com/xyzulu/dbe2762c131b7bf3fbfc67056a565ae0 .. if you don't know where to use these directives, then Nginx and WHMCS probably isn't for you. If you have any suggestions on better directives, or run into and issues please let me know here.
  8. I've dug into this subject, with a little help from here: Just in case more people search for this, I have also updated and provided a "vanilla" list of the nginx rules required here: https://gist.github.com/xyzulu/dbe2762c131b7bf3fbfc67056a565ae0 It would be good for WHMCS to support Nginx better.. a simple list of these rules in the documentation would be enough.. but anyway.
  9. For client login, just add something like: location ~ /whmcs/admin/client/?(.*)/login/?(.*)$ { rewrite ^/(.*)$ /whmcs/admin/index.php?rp=/client/?(.*)/login/$1; }
  10. I always run a manual update via cli , see: https://help.whmcs.com/m/updating/l/1465032-updating-whmcs-on-the-command-line Though, step one in the update directions is wrong (I've notified WHMCS before), you need to do something like: rsync -auvh src/ dest/ instead
  11. Any ideas about adjusting this behaviour? Currently with 2FA enabled, and a Google account linked the customer still needs to provide the 2FA code after login (using Google account). Seems a little over the top?
  12. Why not purchase a template for WHMCS? There are a few well known developers on this community that produce some excellent work allowing you to customize your install very easily.
  13. Check your server time... not just php.. though the cron runs on a the php cli time.. and not the php (web) time.
×
×
  • 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