Support

  1. Krx
  2. Support
  3. Sunday, October 04 2020, 10:17 AM
  4.  Subscribe via email
Hello

I have few questions:

1. we have option to specify default image folder eg: images/profile/
Can you suggest which files to modify so that it automatically creates subfolder named by user id?
So when user with id 123 uploads any image, it would go into folder: images/profile/123/
This would be very useful if we would have more than one photo from same user,
and it would enable us to see what someone uploaded or to create user gallery

2. is there any other way to send messages between users other than uddeIM component?
With basic functionality: Inbox, outbox, ability to block users, notification on new message
uddeIM Last updatd is from 2017 and it seems that developer will not continue to maintain it.

3. In component backend, It would be very usable if we could be able to filter fields by Group.
Like ability to filter articles by category in Article manager
It would be handy to manage fields when we have a lot of fields to set up.
Can you suggest if this is possible to add this feature by editing component XML file?
Maybe you could add this as feature in future versions.

Thanks
Regards
Accepted Answer
admin Accepted Answer
Admin
Hi,
1) unfortunately this is not possible natively, anyway you can change this behavior in file /administrator/components/com_jsn/helpers/fields/image.php, after line 124 you can add some other parameter to variable $upload_path

2) there are many components that uses message features, for example also this forum (EasyDiscuss), but I'm sorry, I don't know of any other components that only do messaging function

3) we can do this in future. Editing an xml file is not enough to have this function, it is a bit more complex
Krx Accepted Answer
Pro
Hi

Thanks for the hints

In case that someone else might need the same here is the solution for #1:

In php file mentioned by admin, after line 124:
$upload_path=$field->params->get('image_path','images/profiler/');
I added this:
$upload_path = $upload_path . $data['id'] . "/";
Now all images uploaded by same user goes in subfolder named by user id

Looking forward to see #3 implemented soon :)

Regards
  1. 2 weeks ago
  2. Support
  3. # 1
  • 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 Offline

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.