Jump to content

Dgital Essence

Member
  • Content Count

    64
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Dgital Essence

  • Rank
    Level 2 Member

Recent Profile Visitors

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

  1. Thank you, the first properly useful report in WHMCS!
  2. Thanks, I feel like an idiot now! Ah, even more of an idiot. I've read their docs, edited the LangVar but still no luck. Will contact support and see what the next steps are. Thank you.
  3. Hi, I have the same issue. I've added the code you pasted Brian and it gives me a text field to enter text into but this isn't being pushed to my registrar which is Netearthone. Have I missed something obvious? Thanks.
  4. Hi, The Domain Sync Cron is not updating a domains Expiry Date or Next Due Date correctly. The cron is running and showed the following in the Activity Log: Modified Domain - Registration Date changed from '2017-12-13 00:00:00' to '2017-12-13', Expiry Date changed from '2018-12-13 00:00:00' to '2018-12-13', Status changed from 'Expired' to 'Active', Next Due Date changed from '2019-12-13 00:00:00' to '2019-12-13' - User ID: 155 - Domain ID: 172 But the Expiry date at the Registrar (NETEARTHONE) is 2020-12-13 so it's a year out of date and the domain keeps on being set back to Status: Expired. My system details are: OS: CLOUDLINUX 7.7 v84.0.17 PHP: 7.3.11 WHMCS: 7.8.2 Loader version: 10.3.9 Domain Sync Enabled: Yes Sync Next Due Date: Enabled - Set to 0 Domain Sync Notify Only: Disabled Running php -q ./cron.php -F all -vvv didn't show any errors and came back with [OK] Completed. Wondering where to look next to try and troubleshoot this. Thanks for your help.
  5. Any news on this? I'm seeing the same issue here. Or shall I also open a ticket?
  6. That does indeed fix the issue. I think I will remove the default template and possibly some others. Then integrate the changes in Six into my own custom template and I'm back to where I started. Thanks for your help.
  7. Hi, I've compared all 9 files mentioned with what I have in Standard_cart and there are no differences.
  8. Hi, I've just updated from 7.71 to 7.8.2 and now get a Stripe error in Setup > Payments > Payments Gateway > Manage Existing Gateways. It was working previously. Required Template Changes Not Found: We were unable to detect the presence of the required WHMCS 7.1 template changes for Stripe compatibility in your active order form or client area template. Please ensure the changes itemised in the 7.1 upgrade here have been applied. Please see Template Changes for more information. I'm using the Default template and Standard Cart and have cleared the template cache. Running through the changes in the 7.01 > 7.12 doc which is linked from the error above is showing different versions of files than I currently have in my template. For example checkout.tpl. Comparing changes between 7.7.1 and 7.8.2 and it don't mention any template files under the standard cart. Where am I going wrong? Thanks.
  9. Hi, Up until now PayPal has been my default payment gateway. I've recently added a new Credit Card gateway and moved it to the top of the list under Setup > Payments > Payments Gateways > Manage Existing. I would like all existing customers who have their Payment Method set to either "Select to Change Default" (which I am assuming is still PayPal as that was the default) or "Paypal" to "Credit Card". I don't want to change any customers who have it set to any other method. Is this possible in the front end or will it require an SQL query? Thanks,
  10. Liberty? The pleasure is all mine ;-) Although I'm testing this and still seeing the same The URL created is: Before: http://mydomain/whmcsadmin/clientsnotes.php?userid=59&action=edit&id=59 After: http://mydomain/whmcsadmin/clientsnotes.php?userid=59&action=edit&id=59
  11. Hi, I'm not sure if this has already been done but I use Sticky Notes to record additional work that needs to be invoiced at a later date but kept on forgetting who I'd done extra work for. So I've created a widget for the Admin Summary page that displays all the Sticky Notes with links through to the Customers Note and also the customer summary. Just create a new file in modules/widgets and paste this code in. Then head over to Setup > Staff Management > Administrator Roles > Edit and scroll down to Widgets and then tick yours (in this example it's called "Display Customer\'s Sticky Notes". This was created in Version: 5.3.11 and is still working in 6.1.1 but it if breaks yours or makes the sky fall down, I'm not liable... ?php # WHMCS Widget to display sticky notes on the Admin Summary # Hedley Phillips - Digital Essence if (!defined("WHMCS")) die("This file cannot be accessed directly"); function widget_display_sticky_notes() { $content = '<table bgcolor="#cccccc" align="center" style="margin-bottom:5px;width:100%;" cellspacing="1"> <tr bgcolor="#efefef" style="text-align:center;font-weight:bold;"><td>Customer</td><td>Note</td><td>Modified</td></tr>'; $x=1; $range = "<= 364"; $result = mysql_query("SELECT * FROM `tblnotes` JOIN tblclients ON tblclients.id=tblnotes.userid WHERE `sticky` = '1'"); while ($data = @mysql_fetch_array ($result)) { $noteid = $data["id"]; $userid = $data["userid"]; $firstname = $data["firstname"]; $lastname = $data["lastname"]; $note = $data["note"]; $date = $data["modified"]; $content .= '<tr bgcolor="#ffffff" style="text-align:center;"><td><a href="/whmcsadmin/clientssummary.php?userid='.$userid.'">'.$firstname. ' ' .$lastname.'</a></td><td><a href="/whmcsadmin/clientsnotes.php?userid='.$userid.'&action=edit&id='.$noteid.'">'.$note.'</a></td><td>'.$date.'</td></tr>'; $x=0; } if($x) $content = '<tr bgcolor="#ffffff" style="text-align:center;"><td colspan="7">No Sticky Notes to display</td></tr>'; $content .= '</table>'; return array( 'title' => 'Display Customer\'s Sticky Notes', 'content' => $content ); } add_hook("AdminHomeWidgets",1,"widget_display_sticky_notes"); ?> NOTE: What I can't get to work and am looking for input from others on is the edit function. I'm using: <a href="/whmcsadmin/clientsnotes.php?userid='.$userid.'&action=edit&id='.$noteid.'"> where: $noteid = $data["id"]; $userid = $data["userid"]; but it keeps on putting the customer id in both $userid and $noteid and I can't work out why.
  12. This CSS should do it. #clientsummarycontainer .ticketstaffnotes {background: red;} Obviously you need to change the colour to suit...
  13. Hi, I'm not sure if this has already been done but I use Sticky Notes to record additional work that needs to be invoiced at a later date but kept on forgetting who I'd done extra work for. So I've created a widget for the Admin Summary page that displays all the Sticky Notes with links through to the Customers Note and also the customer summary. Just create a new file in modules/widgets and paste this code in. Then head over to Setup > Staff Management > Administrator Roles > Edit and scroll down to Widgets and then tick yours (in this example it's called "Display Customer\'s Sticky Notes". This was tested in Version: 5.3.11. it works on my install but it if breaks yours or makes the sky fall down, I'm not liable... ?php # WHMCS Widget to display sticky notes on the Admin Summary # Hedley Phillips - Digital Essence if (!defined("WHMCS")) die("This file cannot be accessed directly"); function widget_display_sticky_notes() { $content = '<table bgcolor="#cccccc" align="center" style="margin-bottom:5px;width:100%;" cellspacing="1"> <tr bgcolor="#efefef" style="text-align:center;font-weight:bold;"><td>Customer</td><td>Note</td><td>Modified</td></tr>'; $x=1; $range = "<= 364"; $result = mysql_query("SELECT * FROM `tblnotes` JOIN tblclients ON tblclients.id=tblnotes.userid WHERE `sticky` = '1'"); while ($data = @mysql_fetch_array ($result)) { $noteid = $data["id"]; $userid = $data["userid"]; $firstname = $data["firstname"]; $lastname = $data["lastname"]; $note = $data["note"]; $date = $data["modified"]; $content .= '<tr bgcolor="#ffffff" style="text-align:center;"><td><a href="/whmcsadmin/clientssummary.php?userid='.$userid.'">'.$firstname. ' ' .$lastname.'</a></td><td><a href="/whmcsadmin/clientsnotes.php?userid='.$userid.'&action=edit&id='.$noteid.'">'.$note.'</a></td><td>'.$date.'</td></tr>'; $x=0; } if($x) $content = '<tr bgcolor="#ffffff" style="text-align:center;"><td colspan="7">No Sticky Notes to display</td></tr>'; $content .= '</table>'; return array( 'title' => 'Display Customer\'s Sticky Notes', 'content' => $content ); } add_hook("AdminHomeWidgets",1,"widget_display_sticky_notes"); ?> NOTE: What I can't get to work is the edit function. I'm using: <a href="/whmcsadmin/clientsnotes.php?userid='.$userid.'&action=edit&id='.$noteid.'"> where: $noteid = $data["id"]; $userid = $data["userid"]; but it keeps on putting the customer id in both $userid and $noteid and I can't work out why.
  14. Hi Alex, thank you for your reply. This worked a treat. For anyone else needing to do this: I logged into WHM and went to Modify an Account > Domain Name > Primary Domain and changed the domain name there. Just to note: As you said, email accounts had to be created on the new domain and then I copied the emails over from the old domain to the new domain using: cp -rp /home/USERNAME/mail/OLD DOMAIN/EMAIL ADDRESS /home/USERNAME/mail/NEW DOMAIN/ I now have a happy customer. Thanks again.
×
×
  • 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