By cbais on Tuesday, 10 February 2015
Posted in Technical Issues
Replies 9
Likes 0
Views 660
Votes 0
On the userprofile, in the cover there are the badges visible and the amount of badges (Achiements) a user has...

When You click on that, You will see the badges of that user on a new page....

However, when You create a menu item in the sitemenu to: EasySocial » User Achievements, it goes wrong.

When pressing on the achievments in a userprofiel, You will not see the achievements of that user. You will go back to the frontpage. Somehow the routing is wrong, when You enable the "EasySocial » User Achievements" in an own menu..

On my site, i have disabled the menu item right now, but feel free to turn it back on to see what I mean. It is in the top-menu.
Hi Cbais,

I am sorry for the late reply.
I have put some fix on your site in this file: .../administrator/components/com_easysocial/includes/router/adapters/badges.php line 124

// URL: http://site.com/menu-badges/achievements
if( $total == 2 && $segments[ 0 ] == $this->translate('badges_layout_badges') )
{
$vars[ 'view' ] = 'badges';
$vars[ 'layout' ] = 'achievements';
$vars[ 'userid' ] = $this->getUserId($segments[1]);

return $vars;
}

And in the language file: .../language/en-GB/en-GB.com_easysocial.ini
COM_EASYSOCIAL_ROUTER_BADGES_LAYOUT_BADGES="badges"

Can you give this a try and see if this resolves you issue.
·
Wednesday, 11 February 2015 22:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello cbais,

It's most likely that you have created a menu item that has the same name as the view and you have a menu item for your home which links to EasySocial's dashboard. This is probably confusing the router. Can you try to change the name of your new menu item which you have created?
·
Tuesday, 10 February 2015 23:31
·
0 Likes
·
0 Votes
·
0 Comments
·
I have indeed home pointed to the dashboard of easysocial.

However, changing the name of the menu item which points to "EasySocial » User Achievements", does not change the behaviour. Still going to the front page when clicking on the achievements on a userprofile.

The achievements menu item is active now on the site. (and renamed with a 2 behind the name. also the alias). Problem still there.
·
Wednesday, 11 February 2015 00:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Cbais,

I am sorry for the late reply.
I tried to access to your FTP but it seems like I hit this.
Could not connect to server “xxx”.
Server said: Login incorrect.

Please advise.
·
Wednesday, 11 February 2015 19:11
·
0 Likes
·
0 Votes
·
0 Comments
·
I have edited the starttopic site details.
Changed the password of the ftp. I think the password was wrong, cause there were more dots, then letters ;-)


Also added the ftp login information to the additional information under site details, but You have to replace the /n with 'returns' when reading that. This forum software replaces returns with /n it seems

Tested this ftp login with ftpzille myself and works here now.
·
Wednesday, 11 February 2015 20:54
·
0 Likes
·
0 Votes
·
0 Comments
·
It is working fine now with this fix! Thanks!
Will this fix be in the next release of easysocial?

p.s. Could You please remove the ftp server adres in one of your above postings? thanks!
·
Thursday, 12 February 2015 06:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Cbais,

This is a temporary fix on your site and it will not be included yet in the next releases. Please backup this fix before updating EasySocial. I will forward this issue to our developers.

Thanks.
·
Thursday, 12 February 2015 11:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

I have the same issue, but not only with badges.
SEF is disabled.

Whenever i create a new menu item to most ES default menu items, the equivalent one from the core ES menu sends to the ES dashboard.
For instance:
I add a new menu item to ES user profile in my main menu:
index.php?option=com_easysocial&view=profile&Itemid=195

The one from the ES menu bar will now be
index.php?Itemid=195&option=com_easysocial

and as view parameter is missing , links to dashboard.

Same behaviour for groups etc...
·
Wednesday, 11 March 2015 16:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adrien,

I am sorry for the late reply.
I would greatly appreciate if you can create a new thread on this issue since this thread is already resolved and your issue is a little bit different. Also, please do provide us with backend access and FTP access so that we can further assist you on this issue.

Please advice.
·
Wednesday, 11 March 2015 18:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post