Ilario42 Posted February 7, 2018 Share Posted February 7, 2018 Hi. I'm trying to insert the login integration into my WHMCS 7 template (which did not support login with facebook, twitter and google.) I tried, adding the linkedaccount.tpl file and including it in the registration and login page with " {include file="$template/linkedaccounts.tpl" linkContext="registration"} ". But it does not work. The page keeps loading, and when I click on the buttons I get an error. GET https://clientarea.windyhosting.eu/includes/jscript/statesdropdown.js net::ERR_ABORTED GET https://clientarea.windyhosting.eu/includes/jscript/statesdropdown.js net::ERR_ABORTED Uncaught ReferenceError: WHMCS is not defined at onLoginClick (register.php:316) at HTMLDivElement.onclick (register.php:371) onLoginClick @ register.php:316 onclick @ register.php:371 Uncaught ReferenceError: WHMCS is not defined at window.onerror (register.php:452) at d.onerror (default:234) window.onerror @ register.php:452 d.onerror @ default:234 Please Help https://imgur.com/a/RRCGf Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 11, 2018 Share Posted February 11, 2018 To start with, you want to make sure you're using the right place. WHMCS places JS in assets, not includes Now, how old is the template? You may need to do quite a bit of customization there. I don't think statesdropdown has been used in quite some time, so you might be stuck with an older version until you can get that theme ported (or just buy a new one :)) 1 Link to comment Share on other sites More sharing options...
Ilario42 Posted February 11, 2018 Author Share Posted February 11, 2018 Ciao. Questo tema ha lavorato solo nella versione 5.0 di WHMCS. Ho anche fatto compatibile nella versione 7. Lo sviluppatore ha smesso di aggiornare questo modello nella versione 5 (WHMCS). Così sono io quello che deve portare avanti per me. Per questo vi chiedo aiuto. Il modello in questione è un ACE Link to comment Share on other sites More sharing options...
Ilario42 Posted February 11, 2018 Author Share Posted February 11, 2018 English: Hello. This theme only worked in verse 5.0 of WHMCS. I have also made it compatible in version 7. The developer has stopped updating this template in verse 5 (whmcs). So I'm the one who has to carry it on for myself. I therefore ask you for help. The template in question is ace Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 12, 2018 Share Posted February 12, 2018 Well, it looks like you haven't made it fully compatible with 6, or 7. Like I said, statesdropdown isn't used any longer, so you're likely going to have a hell of a time getting this converted. WHMCS isn't terribly friendly when it comes tro development documentation. Link to comment Share on other sites More sharing options...
Recommended Posts