Support

  1. sfb
  2. General
  3. Saturday, March 30 2019, 01:35 PM
Hi There,

When I create -> Easy Profile » User Profile -> in the main menu and visit the link, I see my profile, but the URL given is the same menu alias for all users.

How can I change this so when a logged in user visits this menu item, it shows his personal profile URL instead of the menu alias?

So, for example, instead of menu url:

https://socialnetwork.easy-profile.com/profile.html

It shows or gets re-directed to

https://socialnetwork.easy-profile.com/profile/my-username.html

Thanks
admin Accepted Answer
Admin
Hi,
this is a normal behavior. URLs like https://socialnetwork.easy-profile.com/profile.html are URL of current user profile page.

The only way to make this is to change the Easy Profile source code to apply a redirect to the preferred URL.
Do you are interested to this modification? If yes then you need to apply it every Easy Profile update. Please let me know we will send you the code changes.
  1. more than a month ago
  2. General
  3. # 1
sfb Accepted Answer
Pro
Hi There,

Thanks for your reply.

Yes, I would like to change this as it is essential to my site concept.

Just to be clear, the URL will be redirected to the profile of any logged in user, correct?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
Just to be clear, the URL will be redirected to the profile of any logged in user, correct?
Yes.

We will come back with the code changes as soon as possible ;) (about some hours)
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Hi,
try to replace file at /components/com_jsn/controller.php with attached file (unzip first).

Basically it is the original file with added following code at line 37:
if(JFactory::getApplication()->input->get('id')==null && !$user->guest)
JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_jsn&view=profile&id='.$user->id ,false));
Attachments (1)
  1. more than a month ago
  2. General
  3. # 4
sfb Accepted Answer
Pro
That's great! Will try it out.

Thanks a lot for this!
  1. more than a month ago
  2. General
  3. # 5
  • 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.