inherit
209472
0
Sept 24, 2015 14:56:59 GMT -8
zerohour118
5
May 2014
zerohour118
|
Post by zerohour118 on May 21, 2014 18:44:34 GMT -8
I know that it's possible to add a member's avatar to their shoutbox posts, but would it be possible to change your name just in the site shoutbox? If there was a custom profile field for a nickname or out of character name, could you grab the value in that field and use that name rather than the regular display name?
Thank you very much!
|
|
#eb7100
33409
0
1
Oct 19, 2024 14:37:42 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 22, 2014 9:14:09 GMT -8
Hi, zerohour118. I gave it a shot and it works with one exception: Users without a name specified will have their messages show alongside blank usernames. It seems that if I use $[shoutbox_post.created_by] or any of its sub-variables inside the custom profile field loop that it gets rid of all the other instances of it in the shoutbox template. You'd likely need a plugin to make this work as it doesn't seem to be possible to do it cleanly through templates.
|
|
inherit
209472
0
Sept 24, 2015 14:56:59 GMT -8
zerohour118
5
May 2014
zerohour118
|
Post by zerohour118 on May 23, 2014 9:29:47 GMT -8
Thank you very much for your time!
I'll put a request for a plugin, then, though if you wouldn't mind could you show me the way that you tried? Even if I didn't use it I would be interested in seeing how it worked, if only because I'm curious. Thank you~
|
|