F fion Member Jul 18, 2013 #1 Is there a way to autofill or autocomplete the name field for posts from anonymous users? For example we want it to autofill with "anonymous", but also allow users to enter a different name if they wish.
Is there a way to autofill or autocomplete the name field for posts from anonymous users? For example we want it to autofill with "anonymous", but also allow users to enter a different name if they wish.
Jake Bunce Well-known member Jul 19, 2013 #2 Admin CP -> Appearance -> Templates -> thread_reply Replace with desired default guest username: Rich (BB code): <xen:if is="{$visitor.user_id} == 0"> <dl class="ctrlUnit"> <dt><label for="ctrl_guestUsername">{xen:phrase name}:</label></dt> <dd><input type="text" name="_guestUsername" value="{$visitor.username}" class="textCtrl" /></dd> </dl> </xen:if> You need to make the same change to this template: Admin CP -> Appearance -> Templates -> thread_create Upvote 0 Downvote
Admin CP -> Appearance -> Templates -> thread_reply Replace with desired default guest username: Rich (BB code): <xen:if is="{$visitor.user_id} == 0"> <dl class="ctrlUnit"> <dt><label for="ctrl_guestUsername">{xen:phrase name}:</label></dt> <dd><input type="text" name="_guestUsername" value="{$visitor.username}" class="textCtrl" /></dd> </dl> </xen:if> You need to make the same change to this template: Admin CP -> Appearance -> Templates -> thread_create