Jump to content

Howto Remove Guest Prefix 4.1.x


BlowingWind

Recommended Posts

It actually requires a plugin, because the \IPS\Member 'get_name' method returns a string with 'Guest' at the start.. You could run a PHP replace from within the 'UserLink' template, but that could cause problems for people actually trying to use that word in the name ;)

Anyway here's a quick plugin that overrides the 'get_name' method and returns an "unprefixed" name: Remove Guest Prefix.xml

EDIT: Another simple alternative would probably be to translate the 'guest_name_shown' lang string as an empty string, but that wouldn't remove the space character I guess :p

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...