Support

  1. neverdie
  2. Presales Question
  3. Thursday, May 16 2019, 04:13 AM
Whom may concern,
I already go through your demo website for the easy profile component and Social Network plug in. It's good looks but, I still have the few questions as shown below.
1.What components or plugs in ? that I have to install if I want my site have the same looks as the demo website ?
2.Could I disable some features like blogs in the Social Network plugs in if I don't allow the users to have their personal blog?
3.How can I rename the "group" word to the other word like "team" if I want to customize this plug in?
Thank you,
K
Accepted Answer
admin Accepted Answer
Admin
We are writing a reply at the same time, so maybe you have not read my previous reply.

So to do a bit of order :D

To add input field you can add in file Groups->create.ctp this code
		<li><label><?php echo __('New Field')?></label>
<?php echo $this->Form->text('new_field', array('type' => 'text', 'value' => $group['Group']['new_field'])); ?>
</li>
<script src="https://maps.googleapis.com/maps/api/js?libraries=places&key=HERE_YOUR_API_GMAP_KEY"></script>
<script src="https://socialnetwork.easy-profile.com/components/com_jsn/assets/js/jquery.geocomplete.min.js"></script>
<script>
jQuery("#new_field").after('<div class="jsn_map" id="map-new_field" ></div>').geocomplete({
addReset: true, addPosition: false,
map: "#map-new_field"
});
</script>


To show the value in Group details you can add in file Elements/ajax/group_detail.ctp this code
<li><label><?php echo __('New Field')?>:</label><div><?php echo $this->Jsnsocial->formatText( $group['Group']['new_field'] )?></div></li>


To show the map in Group details you can add in file Elements/ajax/group_detail.ctpthis code
<li><label><?php echo __('New Field')?>:</label><div><iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?q=<?php echo urlencode($this->Jsnsocial->formatText( $group['Group']['new_field'] )) ?>&output=embed"></iframe></div></li>
  1. more than a month ago
  2. Presales Question
  3. # Permalink
admin Accepted Answer
Admin
Hi,
1) our demo site is build with Joomla + Easy Profile + Social Network plugin, nothing else. The layout comes from the default Joomla frontend template (protostar)

2) Yes, this is possible

3) Of course this is possible, there are different ways for example by changing language string or create a layout override.
  1. more than a month ago
  2. Presales Question
  3. # 1
neverdie Accepted Answer
Pro
I already sign up for the Pro version but, still cannot post the update the status on user profile and set the group.
  1. more than a month ago
  2. Presales Question
  3. # 2
admin Accepted Answer
Admin
Hi,
thanks for your purchase.

still cannot post the update the status on user profile

please check that following menu items are created (from Joomla Administration->Menus->All menu items), otherwise please create them :
- Easy Profile->User Profile
- Easy Profile->Social Network

and set the group

You can configure user roles from frontend Admin Panel (http://docs.easy-profile.com/index.php/article/social-network-configuration)

2.Could I disable some features like blogs in the Social Network plugs in if I don't allow the users to have their personal blog?
From admin panel you can also enable/disable plugins like blogs

3.How can I rename the "group" word to the other word like "team" if I want to customize this plug in?

Docs to translate the plugin are at http://docs.easy-profile.com/index.php/article/social-network-make-your-language, in your case you can change english translation from "Group" to "Team" by following these steps:
- Open file at /plugins/jsn/socialnetwork/app/Locale/en_GB/LC_MESSAGES/default.po
- At line 211 you can replace a code like this:
msgid "Groups"
msgstr ""
with something like this
msgid "Groups"
msgstr "Teams"

- Same thing for other occurrences, for example at lines 217 (Edit Group -> Edit Team), 222 (Add Group -> Add Team), 239 (is now a member of this group -> is now a member of this team)......
  1. more than a month ago
  2. Presales Question
  3. # 3
neverdie Accepted Answer
Pro
Currently, I already setup the Social Network plug in as your previous comment. It works however, I am trying to customerize some fields for the group detail in this plugins. It seems like it develop on the CAKEPHP. But, I am not sure what version of the CAKEPHP that this plug in develop on. Is that Vesion 3.X?
or any Idea to customize the detail of the group in Social network plugins easy like the customize field feature in your Easy Profile?
  1. more than a month ago
  2. Presales Question
  3. # 4
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was a weekend :D

The plugin is build with a customized version of CakePHP (it comes from version 1, but most of the code has been rewritten).

Unfortunately you cannot add fields to Groups natively, anyway you can do this by following these steps:
1) Create column in table #__jsnsocial_groups for example "new_field" (VARCHAR)
2) Create the input field in the html
- Access to Admin Panel (http://docs.easy-profile.com/index.php/article/social-network-configuration)
- Go to Theme Manager
- Choose "SocialNetwork Theme"
- Choose the file to override from left menu (Groups->create.ctp)
- Click on button "Copy"*** and copy it in "Blue Theme"
- Come back to Theme Manager and choose "Blue Theme"
- You will see your override to customize.
- In this new file you can add something like this after line 75 to create the new input
<li><label><?php echo __('New Field')?></label>
<?php echo $this->Form->text('new_field', array('value' => $group['Group']['new_field'])); ?>
</li>

3) Delete folder "cache" at /plugins/jsn/socialnetwork/app/tmp/
NOTE: this modification will be still active when you update the plugin in future (layout changes is a theme override, so it will be not rewritten)
  1. more than a month ago
  2. Presales Question
  3. # 5
neverdie Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Presales Question
  3. # 6
admin Accepted Answer
Admin
Hi,
Do I have to edit on the view.cpt? to add the new field for showing on when user click on to view group information.
No, view.ctp load another file:
- create an override for file Elements/ajax/group_detail.ctp
- after line 31 you can add a code like this:
<li><label><?php echo __('New Field')?>:</label><div><?php echo $this->Jsnsocial->formatText( $group['Group']['new_field'] )?></div></li>
  1. more than a month ago
  2. Presales Question
  3. # 7
neverdie Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Presales Question
  3. # 8
admin Accepted Answer
Admin
Hi,
in alternative to show Google map you can add after line 31 a code like this:
<li><label><?php echo __('New Field')?>:</label><div><iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?q=<?php echo urlencode($this->Jsnsocial->formatText( $group['Group']['new_field'] )) ?>&output=embed"></iframe></div></li>
  1. more than a month ago
  2. Presales Question
  3. # 9
neverdie Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Presales Question
  3. # 10
admin Accepted Answer
Admin
Hi,
in file Groups->create.ctp you can use a code like this:
		<li><label><?php echo __('New Field')?></label>
<?php echo $this->Form->text('new_field', array('type' => 'text', 'value' => $group['Group']['new_field'])); ?>
</li>
<script src="https://maps.googleapis.com/maps/api/js?libraries=places&key=HERE_YOUR_API_GMAP_KEY"></script>
<script src="https://socialnetwork.easy-profile.com/components/com_jsn/assets/js/jquery.geocomplete.min.js"></script>
<script>
jQuery("#new_field").after('<div class="jsn_map" id="map-new_field" ></div>').geocomplete({
addReset: true, addPosition: false,
map: "#map-new_field"
});
</script>


NOTE: replace all all occurrences of "new_field" with your DB column name
  1. more than a month ago
  2. Presales Question
  3. # 11
neverdie Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Presales Question
  3. # 12
neverdie Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Presales Question
  3. # 13
  • Page :
  • 1


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

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.