Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
The Krotek Posted April 23, 2011 Posted April 23, 2011 I've tried to create a topic/post from guest with certain display name, but it seems, that right now it's not possible since setAuthor($member) function accepts only member's ID, and if it is empty or zero nothing displays. At the end you'll have ** as topic/post author, where asterisks are just enclosure to empty name. So I'd like to suggest you to add an extra check like this:If $member is not integer - use $member value as guest name. For example, I can use setAuthor("GuestDude") and it'll display *GuestDude* as topic/post author. Very simple and can save a bunch of time for those, who want to use names for guests when posting via external script.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.