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

XF 1.2 Reports to forum: How do I change the report thread title? (to add reportee)

Discussion in 'XenForo Questions and Support' started by CyclingTribe, Sep 9, 2013.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    We send reports to a moderators forum and I'd like to change the thread title of report threads so they include the name of the reportee.

    Is there a template or phrase I can change to achieve this?

    Thanks,
    Shaun :D
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    You'll need an add-on to accomplish that.
     
    CyclingTribe likes this.
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Thanks Jeremy. I thought I'd read somewhere (when the feature was announced) that the templates would be available in the ACP - shame they're not. :(
     
  4. Mike

    Mike XenForo Developer Staff Member

    They are phrases, but I don't think the reportee is necessarily exposed.
     
  5. Mike

    Mike XenForo Developer Staff Member

    Actually, you can use any of the parameters in reported_thread_message in reported_thread_title, so you can do it.
     
    CyclingTribe and Jeremy like this.
  6. CyclingTribe

    CyclingTribe Well-Known Member

    Excellent - added to my to-do list for this evening ... (y)
     
  7. CyclingTribe

    CyclingTribe Well-Known Member

    Okay, for anyone else who'd like to do this:

    Edit phrase: reported_thread_title
    New phrase: Reported Content: {title} - reported by: {reporter}

    Will this be overwritten on upgrade?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    No.
    Edited phrases are not automatically overwritten.
     
    CyclingTribe likes this.
  9. CyclingTribe

    CyclingTribe Well-Known Member

    Thanks. (y)
     
  10. CyclingTribe

    CyclingTribe Well-Known Member

    Just realised I left the reported poster off the thread title - so here's an update phrase for anyone referencing it:

    Code:
    Reported Content: {title} by {username} - reported by: {reporter}
    
     
  11. TheGreek

    TheGreek Member

    How can I have it like this?

    Forum Name - Member Reported - Date of Report
     
  12. Amaury

    Amaury Well-Known Member

    What location?
     
  13. TheGreek

    TheGreek Member

    In a report forum, sorry forgot to specify that.
     
  14. Amaury

    Amaury Well-Known Member

    You mean when you send reports into a forum?
     
  15. TheGreek

    TheGreek Member

  16. TheGreek

    TheGreek Member

  17. Brogan

    Brogan XenForo Moderator Staff Member

    The date isn't an available parameter so it's not possible.
     

Share This Page