Jump to content

jrnetwork

Member
  • Posts

    77
  • Joined

  • Last visited

About jrnetwork

jrnetwork's Achievements

Member

Member (2/3)

0

Reputation

  1. Seem I too will have to move on from wstripe.ca, as I logged a ticket with them 2 weeks ago and took one week to acknowledge my email, and I've heard nothing back since. I've used their website ticket form, their email direct, even contacted the guy via Facebook. Nothing! Very annoyed since it's one of the more expensive Stripe WHMCS modules around.
  2. Hi Brian, I gave that a whirl and used my language override file to put this entry in: $_LANG['invoiceoverdue'] = "Overdue"; When I put the following code into my invoicepdf.tpl file, it worked great for an invoice that was overdue. The only change I made to it was for the size of the text and the rotation of the object, so I made this change: $pdf->SetFont('freesans','B',18); and $pdf->Rotate(-35,105,230); When I view a pdf of an invoice that is overdue, it looks perfect, spot on. However now when I view any other invoice that is yet to be paid but not overdue, I get a massive error on the screen. Here's the code I used in full, would you mind trying that at your end to see what's causing the error: # Determine if invoice is overdue $today = new DateTime('now'); $deadline = new DateTime($duedate); if (($today > $deadline) and ($status=="Unpaid")) { $overdue = "Overdue" ; } # Invoice Status $statustext = $_LANG['invoices'.strtolower($status)]; $pdf->SetFillColor(223,85,74); $pdf->SetDrawColor(171,49,43); if ($status=="Paid") { $pdf->SetFillColor(151,223,74); $pdf->SetDrawColor(110,192,70); }elseif ($status=="Cancelled") { $pdf->SetFillColor(200); $pdf->SetDrawColor(140); } elseif ($status=="Refunded") { $pdf->SetFillColor(131,182,218); $pdf->SetDrawColor(91,136,182); } elseif ($status=="Collections") { $pdf->SetFillColor(3,3,2); $pdf->SetDrawColor(127); } elseif ($overdue=="Overdue") { $pdf->SetFillColor(223,85,74); $pdf->SetDrawColor(171,49,43); } $pdf->SetXY(0,0); $pdf->SetFont('freesans','B',18); $pdf->SetTextColor(255); $pdf->SetLineWidth(0.75); $pdf->StartTransform(); $pdf->Rotate(-35,105,230); if ($overdue=="Overdue"){ $pdf->Cell(100,18,strtoupper($_LANG['invoiceoverdue']),'TB',0,'C','1'); } else { $pdf->Cell(100,18,strtoupper($statustext),'TB',0,'C','1'); } $pdf->StopTransform(); $pdf->SetTextColor(0); Cheers
  3. Hello, I've got the following in my invoicepdf.tpl file, and all I've changed are is the size and colour. I'd like to know if there is a status for Overdue that I can use so that when an overdue invoice goes out, the text panel at the top right is red. Happy to add a string to my language override file if need bed. I can see there are the standard ones for Paid, Cancelled etc, but would like to know if there is one for Overdue? Look forward to any replies. # Invoice Status $statustext = $_LANG['invoices'.strtolower($status)]; $pdf->SetFillColor(71,181,232); $pdf->SetDrawColor(0,129,200); if ($status=="Paid") { $pdf->SetFillColor(151,223,74); $pdf->SetDrawColor(110,192,70); }elseif ($status=="Cancelled") { $pdf->SetFillColor(200); $pdf->SetDrawColor(140); } elseif ($status=="Refunded") { $pdf->SetFillColor(131,182,218); $pdf->SetDrawColor(91,136,182); } elseif ($status=="Collections") { $pdf->SetFillColor(3,3,2); $pdf->SetDrawColor(127); }
  4. Hello whmcs'ers, I'm looking for an advanced integration of whmcs into a well-known and robust Wordpress theme. I've written a scoping document on this and would like to know if there are some quality developers/development teams on there that handle such a thing so I can contact them. I've searched Google and it's a mine field out there, so I figured this would be the best place to start. Look forward to any advice or good contacts. I'm willing to pay good money to get this job done. Thanks.
  5. Hello whmcs'ers, I'm looking for an advanced integration of whmcs into a well-known and robust Wordpress theme. I've written a scoping document on this and would like to know if there are some quality developers/development teams on there that handle such a thing so I can contact them. I've searched Google and it's a mine field out there, so I figured this would be the best place to start. Look forward to any advice or good contacts. I'm willing to pay good money to get this job done. Thanks.
  6. Mojahed, Thanks so much for your reply. I've just bookmarked your website. What's the best way for us to converse outside of this forum? Cheers.
  7. @mojahed yes I have whmcs set up and running fine, have done for 4 years. I've on the latest version. I also have wordpress installed on the same domain as my whmcs. So I'm looking at the best way to go about this. Do I choose a Wordpress theme that I desire and then tweak that to match what I want, and then get the WHMCS integrated into that. I also have installed the WHMCS Bridge Pro plugin, and am not sure if that is the best way to go, or just get a custom job done. Hope that helps to get a clearer answer
  8. I'm looking for a contractor to assist me in integrating my WHMCS system into the latest Wordpress. Please PM me if you are available to do this.
  9. Just got notified of the new version of Stardevelop Live Help: http://blog.stardevelop.com/2012/04/16/embedded-live-chat-feature-available-now/ Any updates on how to implement the new Live Help HTML code into the whmcs template?
  10. I've been putting this coding into my file: templates\orderforms\default\complete.tpl but wondering whether this is still required given that Google Analytics is now built into the system: {php} $orderid = $this->get_template_vars('orderid'); $userid = $_SESSION["uid"]; // get client data $result = select_query("tblclients","city, state, country",array("id"=>$userid)); $data = mysql_fetch_array($result); $city = $data["city"]; $state = $data["state"]; $country = $data["country"]; $this->assign('city',$city); $this->assign('state',$state); $this->assign('country',$country); // get package name $result = select_query("tblhosting","packageid",array("orderid"=>$orderid)); $data = mysql_fetch_array($result); $packageid = $data["packageid"]; $result = select_query("tblproducts","name, type",array("id"=>$packageid)); $data = mysql_fetch_array($result); $name = $data["name"]; $type = $data["type"]; $this->assign('name',$name); $this->assign('type',$type); $this->assign('packageid',$packageid); {/php} <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXXXXX-1']); _gaq.push(['_trackPageview']); _gaq.push(['_addTrans', '{$orderid}', // order ID - required '', // affiliation or store name '{$amount}', // total - required '0', // tax '0', // shipping '{$city}', // city '{$state}', // state or province '{$country}' // country ]); // add item might be called for every item in the shopping cart // where your ecommerce engine loops through each item in the cart and // prints out _addItem for each _gaq.push(['_addItem', '{$orderid}', // order ID - required '{$packageid} - {$name}', // SKU/code - required '{$name}', // product name '{$type}', // category or variation '{$amount}', // unit price - required '1' // quantity - required ]); _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers _gaq.push(['_trackPageview', '/client/cart.php?a=complete&pid={$packageid}']); {literal} (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); {/literal} </script>
  11. I've never done that before, is it easy? Are there instructions how to do it. And why is it not included by default?
  12. Okay, I've downloaded the index.php fix...just need to know where the link is to the Project Management module on the Client Login area.
  13. I've been using my project management for a while, and have upgraded to the latest version, and have changed the settings to allow client area access. I login as a client that has projects assigned, and when I browse to /support/index.php?m=project_management I get a log in screen, asking for the client login details again. I type in the correct details and it keeps coming back to that screen, as if they are wrong. I've tried to access this for a few clients... same issue. Also, on the portal home page, there is no link to the Project Management section either. Is this not working, or am I missing something? I'm running WHMCS 5.03 and Project Management 1.1.
  14. I'm having the exact same issue... with all modern browsers. It's worse than I used to experience. When I had version 4.x installed, if I had been logged in for a long time, and typed something into the search box, nothing would happen unless I refreshed the page, and then searched again. With this version, it brings up the exact same thing for me as seedm8 uploaded. And yes, I have the remember me box ticked. I'm glad I'm not the only person this is happening for.
  15. Just got an update to my iWHMCS update from the app store, but I can't find any details about the update or what it contains or fixes.... is this going to be posted soon? Thanks.
×
×
  • 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