infarc
infarc
Offline
0
I poked around a bit and couldn't find a ready answer to this, so I am asking here and hoping to get an answer.

When I create a set of criteria (for example, I want a module that shows the top viewed users) it creates the display just fine, but it is showing the user's REAL NAMES instead of their USERNAME as a clickable link to their profile. Due to the nature of my site, this is unacceptable.

I am using Jomsocial, if that makes any difference.

Please help?

Accepted Answer

Tuesday, August 13 2013, 05:28 PM - #Permalink
0
Hello!

I didn't forget about you ;) I just didn't get to a computer until now. sorry about that!

the change is very easy: just open file /plugins/contentstats/com_community.php

and on file 540, at some point, you will see this:

u.name as item_name


you need to replace just this piece with:

u.username as item_name


hope this helps! let me know if you have any trouble
The reply is currently minimized Show
Responses (4)
  • Accepted Answer

    Tuesday, August 13 2013, 06:39 AM - #Permalink
    0
    Hello

    This is very easy to change with a tiny code change. I can't tell you right now because I'm not on the computer, please just give me a few hours and I'll tell you how to do it
    The reply is currently minimized Show
  • Accepted Answer

    infarc
    infarc
    Offline
    Tuesday, August 13 2013, 06:48 AM - #Permalink
    0
    Thank you very much, for both jumping right on this AND for understanding what I was trying to communicate. :)

    I appreciate the very fast response!
    The reply is currently minimized Show
  • Accepted Answer

    infarc
    infarc
    Offline
    Tuesday, August 13 2013, 02:06 PM - #Permalink
    0
    Not trying to be pushy here... just wanting to make sure that you don't forget to actually tell me how to accomplish this.
    The reply is currently minimized Show
  • Accepted Answer

    infarc
    infarc
    Offline
    Tuesday, August 13 2013, 06:02 PM - #Permalink
    0
    Yes, that makes perfect sense to me. I just didn't know where to look! Thank you.
    The reply is currently minimized Show
Your Reply