Login     Sign up
User names v. full names
Terence Watts (@terencewatts)
Join date: Sep 15th 2010
Community posts: 75
View Profile
Send Message

The 4.1 upgrade shows user names in the newsfeed - is there a way to get it to show user names, as in 3.3?

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

everywhere or just in the general feed?

everywhere: in common_inc_php, function stream_display

near the end, after return: change $row['fullname'] into $row['username']

[code]
<strong>'.url('u/'.$row['username'], $row['username']).'</strong>
[/code]

173 months ago
Jordi Torres (@palsweb)
Join date: Oct 20th 2010
Community posts: 70
View Profile
Send Message

I need change username for Fullname in browse and in search for username its possible...thanks !!!!

173 months ago
Terence Watts (@terencewatts)
Join date: Sep 15th 2010
Community posts: 75
View Profile
Send Message

Thank you, Falcone - it was also necessary to remove the u/' if anybody else is going to adopt this.

It works fine!

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

you don't have to remove the /u, that is the link. it is the second part you have to change.

173 months ago
Terence Watts (@terencewatts)
Join date: Sep 15th 2010
Community posts: 75
View Profile
Send Message

Hmm... well, before I removed it, the names were shown on the site like this: /u admin - perhaps I did something else wrong though? Everything seems to be working okay, anyway.

173 months ago