1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Reported content message

Discussion in 'Styling and Customization Questions' started by Lee Burnett, Nov 16, 2013.

  1. Lee Burnett

    Lee Burnett Member

    Is there a way to modify the reported content so that the title includes the node that it is from? On our site, the moderators look for reports from their specific forums. But the report only shows the name of the post and thread, not the node.

    Reported Content: Post in thread 'This is the thread name'

    change to:
    Reported Content in 'Node Name': Post in thread 'This is the thread name'

    or even better:
    RC in 'Node Name': 'This is the thread name'
  2. Amaury

    Amaury Well-Known Member

    Edit the phrase.
    Lee Burnett likes this.
  3. Jeremy

    Jeremy Well-Known Member

    Editing the phrase will not do what you wish, you need an add-on to modify the actual fetch of the content. Specifically, you need to pull the content_id from the table, and join the necessary node information from xf_node. And then you can modify the phrase, but you will also need to modify the necessary report handler (in the case of a post: XenForo_ReportHandler_Post) and the function getContentTitle to pass the forum node information into the phrase.
    Amaury likes this.
  4. Lee Burnett

    Lee Burnett Member

    Oy vey. That's a lot just to get the forum name in there. Is there any add-on that can help with this?
  5. Jeremy

    Jeremy Well-Known Member

    Not that I know of, no.
  6. ge66

    ge66 Active Member

    Has anything happened around this? Any addon?
  7. ge66

    ge66 Active Member

Share This Page