vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - List Reported Items (https://vborg.vbsupport.ru/showthread.php?t=233232)

aaronrand 02-18-2010 07:57 PM

Great mod, thank you.
I showed it to my friend who is using VB 3.8, and was asking me if you had a version for 3.8 of this mod?

Paul M 02-19-2010 01:05 AM

Yes, there is a 3.8 version.

Big-K 07-05-2010 02:21 PM

Hi Paul,

In the details pop out box, I will like to show the reason why a post is reported. I have managed to create the row but need the correct syntax for cdata. can you help?

Here's what I have at the moment
Quote:

$cname = 'Reason for reporting';
$cdata = $reportinfo[reason];
$template_post->register('cname',$cname);
$template_post->register('cdata',$cdata);
$reportedpost .= $template_post->render();
I have attached a screenshot of where I'm headed

Also, Is there a way to highlight reported posts in the forum? I know this is beyond the scope of your fantastic product, but just wondering.

Paul M 07-05-2010 05:04 PM

Im afraid its not that simple - you would need to write a function to extract the reason text from the entire post text - somewhat similar to how the rplgetreply() function works - then store that in the array as its built - and finally output it like the other elements.

There is no way to highlight reported posts, but it would not be too hard as every post stores its report threadid, so you just need to see if the post has one.

Big-K 07-08-2010 02:47 AM

Quote:

Originally Posted by Paul M (Post 2064890)
Im afraid its not that simple - you would need to write a function to extract the reason text from the entire post text - somewhat similar to how the rplgetreply() function works - then store that in the array as its built - and finally output it like the other elements.

There is no way to highlight reported posts, but it would not be too hard as every post stores its report threadid, so you just need to see if the post has one.

Thanks Paul. Are these options you may consider for a future release?

Paul M 07-09-2010 01:05 AM

Sorry, Im afraid not.

RobbieZ 07-12-2010 08:35 AM

Would be great if the it appeared in notification to bring the attention of staff that a post has been reported.

ProFifaLeagues 07-19-2010 08:43 AM

Paul how do we set up this correctly so the mod will work A1?


Warning: For this system to work you must have vbulletin set-up to create a new thread for each report. Installing this will disable the e-mail reporting, so until you have a report forum set, reporting will be disabled.

Paul M 07-19-2010 11:16 AM

Exactly as it says - set vb up to create a new thread for each report - in a dedicated forum (in your staff area) is best.

BlackHoster 07-19-2010 02:09 PM

thank you :) i will try to test it and come back to give you the results :D


All times are GMT. The time now is 07:14 AM.

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.02053 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete