-
Type:
Improvement
-
Status: Unverified Fix (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.5
-
Fix Version/s: 3.1.6-RC1
-
Component/s: Events, Viewing posts
-
Labels:None
Currently post buttons list displaying is controlled by condition:
<!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->
|
This causes any custom post button added by extension using viewtopic_body_post_buttons_after event is dependent on the same condition and can't use its own condition to control self displaying.
The fix would be introducing template var which can be [re]assigned by extensions (f.e. via the viewtopic_body_post_buttons_list_before event) to allow adding their own conditions for the post buttons displaying.
prosilver style is affected.