By stackideas newbie on Wednesday, 11 May 2016
Posted in Technical Issues
Likes 0
Views 631
Votes 0
Dear Support Team,

I had mistakenly thought that the issue was resolved with the latest release when I updated an (earlier post) yesterday. It turns out that Edit Profile from the toolbar would still open the profile page for ED instead of CB.

How can I make sure only CB profile would be editable but clicking on user avatars within ED would bring users to the ED page with post counts, badges, post headlines, etc.?

Thanks!
Hi there,

If you want to use edit profile url that link to CB while disabling profile linking integration, you need to replace the following code below inside the file that I mentioned above:
if ($config->get('layout_avatarLinking') && $field['editProfileLink']) {
$items[$key] = $field['editProfileLink'];
}

// Replace with

if ($field['editProfileLink']) {
$items[$key] = $field['editProfileLink'];
}


We will see if we could actually add a separate settings so admin can choose which link (profile and edit profile) integration that user can use for each integration. Hope these help.
·
Friday, 13 May 2016 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I am currently at home and this is my current ip address, 115.134.185.246
·
Wednesday, 11 May 2016 22:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Mark,

I just picked up the message and have updated your access.

Thanks!
·
Thursday, 12 May 2016 06:57
·
0 Likes
·
0 Votes
·
0 Comments
·
I had mistakenly thought that the issue was resolved with the latest release when I updated an (earlier post) yesterday. It turns out that Edit Profile from the toolbar would still open the profile page for ED instead of CB.

That was strange, it work fine in our locally, can you provide us again with your Joomla backend exact URL and FTP access?

Because I hitting following error :

Joomla backend :
-----------------------
when I try to access this URL http://yoursite.com/administrator, it keep show 404 error.

FTP:
------
Response:	530 Login authentication failed
Error: Critical error
Error: Could not connect to server


How can I make sure only CB profile would be editable but clicking on user avatars within ED would bring users to the ED page with post counts, badges, post headlines, etc.?

Currently that was not possible yet.
·
Thursday, 12 May 2016 16:44
·
0 Likes
·
0 Votes
·
0 Comments
·
My apologies, Arlex. I have updated the original post with url, which requires a security key. I will also need your IP address to grant you access.

If case you are not able to help with the hack directly, could you kindly show me where I can update the href coding to redirect the link for Edit Profile to CB?

Many thanks!
·
Thursday, 12 May 2016 17:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Please add our IP address to your whitelist, 175.139.128.120
·
Thursday, 12 May 2016 17:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, Mark! It's been updated.
·
Thursday, 12 May 2016 18:07
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems like you didn't enable `Use Profile Linking` option from backend, I already help you enabled it, it should redirect to community builder user profile page.
·
Thursday, 12 May 2016 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Arlex,

I am aware of that option. As I explained, what I need is to still show the ED4 stats along with badges, etc. If I direct profile to CB altogether, this will not be possible because only CB Profile will be shown.

The screenshots below would illustrate what I'm looking for -
1) Members should be able to click on any user (e.g. Test User1) to bring up #2;
2) This is the ED4 User Profile I'd like to show, with links to posts, badges, etc.;
3) Clicking on Edit Profile under toolbar should then bring the member to CB Profile.

Hope this clarifies. Will wait for further guidance from you.

Thanks again!
·
Thursday, 12 May 2016 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, this is not possible currently. You can either have one and not both. If you want to use links from CB, then you need to enable the option that is highlighted by Arlex.

Otherwise, you could edit the theme file /components/com_easydiscuss/themes/wireframe/toolbar/default.php and change the link at line 158 below,

·
Thursday, 12 May 2016 22:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark. Let me give that a try.
·
Friday, 13 May 2016 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Kindly get back to us if the issue still persist on your site and we will assist you accordingly
·
Friday, 13 May 2016 12:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Muhammad,

Could you let me know where getEditProfileLink() is defined, so that I could edit the link? Apologies if I am not understanding the programming correctly.

Thanks!
·
Friday, 13 May 2016 12:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You can find the edit link from the following file, /administrator/components/com_easydiscuss/tables/profile.php at @getEditProfileLink method line 310,
$items[$key] = EDR::_('view=profile&layout=edit');

// If profile linking is enable, we should respect it
if ($config->get('layout_avatarLinking') && $field['editProfileLink']) {
$items[$key] = $field['editProfileLink'];
}
·
Friday, 13 May 2016 13:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Ezrul,

Sorry if it wasn't clear. I'm actually looking for the hyperlink for Edit Profile under the toolbar. Could you please help?

Thanks!
·
Friday, 13 May 2016 13:34
·
0 Likes
·
0 Votes
·
0 Comments
·
This works. Many thanks, Ezrul!
·
Saturday, 14 May 2016 17:41
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Saturday, 14 May 2016 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post