vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Reported post creates new thread. (https://vborg.vbsupport.ru/showthread.php?t=83074)

Paul M 01-28-2006 04:51 AM

Sorry, no idea, I don't even know what it is, but I assume it has it's own support thread.

davidw 01-28-2006 01:40 PM

<font color="SeaGreen">* Christianb reserves this post to install at a later time as it is something worthwhile but at the meantime uses this spot to subscribe to the thread.</font>

tamborinegal 02-07-2006 04:25 AM

Thanks so much Paul. I can't tell you how much time this will save me.

Thank you :) Clicking install.

Clancy

Cloud-Warrior 02-13-2006 09:36 AM

To add the forum name to the created thread's title and post content, it should be a matter (as outlined above) of changing the 'title' line in the XML to:

PHP Code:

    'title' => 'Reported post in ' .$foruminfo['title'] . ' : ' $threadinfo['title'

and adding:

PHP Code:

Forum : [url=$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]]$foruminfo[title][/url

to the Report_post template or by adding it to above the "Thread :" line in the XML file.

If you do have some characters like & or < in your forum title, there may be problems in the created thread's title (as outlined earlier in this thread), but maybe try using htmlentities($foruminfo['title']) or htmlspecialchars($foruminfo['title']) instead of $foruminfo['title'] in the 'title' line.

Mindwarp 02-17-2006 05:45 PM

any thought on why Everyone but admins would be able to report a post?

cmiller1014 02-20-2006 05:24 AM

As someone stated, the Admin is not given the report post option.....

And the post created contains these comments... how would I remove those??

Quote:

<!-- BEGIN TEMPLATE: Report_post -->
The following post has been reported ;

Thread : This is just a test

Original Post by Admin :

Quote:
Originally Posted by Admin
Tester Testing in the testing forum

Reason Given : This is a reported post
<!-- END TEMPLATE: Report_post -->

Paul M 02-20-2006 10:37 AM

Quote:

Originally Posted by cmiller1014
As someone stated, the Admin is not given the report post option.....

And the post created contains these comments... how would I remove those??

1. This has zero effect on who can report a post since it's not called until you actually report one.

2. Turn off the "Add Template Name in HTML Comments" option in the ACP - it's a debug feature, not for live sites.

daFish 02-20-2006 06:38 PM

Is there a way to get the reported post opened in a new window instead of the parent one?

Mindwarp 02-25-2006 01:13 AM

Quote:

Originally Posted by Paul M
1. This has zero effect on who can report a post since it's not called until you actually report one.

2. Turn off the "Add Template Name in HTML Comments" option in the ACP - it's a debug feature, not for live sites.


wellon the board im running this on we get the option to report a post however when we submit it, it does not apear in the forum designated for reported post to show up. Super Mod and below will show up, but Admins don't :(

SaN-DeeP 02-25-2006 02:46 PM

works like a charm on 3.5.4, could we have an option enabled to send emails + create a new thread as well ?

thanks.


All times are GMT. The time now is 01:05 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.01838 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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