From f1b1e2de9224d5835ff71d653edbe3a264154e92 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 16 Mar 2016 19:56:16 -0700 Subject: [PATCH] Fixes #1396 - Display callback URL in Social plugin help area. --- e107_plugins/social/admin_config.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/e107_plugins/social/admin_config.php b/e107_plugins/social/admin_config.php index 9566d0463..c16ae10a5 100644 --- a/e107_plugins/social/admin_config.php +++ b/e107_plugins/social/admin_config.php @@ -263,8 +263,12 @@ class social_ui extends e_admin_ui { $this->testUrl = SITEURL."?route=system/xup/test"; - $notice = "Note: In most cases you will need to obtain an id and secret key from one of the providers. Click the blue links below to configure. -
You may test your configuration with the following URL: ".$this->testUrl.""; + $notice = "Note: In most cases you will need to obtain an id and secret key from one of the providers. Click the blue links to the right to configure. +
You may test your configuration with the following URL:
".$this->testUrl.""; + + $callBack = SITEURL."index.php"; + $notice .= "

Your callback URL is:
".$callBack.""; + return array("caption"=>"Help",'text'=> $notice);