By Tuan Nguyen on Monday, 14 December 2015
Posted in General Issues
Likes 0
Views 1.1K
Votes 0
Hi, I had previously asked this question and it was resolved but after I updated to Version: 3.2.9744, the profile link now links to a error page (attached screenshot) whereas before it was just void which was good.

I have replaced the edited profile.php file after updating.

Orignal question,

http://stackideas.com/forums/easydiscuss-disable-link-to-profile

How do I make it so clicking on the profile avatar link doesn't link anywhere.

Thank you
Hey Tuan,

After you replace back my above attached file into your internal site -> JoomlaFolder\components\com_easydiscuss\themes\simplistic\profile.php

Then change this following code into JoomlaFolder\administrator\components\com_easydiscuss\tables\profile.php


// LINE 297
return $this->profileLink;

// Replace with
return JURI::base();

Then try again and see what is the result.
·
Tuesday, 15 December 2015 16:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Tuan,

I believed that my colleague is actually only customized for your site.

In other words, when you update to another new version, you have to re-apply that hack as what my colleague described on your previous thread ( http://stackideas.com/forums/easydiscuss-disable-link-to-profile ).
·
Monday, 14 December 2015 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the reply. But I have reapplied the hack and changed that code line. But now, clicking on the profile link leads to an error page as opposed to before, it did nothing (which is good).

Is there a new hack for this newest version of EasyDiscuss?


Thanks
·
Monday, 14 December 2015 12:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Tuan,

I've tried to replicate this in my locally, but it seems work fine.

Perhaps you can provide us with your Joomla backend and FTP access so we can help you check on this?

By the way, in the future you can just include your site's access once at http://stackideas.com/dashboard/site rather than needing to keep adding them in your replies
·
Monday, 14 December 2015 13:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately I cannot give you access as my site is on a internal company network and only accessible by VPN.

But I have replace the "return $this->profileLink;" with "return 'javascript:void(0);';" to the profile.php file

I have attached a screenshot.

But clicking on the profile just gives me an error, what could be causing this?


Thanks
·
Monday, 14 December 2015 13:40
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Tuan,

Can you try my following instruction to see what real error you hitting when you click on your profile link?

#1. Download Jing software from https://www.techsmith.com/jing.html for record a short video how to reproduce this error in your internal site.

#2. Enable error reporting to maximum from backend > system > global configuration > server

#3. Then start record an short video how to replicate this issue from your frontpage

Keep us updated then.
·
Monday, 14 December 2015 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Tuan,

We can't troubleshoot your issue if We don't have access to your site. By the way, you can try this instead:

Change the return 'javascript:void(0);';
to
return JURI::base();
·
Monday, 14 December 2015 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello, I tried to replace in the profile.php file,

Change the return 'javascript:void(0);';
to
return JURI::base();

But it did not work, and clicking on the profile Avatar / profile link still links to an error page.

But I turned on error reporting to maximum. And when I click on my avatar / profile link it shows the attached screenshot.

I hope this helps to figure this issue out.

Thanks
·
Tuesday, 15 December 2015 04:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Tuan,

Can you send this file for me -> JoomlaFolder\components\com_easydiscuss\themes\simplistic\profile.php , before you send try download my original file and replace into above file location and see how it goes?

Also try to check from your JoomlaFolder/templates/yourCurrentTemplateFolder/html/com_easydiscuss/ <- see inside got any customization file or not.

Keep us updated then.
·
Tuesday, 15 December 2015 10:58
·
0 Likes
·
0 Votes
·
0 Comments
·
So i placed in your profile.php file and now when I click on the Avatar/profile link it goes to the profile page(like default). I tried to search for the lines below and can't find any of these lines now,

return $this->profileLink;
javascript:void(0);';
return JURI::base();

But I need the avatar/profile link to go nowhere or back to my homepage(or a URL) if possible.

To answer your question,

"Also try to check from your JoomlaFolder/templates/yourCurrentTemplateFolder/html/com_easydiscuss/ <- see inside got any customization file or not."

I do not see a com_easydiscuss folder. I have attached a screenshot of my folders and my profile.php file that cause the avatar/profile link error.


Thanks
·
Tuesday, 15 December 2015 13:09
·
0 Likes
·
0 Votes
·
0 Comments
·
YAY!! It worked! Thank you so much!

You and your support team have been amazing! I really appreciate your time and help on this issue.

Happy Holidays and thanks again!
·
Tuesday, 15 December 2015 16:38
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, glad to heard your issue resolved.
·
Tuesday, 15 December 2015 17:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post