diff --git a/lib/interconnected.php b/lib/interconnected.php index f4910a7..40559b9 100644 --- a/lib/interconnected.php +++ b/lib/interconnected.php @@ -49,7 +49,9 @@ function get_sharing_data_for_current_page() $full_size = 'master'; /*****************************/ - + + $current_user = elgg_get_logged_in_user_entity(); + $site_logo = elgg_get_plugin_setting('site_logo', 'interconnected'); if ($site_logo == '') $site_logo = $current_user->getIconURL($size); @@ -67,9 +69,7 @@ function get_sharing_data_for_current_page() $aboutme = elgg_get_plugin_setting('about_me', 'interconnected'); $group_description = elgg_get_plugin_setting('group_description', 'interconnected'); - - $current_user = elgg_get_logged_in_user_entity(); - + $context = elgg_get_context(); $url = current_page_url(); $url_array = interconnected_analyze_url($url); diff --git a/manifest.xml b/manifest.xml index 2ea79b9..8c6cba1 100644 --- a/manifest.xml +++ b/manifest.xml @@ -2,7 +2,7 @@ interconnected ura soul - 0.1.1 + 0.1.2rsion> for social sharing without bloatage https://www.infiniteeureka.com GNU Public License version 2 diff --git a/readme.txt b/readme.txt index ec24b40..f1011b0 100644 --- a/readme.txt +++ b/readme.txt @@ -57,7 +57,7 @@ todo: * could add a settings page for each user to allow them to write their default greeting or signature for messages sent to external sharing services. * setting option to choose whether to share internal urls for videos/bookmarks or to share source urls. e.g. share youtube videos directly or share elgg page. -* add more target sites +* add more target sites (tumblr coming soon) * integrate wire functionality to allow wire posts to be auto-shared to multiple target sites. * integrate multi-access functionality to upgrade thewire to allow posts to be made to multiple subsets of users, rather than only to public. * auto-share option for new items (requires extension/over-riding of 'add' forms - and/or a hook).