Jump to content

Login integration


Ilario42

Recommended Posts

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/RRCGfCattura.PNG.e3483fc4681c7ad1590b2ab5236a262b.PNG

Link to comment
Share on other sites

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 :))

Link to comment
Share on other sites

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


Cattura.thumb.PNG.d55b6d58e84a4a4b116d2d37eb7a29b0.PNG

Link to comment
Share on other sites

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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