Jump to content

khurramalvi

Member
  • Posts

    18
  • Joined

  • Last visited

About khurramalvi

khurramalvi's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi Brain, Thanks for the quick response. I will try again to customise the domainpricing feed. The product pricing is a toggle between month and year, so I am wondering that I have to call the JS file a few many times. https://webhostingmix.com/wordpress-hosting.php
  2. That was the first option. I tried and it wasn't easy to do as I use many custom classes and the structure is different. It will be same when I want to fetch the pricing for the product. I will need to call "feeds/productsinfo.php" for each hosting product then make call 6 times to show monthly, yearly pricing. Any other suggestions.
  3. Hello, I searched for the answer before posting this question. I know there is a domainprice feed available to display pricing table and show individual pricing. https://docs.whmcs.com/Data_Feeds#Individual_TLD_Pricing The styling of my website is complex and I would like to use Individual TLD Pricing snippet to display the TLD name and the price. However, I don't want to call JavaScript file 30 times. Website URL: https://webhostingmix.com/register-domain.php Is there any snippet which I can use to display the domain name and price by calling JavaScript file once? Any help is appreciated.
  4. Save my life. I was trying to fix this issue from last three days along with server admin and WHMCS team. WHMCS had no clue about error.
  5. Is that possible to show cart outside WHMCS? Many thanks
  6. Thanks for the reply. I put the same code in homepage and it works fine http://www.mywebhosted.com/
  7. Hi, I am getting a JavaScript error on IE8 when browing WHMCS ajax order form, below is the summary: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://bsalsa.com) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; FDM; .NET CLR 3.0.30618; .NET CLR 3.5.30729) Timestamp: Mon, 9 May 2011 21:53:17 UTC Message: Expected '{' Line: 18 Char: 14 Code: 0 URI: https://www.mywebhosted.com/support/order/?pid=1&skip=1 Message: 'tagName' is null or not an object Line: 73 Char: 4 Code: 0 URI: https://www.mywebhosted.com/support/order/?pid=1&skip=1 Message: 'tagName' is null or not an object Line: 73 Char: 4 Code: 0 URI: https://www.mywebhosted.com/support/order/?pid=1&skip=1 All .js code works fine on the homepage http://www.mywebhosted.com/ Please can anyone advice on how to solve this problem. Many Thanks
  8. Thanks for the reply. It is fine with images but can you suggest something about unsecure links. Let me show your my website, please follow below url: http://www.mywebhosted.com/support/ So all the header and footer links are unsecure for e.g. Home, Domain Registration, etc... how can I switch between secure and unsecure links? Best Regards
  9. Detect if https then convert all urls to https Hi, I am facing a big challenge with WHMCS. I installed SSL certficate and in firefox everything works fine but in IE I got annoying popup saying that this page has unsecure items. I want to have function that detect that if I am on https then all links will change from http to https for e.g. http://www.domain.com/images/logo.php'>http://www.domain.com/images/logo.php to https://www.domain.com/images/logo.php'>https://www.domain.com/images/logo.php and so on. This works fine when I hardcode everything but when I go out of secure path everything messed up because it calls my homepage i.e. https://www.domain.com instead http://www.domain.com I found this piece of code and it doesn't work with whmcs. if ($_SERVER['HTTPS']!="on") { $url = "https://".$_SERVER["HTTP_HOST"]."/".$_SERVER["REQUEST_URI"]; header("Location: $url"); exit; } I am thinking a way around to create something like this: <a href="page.php" {php if ($securepage == 'https://') { }else="http://"{php } }> Thanks for your help.
  10. Hi, I dont know where to post. I was facing an issue with Ajax floating form and figure out that by adding a simple css in 'cartsummary' id. Below is the fix. #cartsummary { background-color: #f8f8f8; color: #000000; width: 200px; font-size: 11px; border: 1px solid #ccc; left:51%!important; } Just add 'left:51%!important;' in #cartsummary and floating issue will be fixed. Here is the fix URL: https://www.mywebhosted.com/support/order/?pid=1&skip=1 Cheers!
×
×
  • 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