plugin_name); $apikey = $options['apikey']; $advisr_brokers_config = $options['advisr-brokers-config']; //settings_fields($this->plugin_name); //do_settings_sections($this->plugin_name); if(!empty($_POST['disconnect']) && $_POST['disconnect'] == 'Disconnect'){ // $disconnect=$_POST['disconnect']; $disconnect['apikey']=''; update_option($this->plugin_name, $disconnect); echo ''; } $email=$_POST['email']; $password=$_POST['password']; $submit=$_POST['submit']; if(!empty($email) && !empty($password) && $submit == 'Login') { //print_r($_POST); $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://advisr.com.au/api/authenticate?email='.$email.'&password='.$password, // CURLOPT_URL => 'https://advisr.advisrdev.com.au/api/authenticate?email='.$email.'&password='.$password, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', )); $response = curl_exec($curl); curl_close($curl); //echo $response; } $result=json_decode($response); //echo"token new: ";print_r($result->token); $newtoken=$result->token; $message=$result->message; if(!empty($newtoken)){ $apikey_token['apikey']=$newtoken; update_option($this->plugin_name, $apikey_token); echo ''; } ?>
.'/logo.png' ?>)
www.advisr.com.au', 'adviser_plugin' ); ?>
To use the Advisr Toolbox you will need to have an Advisr brokerage account. To see if you have an Advisr account search for your brokerage at www.advisr.com.au
Register your brokerage here.
Need help? Connect with support@advisr.com.au
Instantly build the team page on your brokerage website. Bring together your broker team as they appear on Advisr with your other team members into a single team page.
This includes your client-facing directors, brokers and broker assistants who have an Advisr Broker profile.
Add, order, edit or remove your other team members here.
This includes management team, claims staff or administrative staff who do not have an Advisr Broker profile.
As your Advisr data updates, your Wordpress website will be updated in real time. This includes adding and removing team members on Advisr, new reviews your team members receive and any changes to phone numbers and more.
Need help? Connect with support@advisr.com.au
Instantly add both your Advisr and Google reviews to any part of your brokerage website. All reviews received on Advisr for either your brokerage or team will appear.
Add this code anywhere on your site to instantly add your reviews
Be sure to integrate your Google Reviews onto your Advisr brokerage profile in order to see your Google Reviews appear on your Wordpress Site. Login here to connect your Google Reviews in Advisr.
Need help? Connect with support@advisr.com.au