PDA

View Full Version : Not able to find reportpost_thread


Elixar
03-24-2014, 02:51 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=127181" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=127181</a>

Is it the same for vBulletin 4?

Thanks!

Lynne
03-24-2014, 06:03 PM
reportpost_newthread

Elixar
03-24-2014, 07:32 PM
I did look in the templates, and I don't see that either.

Lynne
03-24-2014, 08:14 PM
That's the phrase name.

Elixar
03-24-2014, 10:12 PM
Sorry, I'm a bit confused. I am looking for what you mentioned and then change it to what is said in the linked topic?

Lynne
03-24-2014, 11:08 PM
The linked topic says:
Simply edit the reportpost_thread phrase
but I am telling you the name of the phrase is reportpost_newthread in vB4. This is a Phrase that you would find under Languages and Phrases (not under Styles and Templates).

Elixar
03-24-2014, 11:33 PM
So find it and change it to Reported Post by $reportinfo[rusername] - $reportinfo[forumtitle]?

Lynne
03-25-2014, 05:48 PM
That's what the thread says. I have no idea if it will work in vB4, but you can try it.

Elixar
03-26-2014, 10:35 PM
It worked, but what would I put if I wanted to also put the date and the username of the person being reported instead of the person filing the report?

Elixar
03-31-2014, 01:42 AM
Bump. :)

Lynne
03-31-2014, 05:22 PM
You'll have to add the date as an item to the $reportinfo array around line 528 (or so) in /includes/class_reportitem.php . That is the list of items available to your phrase. Something like:

'today' => vbdate('m-d-Y', TIMENOW, false, false),