April 23, 2011 in Feedback
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.
This topic is now archived and is closed to further replies.
Started 7 hours ago
Started 1 hour ago
Started 21 hours ago