Skip to content

Commit

Permalink
v. 0.1.2 - fixed: fatal error when no logo is set in admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ura soul committed Jan 12, 2014
1 parent 4116274 commit d11f6e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lib/interconnected.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin_manifest xmlns="http://www.elgg.org/plugin_manifest/1.8">
<name>interconnected</name>
<author>ura soul</author>
<version>0.1.1</version>
<version>0.1.2rsion>
<description>for social sharing without bloatage</description>
<website>https://www.infiniteeureka.com</website>
<license>GNU Public License version 2</license>
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit d11f6e3

Please sign in to comment.