Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 30, 20159 yr 1. We allow Guest in the forum. When Guest Post, it shows the prefix Guest from Guests Group. 2. In this example, The Guest name is XXXX. System automatically prefix with Guest XXXX. Then show that the person is from Guests group. 3. How to remove the Guest prefix (The red Square). Thanks.
November 30, 20159 yr 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
Archived
This topic is now archived and is closed to further replies.