Support

  1. FooBar_MM
  2. Support
  3. Wednesday, September 23 2020, 02:42 PM
Hey there, I have serious problems to post anything here. I blocks posting from everywhere - even when I try tor-browser it blocks all. That´s not a good starting point right now. Moreover there are lot of settings in backend missing after installation of the Pro package.
FooBar_MM Accepted Answer
Pro
OK - this post works. Finally I can ask questions.

- In frontend the cropper is missing.
- AJAX search does not work in frontend
- missing settings for example avatar-size and path in backend
- css seems not be loaded in frontend

PS: We´re developers here and hoped that extension will save us some time but right now it does really not. Hope that you guys reply here on time. Thanks.
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
I have serious problems to post anything here
I'm sorry for this, probably the content of your post contain some script that our firewall thinks it is blocking.

Anyway about your issues:
In frontend the cropper is missing & AJAX search does not work in frontend
Probably you have some javascript error in frontend

missing settings for example avatar-size and path in backend
You can set these informations from Components->Easy Profile->Choose the "Avatar" field->move to section "Options Image Field" (see screenshot)

css seems not be loaded in frontend
Have you disabled to load the main CSS from Easy Profile options?

To help you to find CSS and Javascript errors then we need to see your site. Can you please post me your site link? if yes you can use the form below the reply in "Site Details" tab (we need only "Site Url", so you can ignore all other informations).

Also we have received your email with the question about jQuery, the code that load jQuery is into file /plugins/system/jsn_system/jsn_system.php with the code
JHtml::_('jquery.framework');
in according with Joomla 3.x Javascript Framework. We recommend you not to modify this, because we already use Joomla Api to load it (this is the way to avoid duplicate calls and interact with third party plugins). If you have duplicates then probably it depends from another plugin or template that uses a wrong way to load it.
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 2
FooBar_MM Accepted Answer
Pro
Thanks for your reply. I figured out some things myself after reading your codes.


JHtml::_('jquery.framework');


I removed that from plugin and it loads now fine.

@jQuery: we use custom jQuery in our own templates and projects and don´t use the core one in frontend. Yes I saw that you use regular API for that but our versions are others so it adds it to header... no problem this is solved also avatar - didn´t see the options for the field itself.

@search module: like you show on your own website: on the left - is that the search module? It´s ajax target seems to be one of the component view containers right? If I plublish the module on same site as component it does not fire AJAX but the regular search-bar obove the list in component does... any ideas?

Best Regards, Milos
  1. more than a month ago
  2. Support
  3. # 3
FooBar_MM Accepted Answer
Pro
Did you elsewhere load chosen or things like:

JHtml::_('jquery.framework');
JHtml::_('bootstrap.tooltip');
JHtml::_('behavior.multiselect');
JHtml::_('formbehavior.chosen', 'select');
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
@jQuery: we use custom jQuery in our own templates and projects and don´t use the core one in frontend. Yes I saw that you use regular API for that but our versions are others so it adds it to header... no problem this is solved also avatar - didn´t see the options for the field itself.
Great.

like you show on your own website: on the left - is that the search module?
Yes, in the left column you see a search module.
It´s ajax target seems to be one of the component view containers right?
Yes, the search module need a user list page to show results

If I plublish the module on same site as component it does not fire AJAX
It should works with ajax feature if the component page have the ajax option enabled (like our site, module in the same page of user list). If it is not so then there is some problem, but to understand better we need to see your site.
  1. more than a month ago
  2. Support
  3. # 5
FooBar_MM Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 6
admin Accepted Answer
Admin
Hi,
sorry for late reply.

You can put module where you prefer, also in a page where you are not using a menu item of type Easy Profile->Users Lists (or Users Table). If you do so then the ajax feature will not works for the first search because to show the first results you need to be redirected to a page of type Easy Profile->Users Lists (the ajax feature is related to the menu item and not to the module).
  1. more than a month ago
  2. Support
  3. # 7
FooBar_MM Accepted Answer
Pro
So there is no way to fire AJAX search from module without having the component-view loaded beside?
  1. more than a month ago
  2. Support
  3. # 8
FooBar_MM Accepted Answer
Pro
I noticed a long delay (about 4 seconds) till the tabs are loaded and displayed properly. The internet is very fast and the website does not have any heavy load on this sub-page. Any ideas how to avoid this display-uses while loading?
  1. more than a month ago
  2. Support
  3. # 9
FooBar_MM Accepted Answer
Pro
Two more qestions:

Where is the background fade defined that comes on change fields @search?

Where can I setup placeholder for fields with chosen?
  1. more than a month ago
  2. Support
  3. # 10
FooBar_MM Accepted Answer
Pro
In chosen the placeholders are cutted / I need also to set custom placeholders for two "multiple selects". We work already with full overrides from your component. See attachment. Thanks.
  1. more than a month ago
  2. Support
  3. # 11
FooBar_MM Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 12
admin Accepted Answer
Admin
Hi and sorry for late reply.

So there is no way to fire AJAX search from module without having the component-view loaded beside?
Sorry but this is not possible with a simple way, this function is available for the component and not for the module.

I noticed a long delay (about 4 seconds) till the tabs are loaded and displayed properly. The internet is very fast and the website does not have any heavy load on this sub-page. Any ideas how to avoid this display-uses while loading?
4 seconds is very too....with a delay like this the problem should not be Easy Profile but something else...for us would be very helpful see your site to debug javascript code, without seeing your site it's impossible to understand the issue...If you want a solution to show profile block after all resources are ready then we can provide you a javascript and CSS code, but this is not a solution.

Where is the background fade defined that comes on change fields @search?
There is not a background, we works with opacity of the result list.

Where can I setup placeholder for fields with chosen?
The string comes from Joomla language strings, it is a default placeholder that Joomla uses for the "chosen" javascript, you can customize it only via javascript like
jQuery(document).ready(function(){ 
jQuery("#jsearchform#MODULEID#_#FIELDALIAS#").chosen('destroy').chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":"HERE THE PLACEHOLDER","placeholder_text_single":"Select an option","no_results_text":"No results match"});
});
Where you need to replace #MODULEID# with the ID of the module and #FIELDALIAS# with the alias of the field so for example something like
jQuery(document).ready(function(){
jQuery("#jsearchform123_interests").chosen('destroy').chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":"HERE THE PLACEHOLDER","placeholder_text_single":"Select an option","no_results_text":"No results match"});
});


Please send me a file to show me how I can access in other modules the avatar and the user-object when I pass a user-id.
See docs at http://docs.easy-profile.com/index.php/article/jsnuser-object
  1. more than a month ago
  2. Support
  3. # 13
FooBar_MM Accepted Answer
Pro
Hey - thank you. I can work with that informations right now very well. I will come back to you regarding this loading issues. Have nice weekend.
  1. more than a month ago
  2. Support
  3. # 14
FooBar_MM Accepted Answer
Pro
Hi again, I want to add user image into backend-list-view. I already added override into isis from default com_users/users/ also added:


// JsnUser extends the class JUser of Joomla, you can use every function of JUser
require_once ( JPATH_SITE . '/components/com_jsn/helpers/helper.php' );

// but this gives missing filter error
// $jsn_user = JsnHelper::getUser($item->id); // JsnHelper::getUser($user_id)
// $jsn_user_image = $jsn_user->getField('avatar');
// echo $jsn_user_image;


any ideas what´s missing?
  1. more than a month ago
  2. Support
  3. # 15
FooBar_MM Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 16
FooBar_MM Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 17
admin Accepted Answer
Admin
Hi,
the helper is designed for the frontend, anyway the problem is the function getField.
To show avatar in the Backend users list you can use something like this:
<td>
<img src="/<?php
require_once ( JPATH_SITE . '/components/com_jsn/helpers/helper.php' );
$jsn_user = JsnHelper::getUser($item->id);
if(empty($jsn_user->avatar_mini))
echo JURI::root().'components/com_jsn/assets/img/default.jpg';
else
echo JURI::root().$jsn_user->avatar_mini; ?>" />
</td>
  1. more than a month ago
  2. Support
  3. # 18
FooBar_MM Accepted Answer
Pro
Hey, works - thanks!
  1. more than a month ago
  2. Support
  3. # 19
FooBar_MM Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 20
admin Accepted Answer
Admin
Hi,
sorry but for me is not totally clear where you need this (component,layout,.etc), anyway the way is the same but you need to put same code in the modal-box layout override. Many parts of Joomla are overwritable, not only the components output.
  1. more than a month ago
  2. Support
  3. # 21
FooBar_MM Accepted Answer
Pro
I needed that in custom modules to display the data in a more advanced way. I use only backend from your component and the list-search in frontend - nothing else.

No matter I solved with a custom class / query that fires directly to database jsn_users and returns me the needed data in that external AJAX file.

At first I loaded helper into that AJAX file the regular way but the object there did not return me all fields from my custom fields that are saved into additional columns in jsn_users. That´s why I asked you. By default the helper does not contain all custom fields from database table jsn_users.
  1. more than a month ago
  2. Support
  3. # 22
  • 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.