I used Google Gemini to fix this for me on my forum. Here are the instructions, I accept no responsibility if you balls up your forum.
How to Fix [tl] Anonymous Posting for XenForo 2.3
If you recently upgraded to XenForo 2.3, you likely noticed that the "Post as Anonymous" checkbox has completely vanished from the quick reply box, and users might be getting permission errors when trying to post.
The issue is twofold: XF 2.3 breaks the add-on's PHP callback that renders the checkbox, and it also breaks the -1 (Unlimited) integer logic in the permissions.
Here is how to manually bypass the broken code and get it working perfectly again without waiting for an update.
Step 1: Disable the Broken Modification
The add-on is still trying to inject a broken PHP callback. We need to turn that off.
Go to Appearance -> Template modifications.
Scroll down to the [tl] Anonymous Posting section.
Find the modification for quick_reply_macros and toggle it OFF (gray).
Step 2: Manually Inject the Checkbox
Since the add-on's back-end PHP still works, we can just force the template to draw the checkbox using standard XF syntax.
Go to Appearance -> Templates.
Search for and open the quick_reply_macros template.
Find this exact line of code:
Code:
<xf:if is="!$xf.visitor.user_id && $showGuestControls">
Put your cursor at the very beginning of that line (before the <) and hit Enter to create a safe blank line above it. (Do not accidentally delete any parts of the xf:if tag, or XF will throw a syntax error!)
Paste the following code into that new blank space:
Code:
<div style="padding:6px">
<xf:checkbox standalone="true">
<xf:option name="tap_is_anonymous_posting" value="1"
hint="{{ phrase('tap_posting_as_anonymous_field_explain') }}"
label="{{ phrase('tap_posting_as_anonymous') }}" />
</xf:checkbox>
</div>
Click Save and exit.
Step 3: Fix the "Maximum Posts" Bug
XF 2.3 causes the add-on to take the standard "Unlimited" (-1) permission literally, meaning it thinks users are allowed negative one posts per day, throwing an error when they try to reply.
Go to Groups & permissions -> User group permissions.
Select your registered/member user group.
Find the permission for Maximum anonymous posts per day.
Uncheck "Unlimited" (which removes the broken -1).
Type in a ridiculously high number instead, like 9999.
Save your permissions.
Your users should now be able to post anonymously again!
Optional Tweaks:
Make it checked by default:
If you want the box pre-ticked, simply add selected="true" to the option tag.
Code:
<xf:option name="tap_is_anonymous_posting" value="1" selected="true"
Restrict it to a specific forum:
Because quick_reply_macros is an isolated template, standard node conditional checks will fail here. You must use $__globals to pull the page data. Wrap the code from Step 2 like this (change 96 to your specific Node ID):
Code:
<xf:if is="$__globals.forum.node_id == 96">
</xf:if>