1. czarrna
  2. General
  3. Wednesday, April 13 2016, 03:59 PM
Hello,

Is it possible to have two ways of displaying members profiles on the same website with Social Network Plugin installed:
1. Clean Easy profile template when viewing any user profile and edit profile
2. Social Network profile only after clicking on a menu item linking to the Social Network?

I installed Social Network Plugin and find out that the classic Easy Profile template for users were immediately replaced with the social network theme - i.e. blue bar/menu with buttons to photos, cover photo, wall, videos, friends etc.
I need these features to be shown only when user decides to go to the social network by clicking a menu link. Otherwise I want to keep the simple template for users.

I would be grateful for information,
Many thanks.
Accepted Answer
admin Accepted Answer
Admin
Hi,
you can change profile url from file /components/com_jsn/helpers/helper.php at line 514 with this
return JRoute::_('index.php?option=com_jsn&normal=true&view=profile&Itemid='.$Itemid.'&id='.$this->id,false);
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
normally this is not possible. You need to make a minor changes to the plugin:
- Open file /plugins/jsn/socialnetwork/socialnetwork.php
- at line 37 you can add something like this:
if( isset($_GET['normal'] ) ) return false;

Now at link like http://your-site/profile you will have social page and at link like http://your-site/profile?normal you will have a standard profile.
  1. more than a month ago
  2. General
  3. # 1
czarrna Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 2
czarrna Accepted Answer
All is working as needed.
So many thanks for help!
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.