XF 2.2 reported_thread_title - struggling to add what I need to this phrase

Xantam

Active member
Hi all,

So I am trying to tweak my phrases for "report" output, currently it will make a thread where I want it, but I want the subject line to contain some specific stuff.

Currently the report(ed) content looks like this in the phrase reported_thread_message:
0sbMwo0.png
I have highlighted 2 key elements of the report in a red box, in the image above/spoilered.
The above generates a really nice thread both factually and aethetically.

I am now wanting to change the title of the report thread to contain who was reported, and by who. Currently the phrase reported_thread_title has the below as the body:
Forum Report: {title}

I however want it to be as simple as this:
{username} - report by {reporter} (Forum Report)

However when I did that, it didn't actually fetch the names, it just created the report with literally the above in the title.

Would any of you awesome people be able to advise and guide me how I can make this dream a reality please?

As far as I remember, no addons or other modifications have been used for this so it's pure Xf.
 
Back
Top Bottom