Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 23, 201113 yr 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.
Archived
This topic is now archived and is closed to further replies.