How to remove participant profile link from participant name in moodle chat? -


i using moodle version 2.8, have added chat activity in course. wants remove participants profile link on participants name display right side of chat window.

so how can display name of participants without link on name?

thanks in advance..!

the file you're looking /mod/chat/lib.php

i've not tested think line you're looking line 1037 (by github count). can find , change from

 $item['url'] = $cfg->wwwroot.'/user/view.php?id='.$user->id.'&course='.$course->id; 

to

 $item['url'] = '#'; 

and if want remove url list of users well, go line 1257 , change from

$userlink = new moodle_url('/user/view.php', array('id' => $chatuser->id, 'course' => $course->id)); 

to

$userlink = '#'; 

there more references profile page peppered around file (seven reference in total). there's reference @ bottom of view.php module.

please note modifying files means you'll creating branch module's core , not advised.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -