By Tuan Nguyen on Friday, 13 November 2015
Likes 0
Views 1.7K
Votes 0
Hi Team,

How can I disable the link to a Profile (the profile name link under the avatar) in a discussion? I do not want my users to have this option.

Can you please outline the steps I need to take?

Thanks!
Hi there,

You can follow the instruction in that thread by going to your /administrator/components/com_easydiscuss/tables/profile.php file and go to the function @getLink and then change the following code at around line 297,
return $this->profileLink;
// change it to
return 'javascript:void(0);';


Hope these help.
·
Monday, 16 November 2015 12:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Unfortunately it is not possible to disable the profile link completely in easydiscuss currently.
·
Friday, 13 November 2015 22:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Team,

I found this about a similar,

http://stackideas.com/forums/remove-the-link-to-the-profile

But I do not have too much experience in modifying php files.

- Does the solution in the link above work?
- If so, can you help to outline the steps I need to take to implement this solution? (such as, what needs to be removed or changed).


Thanks!
·
Saturday, 14 November 2015 03:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Worked great. Thanks!
·
Monday, 16 November 2015 13:29
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.
·
Monday, 16 November 2015 13:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Just one more question.

- Is it possible to have it link to a URL, instead of being void? Because right now, it is still clickable but just doesn't go anywhere. It would look more professional to have it go back to my homepage.

- If this is possible, what would I add to that PHP file?

Any suggestion you can give would be great.

Thanks again!
·
Monday, 16 November 2015 13:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Tuan,

Looks like when we locked the thread, you also replied to this thread. Can you start a new thread on the forums please?
·
Monday, 21 December 2015 13:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post