Enable links to user profile from notes & discussion

Home Forums Legacy Support Support queries How-to & Troubleshooting Enable links to user profile from notes & discussion

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #45369
    externaluses
    Participant
    Is it possible to have the username become a link to the profile of the person who is adding the comment? This applies to the notes & discussion section.  
    #45505
    H.K. Latiyan
    Participant
    When you click on user name/username it always takes you to that user's profile, refer: http://prntscr.com/ay9alk
    #45717
    externaluses
    Participant
    Per unit setting does not provide links. http://prnt.sc/aytzbm
    #45900
    H.K. Latiyan
    Participant
    Yes it's not working in per unit comments. Thanks for pointing this out. Moving to issue log. Trello: https://trello.com/c/dHxyb4du
    #46160
    externaluses
    Participant
    Hi Latiyan, could you guide me to the problem so I may fix it?
    #46346
    H.K. Latiyan
    Participant
    Ok there are two files that you need to edit for fixing this. 1) func.php file present in wplms theme->includes: Go to  line 239 and find: echo '<cite class="fn">'.bp_core_get_user_displayname($comment->user_id).'</cite>'; Replace the above line with this: echo '<cite class="fn">'.bp_core_get_userlink($comment->user_id).'</cite>';   2) bp-course-ajax.php file present in vibe course module plugin->includes: Go to  line 2542and find: <cite class="fn">'.bp_core_get_user_displayname($user_id).'</cite> Replace the above line with this: <cite class="fn">'.bp_core_get_userlink($user_id).'</cite>
    #54356
    H.K. Latiyan
    Participant
    This issue has been resolved in the latest update of wplms 2.1, so please update the wplms theme and all its plugins to latest version i.e. 2.1 and then check.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Enable links to user profile from notes & discussion’ is closed to new replies.