vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Changing thread titles of reported posts (https://vborg.vbsupport.ru/showthread.php?t=216501)

mme42 06-18-2009 09:47 PM

Changing thread titles of reported posts
 
Does anybody know how I'd go about changing how the thread titles display for reported posts? We have reported posts sent to a specific forum and the thread title normally reads "Reported post by [username]." I'd like to change it so it automatically includes the forum/section name in the title as well so that the mods for individual forums can spot the reported posts that need their attention quicker. So, maybe something like "Reported post by [username] ([forumname])." Or even if I could change it to include the thread title of the post that was reported would be ok.

I read in another post that you can change the phrase for emails that are sent to mods to include the title of the thread. But, our mods don't really check their email as often as they check the reported posts section so it's way less convenient.

Would I change this in the report.php? If so, what would I change/add? Or could it be done through phrases?

Thanks :D

Lynne 06-18-2009 10:54 PM

Do a Search in Phrases for "reported post by" to find the phrase. You may use $reportinfo[forumtitle] for the forum title.

mme42 06-18-2009 11:16 PM

That worked perfectly. I thought that phrase was only for the emails sent. I tried it before to include the thread title but I must have worded it wrong. Thanks :D


All times are GMT. The time now is 02:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01608 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete