Bug post_macros

Status
Not open for further replies.
This is a bug with the Anonymous Poster add-on. To fix it, the developer should make the following change:

In the post_macros template modification change the "Find" value from this:
Code:
{{ bb_code($post.message, 'post', $post) }}
To this
Code:
bb_code($post.message

Change the "Replace" value from this:
Code:
<xf:if is="$post.tap_has_anonymous AND $xf.visitor.hasNodePermission($thread.node_id, 'tap_canView')">
    <div class="blockMessage blockMessage--important"><strong>{{ phrase('note:') }}</strong> {{ phrase('tap_this_is_anonymous_post') }}</div>
</xf:if>
{{ bb_code($post.tap_message, 'post', $post) }}
To this
Code:
<xf:if is="$post.tap_has_anonymous AND $xf.visitor.hasNodePermission($thread.node_id, 'tap_canView')">
    <div class="blockMessage blockMessage--important"><strong>{{ phrase('note:') }}</strong> {{ phrase('tap_this_is_anonymous_post') }}</div>
</xf:if>
{{ bb_code($post.tap_message

Finally, the execution order should be changed from 10 to 65535. This is because that add-on changes the variable from message to tap_message (which in itself is flawed design, but never mind), so it needs to run after every other template replacement.
 
Hello @madness85,

We hope your ticket regarding DragonByte Shop has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Hello @madness85,

As we have not heard back from you, your ticket regarding DragonByte Shop has now been closed.

If your ticket has not been resolved, please feel free to start a new support ticket and link back to this ticket.

If you have time, please leave a review on XenForo.com's Resource Manager.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,688
Customer rating
5.00 star(s) 3 ratings
Back
Top