Jump to content

jimsweb

Member
  • Content Count

    28
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jimsweb

  • Rank
    Junior Member

Recent Profile Visitors

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

  1. Yes, it would be awesome if any future release can take this up.. Btw, does anyone know if we can achieve seo friendly url using .htaccess technique
  2. With version 8 we have better SEO friendly URLS for product groups. Is there a way to change below url to better looking, SEO frindly URL such as https://xyz.com/domain/register https://xyz.com/cart.php?a=add&domain=register
  3. thanks John. I contacted reseller club and they were able to fix it for me. per them - "The issue was on account of a few products that were discontinued. We have fixed this and you should be able to successfully retrieve the pricing "
  4. even with 8.0.2 update the issue still persists.. unfortunately!
  5. @WHMCS John thank you. I enable module debug log and this is what came up in the logs that appear to be an error. The response seems saying 'general price not set'. This doesn't seem to be correct from resellerclub's perspective. I have verified it multiple times and all proces are set up over there. How do i fix this? any clues? products/reseller-cost-price Array ( [auth-userid] => xxxx [api-key] => xxxx [url] => https://httpapi.com/api/products/reseller-cost-price.json?auth-userid=xxx&api-key=xxx ) Array ( [status] => ERROR [message] => General price not set )
  6. @jlucho unfortunately it dint work. I also tried to reimport and it messed up everything. Both selling pricing and original price became zero after re-import.. !!! too annoying..
  7. @WHMCS John thanks for responding. Reseller club currency - USD WHMCS currencies - USD and INR
  8. yes, setUri seems no longer working after v8.0 upgrade. Any assistance, anyone?
  9. After upgrading to V8.0 and V8.0.1, I just noticed that the reseller club domain name prices are no longer displaying.. is there anyone else seeing this issue? if so how can we get this corrected? any help/comments highly appreciated.
  10. thank you @brian! it worked perfectly. Now my users are able to see login scree as soon as they click 'logout'!!!
  11. thank you @brian! i trried out following code per your suggestions, still it is not working.. please comment if i'm doing it wrong or not. /** redirect to login page without taking then to WHMCS domain search page when user logs out */ <?php function logout_redirect($vars) { header( 'Location: https://xxxxxx.com/clientarea.php' ) ; } add_hook("UserLogout",1,"logout_redirect",""); ?>
  12. Hello - appreciate if someone could guide me here. the following logout hook has been working correctly so far. However it stopped working when i upgraded to v 8.0. Can anyone comment why this hook failing after upgrade? /** redirect to login page without taking then to WHMCS domain search page when user logs out */ <?php function logout_redirect($vars) { header( 'Location: https://xxxxxx.com/clientarea.php' ) ; } add_hook("ClientLogout",1,"logout_redirect",""); ?>
  13. thank you.. i just figured it out. The following code works flawlessly! I had to remove tags such as '<noscript>' and 'type="text/javascript" ' etc... <?php # Matt's Cookie Hook # Written by brian! function fb_chat_hook($vars) { return <<<HTML <!-- Load Facebook SDK for JavaScript --> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ xfbml : true, version : 'v8.0' }); }; (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <!-- Your Chat Plugin code --> <div class="fb-customerchat" attribution=setup_tool page_id="xxxxxxxxxx" theme_color="#67b868" logged_in_greeting="Hello, How can we help you?" logged_out_greeting="Hello, How can we help you?"> </div> HTML; } add_hook("ClientAreaHeaderOutput", 1, "fb_chat_hook");
  14. thanks @brian! for responding. I have tried out below code per your suggestion. Unfortunately, it doesn't work either. Is there a workaround that we can use to inject this messenger code to WGMSCS? Now i'm wondering, how did the author of WHMCS messenger addon managed to inject this JS to client area... it should be a real magic 🙂 <?php # Matt's Cookie Hook # Written by brian! function fb_chat_hook($vars) { return <<<HTML <noscript> <div id="fb-root"></div> </noscript> <script type="text/javascript"> window.fbAsyncInit = function() { FB.init({ xfbml : true, version : 'v8.0' }); }; (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <noscript> <div class="fb-customerchat" attribution=setup_tool page_id="xxxxxxxxxxxxx" theme_color="#67b868" logged_in_greeting="Hello, How can we help you?" logged_out_greeting="Hello, How can we help you?"> </div> </noscript> HTML; } add_hook("ClientAreaHeaderOutput", 1, "fb_chat_hook");
×
×
  • 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