By Katie Browning on Friday, 15 November 2013
Posted in Technical Issues
Replies 15
Likes 0
Views 0.9K
Votes 0
Hi there,

Ive just installed EasySocial tonight and its fantastic! I just a few small issues.

1. The conversations buttons arnt loading a preview. Its just constantly loading but not ever showing up. In the side bar menu "conversation" button it loads this message "Unable to load tooltip content."

2. Another issue is that, on one sample profile I made I got this message when uploading a profile cover.

SyntaxError: JSON.parse: unexpected character

Then there was no browse button to reupload, or upload a different picture.

3. I dont want people to be able to see whose friends with who, and whose following who. I cant seem to figure out how to NOT show this activity in the profiles; that people have just become friends, or that someone is following someone. Also I dont want the links under the profile page user name, where it directs you to who this person is friends with, or who is following.

4. I dont want to see "just logged in" in any activity stream

Thats all I can think of for now

Thanks for any help you can give me,

Cheers
Katie
Actually I just updated and Problem 1. is gone now

I tested Prob 2. and its the same.

Also I just got a notification message and when I clicked on it, and then came back, it was still showing red

Also, personally I like the red bit going away after I have seen the preview, rather then having to go to another page for it to go away. Facebook does this, and if you could do that too, that would be great!

Cheers
Katie
·
Friday, 15 November 2013 22:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Katie,

Thanks for your support for EasySocial. Please find the answers to your inquiries below:


2. Another issue is that, on one sample profile I made I got this message when uploading a profile cover.

SyntaxError: JSON.parse: unexpected character

Then there was no browse button to reupload, or upload a different picture.

Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?


3. I dont want people to be able to see whose friends with who, and whose following who. I cant seem to figure out how to NOT show this activity in the profiles; that people have just become friends, or that someone is following someone. Also I dont want the links under the profile page user name, where it directs you to who this person is friends with, or who is following.

Hm, currently these are not configured but you can always customize the theme file for this. You should be editing the file /components/com_easysocial/themes/wireframe/profile/default.php


4. I dont want to see "just logged in" in any activity stream

This can actually be disabled from the Settings > Users and disable the option "Add stream when login".
·
Friday, 15 November 2013 22:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

I have listed my ftp details for you in this letter. The picture I was trying to laod was a tif.

Thats great that the profiles can be customised. Can you tell me what I need to add or subtract to make sure people done see whose friends, or following who?

Thanks for helping with prob 4 too. That worked great
·
Saturday, 16 November 2013 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Katie,

Ah, .tiff images aren't supported yet currently. You need to either use jpeg or png to upload the profile cover. As for removing the friends or followers activity, I have customized the following files for you:

/media/com_easysocial/apps/user/friends/friends.php and at line 126, I have added the codes below:


public function onPrepareStream( SocialStreamItem &$item, $includePrivacy = true )
{
return;


/media/com_easysocial/apps/user/followers/followers.php and at line 101, I have added the codes below:


public function onPrepareStream( SocialStreamItem &$item, $includePrivacy = true )
{
return;
·
Saturday, 16 November 2013 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry Mark but those codes you gave me are already in those files, in those positions...

Should I be deleting these codes?

Thanks
·
Saturday, 16 November 2013 21:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Katie,

Sorry for the confusions, I actually added them for you already
·
Sunday, 17 November 2013 03:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow Mark!!! You truly always go above and beyond! I should be used to it by now :P

Thanks so much as always, thats amazing! It has taken away the notice of whose friends, or following who on the activity streams, which is great!

I was also like to take away the "# friends", and "# followers" links that show under username in the profiles. I have attached a pic for you so you know where Im talking about. Its under "millie"

I guess it might look strange without them, but Im assuming the "# Achievement" bit will move further along left under the user name, and hopefully wont look strange.

Thanks for any help here!

Your the best, and are building some seriously loyal fans with your products and service!!

Cheers
Katie
·
Sunday, 17 November 2013 06:30
·
0 Likes
·
0 Votes
·
0 Comments
·
hey katie,
to get rid of the followers and friends count in your profile do the following:

1. open the file default.header.php which is located at /components/com_easysocial/themes/wireframe/profile

2. search around line 123 for the following lines:

<a href="<?php echo FRoute::friends( array( 'userid' => $user->getAlias() ) );?>">
<?php echo $user->getTotalFriends();?> <?php echo JText::_( Foundry::string()->computeNoun( 'COM_EASYSOCIAL_FRIENDS' , $user->getTotalFriends() ) ); ?>
</a>
&middot ;
<a href="<?php echo FRoute::followers( array( 'userid' => $user->getAlias() ) );?>">
<?php echo $user->getTotalFollowers();?> <?php echo JText::_( Foundry::string()->computeNoun( 'COM_EASYSOCIAL_FOLLOWERS' , $user->getTotalFollowers() ) ); ?>
</a>

and remove them.

3. at this point the friends and follower count has already gone. however, there's still a "point" - which was used as a spacer between the counts which is not needed anymore.

4. to get rid of that spacer go 2 lines down in the same file and right after
<?php if( $this->config->get('badges.enabled' ) ){ ?>

you'll find this:
&middot ;

just remove it and the spacer has gone.

5. that's it already - have a great weekend
·
Sunday, 17 November 2013 06:56
·
0 Likes
·
0 Votes
·
0 Comments
·
That was too easy!!! Thanks so much Alex!!

Hope you have a great weekend too

Cheers
Katie
·
Sunday, 17 November 2013 07:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry again guys!

I have just noticed that in the sidebar where you can see a list EasySocial Users, when you hover the mouse over a user, it comes up with a cool preview of that user, and the friends and followers count shows there too. Could I get ride of that?

Also when you click "View all Users", each user shows their friends and followers there too. Will there one day be a different format for showing the users? Like I would like a larger thumbnail with just a few stats e.g name and age etc

Maybe there will be a third party that will create a user profile list. that can be advanced searched. I know that you are adding a user search though.

Anyway, thanks
Katie
·
Sunday, 17 November 2013 11:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Katie,

I am really sorry for the delay of this reply as it is a weekend for us here. You can actually disable the profile tooltip by heading on to the module configuration of the users module, and disable the option "Show Tooltips".

As for the friends and followers in the users listing, edit the file /components/com_easysocial/themes/wireframe/users/default.list.php and at line 88 - 108 remove the codes below:


<li class="mt-10">
<a href="<?php echo FRoute::friends( array( 'userid' => $user->getAlias() ) );?>" class="small muted">
<i class="ies-users-2 ies-small"></i>

<?php if( $user->getTotalFriends() ){ ?>
<?php echo $user->getTotalFriends();?> <?php echo JText::_( Foundry::string()->computeNoun( 'COM_EASYSOCIAL_FRIENDS' , $user->getTotalFriends() ) ); ?>
<?php } else { ?>
<?php echo JText::_( 'COM_EASYSOCIAL_NO_FRIENDS_YET' ); ?>
<?php } ?>
</a>
</li>
<li class="mt-5">
<a href="<?php echo FRoute::followers( array( 'userid' => $user->getAlias() ) );?>" class="small muted">
<i class="ies-tree-view ies-small"></i>
<?php if( $user->getTotalFollowers() ){ ?>
<?php echo $user->getTotalFollowers();?> <?php echo JText::_( Foundry::string()->computeNoun( 'COM_EASYSOCIAL_FOLLOWERS' , $user->getTotalFollowers() ) ); ?>
<?php } else { ?>
<?php echo JText::_( 'COM_EASYSOCIAL_NO_FOLLOWERS_YET' ); ?>
<?php } ?>
</a>
</li>
·
Sunday, 17 November 2013 21:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark.

I really like the tooltip though! Isnt there a way of getting rid of the "friends" and "followers" in the tooltip? (Facebooks tooltip has just the name, and short description, which is cool..and mutual friends but I wouldnt want that)

Thanks for helping me get rid of them in the users listing too. I have abit of an ask, and tell me if its too much, but can the thumbnails be enlargened? At the moment they are very small (pic attached), and there is heaps of wasted space...

Maybe I might just have to wait for a third party to build a larger display to show users in a listing. Any ideas who might be doing this?

Cheers
Katie
·
Monday, 18 November 2013 14:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Katie,

You will need to apply some css hacks if you want to enlarge the avatars but I really wouldn't reckon that because it might affect the online status.
·
Tuesday, 19 November 2013 01:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi again!

Still just wondering about the "friends" and "Followers" in the tooltip.... I really like the tooltip and dont want to turn it off! Isnt there a way of getting rid of the "friends" and "followers" in the tooltip?
Thanks
Katie
·
Friday, 13 December 2013 16:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Katie,

I am really sorry for the delay of this reply as it is a weekend for us here. Here's what you can try (Not sure if this would mess up the layout though), edit the file /components/com_easysocial/themes/wireframe/profile/popbox.php and remove the codes below,


<li>
<div class="popbox-item-info">
<a href="<?php echo FRoute::friends( array( 'userid' => $user->getAlias() ) );?>">
<div class="popbox-item-text">
<?php echo JText::_( 'COM_EASYSOCIAL_FRIENDS' );?>
</div>
<div class="popbox-item-total"><?php echo $user->getTotalFriends();?></div>
</a>
</div>
</li>
<li>
<div class="popbox-item-info">
<a href="<?php echo FRoute::followers( array( 'userid' => $user->getAlias() ) );?>">
<div class="popbox-item-text">
<?php echo JText::_( 'COM_EASYSOCIAL_FOLLOWERS' );?>
</div>
<div class="popbox-item-total"><?php echo $user->getTotalFollowers();?></div>
</a>
</div>
</li>
·
Saturday, 14 December 2013 02:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post