[Template] viewtopic_body_postrow_block_before

Request hook events and what data needs to be sent for the new hook system.
Post Reply
Registered User
Posts: 3
Joined: Wed Sep 24, 2014 7:19 pm

[Template] viewtopic_body_postrow_block_before

Post by combuster » Wed Sep 24, 2014 7:27 pm

Identifier: viewtopic_body_postrow_block_before

Prosilver Location:
in viewtopic_body.html around line 119 it says:

Code: Select all

<!-- BEGIN postrow -->
I want to have this event:

Code: Select all

<!-- EVENT viewtopic_body_postrow_block_before -->
<!-- BEGIN postrow -->
Subsilver Location: (I don't know, but I think it would make sense there as well)

It helps adding additional information/functions to a topic, which are not post-specific, but topic-specific.
For a use-case imagine tags for topics (see Topic Tags Extension).

At least I need the topic_id.

For consitency I suggest adding viewtopic_body_postrow_block_after accordingly.

Post Reply