Jump to content

tuga

Member
  • Content Count

    29
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tuga

  • Rank
    Junior Member

Recent Profile Visitors

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

  1. Hi, A currency cannot be deleted when in use by clients and that wouldn't solve the price conversion to EUR.
  2. Hi, Long story short, we need to remove GBP currency from WHMCS and we'd like to convert all GBP users (~8k) to EUR. What's the best approach to this, bearing in mind that GBP service's prices are lower than EUR and they also need to be updated to EUR? Thank you.
  3. Your code worked flawlessly 👌 thank you so much.
  4. Hi Lee, I'll give it a try and post the results asap. Thank you very much.
  5. Hi, My credit card provider uses random charge name statements and some clients dispute the payments because they don't recognize them. Long story short, I'd like to insert an external variable on the invoice payment confirmation email. Something like: Request url Get var Insert var on email Is this possible? if so, how can it be done? Thank you.
  6. Hi, I've a variable in footer.tpl called {$footeroutput} and it's outputting 1. I could simply comment the variable to stop this output, but I'd like to understand where this number come from. Any idea how to debug this? Thank you.
  7. Hi, I'm developing a custom gateway payment module and it's already working for one time payments, but I'm wrapping my head around the best way to make it work with recurring subscriptions. I understand that on the first time the user chooses to subscribe, the payment gateway provides a unique subscriptionid (just like paypal or stripe do) and it's added to the tblhosting on the subscriptionid field, what I don't get is when the subscription renews, let's say after 1 month, how does the system handle this? How does it know which services/invoices need to renew or be marked as paid? Is there any tips that you can provide or a sample code/module that shows how recurring subscriptions are handled internally ? Any help will be very appreciated Thank you.
  8. For Brian's version to work, you've to change =!=[=C=D=A=T=A= to ![CDATA and ]=]=> to ]]> WRONG: echo '<title><=!=[=C=D=A=T=A=['.$data['title'].']=]=></title>'."\n"; CORRECT: echo '<title><![CDATA['.$data['title'].']]></title>'."\n";
  9. Here's an updated version with mysqli functions and & replaced with &amp; for sitemap validation : <?php header("Content-Type: application/xml; charset=ISO-8859-1"); echo '<?xml version="1.0" encoding="ISO-8859-1"?'.'>'."\n"; echo '<rss version="2.0">'."\n"; echo '<channel>'."\n"; define("CLIENTAREA",true); define("FORCESSL",true); # Uncomment to force the page to use https:// #require("dbconnect.php"); require("includes/functions.php"); require("includes/clientareafunctions.php"); $con = mysqli_connect("xxx","xxx","xxx","xxx"); $result = mysqli_query($con, "SELECT * FROM tblconfiguration WHERE setting='SystemURL' OR setting='CompanyName' OR setting='SEOFriendlyUrls'"); while ($data = mysqli_fetch_array($result, MYSQLI_ASSOC)) {$values[$data['setting']] = $data['value'];} echo '<title>'.$values['CompanyName'].' Knowledgebase Feed</title>'; echo '<description>'.$values['CompanyName'].' Knowledgebase Feed created by WHMCS Knowledgebase RSS addon module.</description>'; echo '<link>'.$values['SystemURL'].'</link>'; if (isset($_REQUEST['catid'])) { //Show this category $query = "SELECT * FROM `tblknowledgebase`,`tblknowledgebaselinks` WHERE `tblknowledgebaselinks`.`articleid` = `tblknowledgebase`.`id` AND `tblknowledgebaselinks`.`categoryid`=".(int)$_REQUEST['catid'];; } else { //Show all categories $query = "SELECT * FROM tblknowledgebase"; } $result = mysqli_query($con, $query); while ($data = mysqli_fetch_array($result, MYSQLI_ASSOC)) { echo '<item>'."\n"; echo '<title>'.$data['title'].'</title>'."\n"; echo '<description>'.strip_tags(substr($data['article'],0,140)).'</description>'."\n"; echo '<link>'.$values['SystemURL'].'knowledgebase.php?action=displayarticle&amp;id='.$data['id'].'</link>'."\n"; $seourls = 0; if($seourls){ echo '<link>'.$values['SystemURL'].'knowledgebase/'.$data['id'].'/'.str_replace(' ','-',$data['title']).'.html</link>'."\n"; }else{ echo '<link>'.$values['SystemURL'].'knowledgebase.php?action=displayarticle&amp;id='.$data['id'].'</link>'."\n"; }//if echo '</item>'."\n"; }//while echo '</channel>'."\n"; echo '</rss>'."\n"; mysqli_close($con); ?>
  10. Hi there, Is here a setting or hook that can be changed to disable sending the "Credit Card Payment Failed" email ? Thank you.
  11. I'm wondering about the same, did you managed to figure out?
  12. The error disappeared after a couple of days without a plausible explanation.
×
×
  • 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