vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Improve Reported Posts (https://vborg.vbsupport.ru/showthread.php?t=309615)

zigziggityzoo 03-17-2014 12:25 PM

Improve Reported Posts
 
Right now, the standard VB4 reported posts just show the person who reported in the title. I'm wondering if the reported posts can't be improved so that

1) the title of the post shows the name of the offender, not the reporter. (And maybe the title of the post, too!)
2) the mouseover text shows the text of the post.

#2 doesn't happen because the text of the reported post is now in quotes.

It would make life easier for my mods if they could quickly scan for duplicate reports, and so on.

kh99 03-21-2014 10:25 PM

Sorry for the late reply, but if you haven't figured this out yet, I think you can do it by changing the phrases named reportpost_newthread (one is the post title, another is the body).

Lynne 03-21-2014 11:16 PM

Actually, I'm pretty sure you will need to modify the report.php code directly. The phrase only takes certain input and the input is defined in the script. I modified the report titles on my site and had to edit the code directly.

kh99 03-22-2014 11:03 AM

Well, that would be true if you wanted to add something that wasn't there already or you needed to modify some of the information, but I think the two things mentioned in the first post can be done by editing the phrases. I think you can use $reportinfo[pusername] and $reportinfo[threadtitle] in the subject phrase, and you could remove the quote tags from around $reportinfo[pagetext] in the body phrase.

Lynne 03-22-2014 07:18 PM

Ah, you could be right. I wanted to put in the forumname because I basically have audio and video mods and I wanted an easy way to see which forum the report came from.

zigziggityzoo 04-15-2014 11:31 AM

thanks for the suggestions. I was able to change phrases to make the reported posts more useful. Seems redundant to have the "Post reported by: USERNAME" with the poster's username right underneath it...

Anyway. Phrases did the job for me. Thanks again.

tbworld 04-15-2014 08:22 PM

Nice thread @Lynne and @Kh99 ... Thanks :)

ocidas 05-10-2014 04:09 PM

Hi, one might add default options?

It would be much easier for users to dial only one casille optionally can comment.

This image is from an old version of vB:

http://clip2net.com/clip/m0/13997415....png?nocache=1

I wonder if anyone has information on how to modify report.php so that version is in the 4xx


All times are GMT. The time now is 03:28 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.01032 seconds
  • Memory Usage 1,717KB
  • 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
  • (8)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