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)

The Realist 09-16-2005 12:37 PM

Thanks, forgot to add the template to the style :)

Latersxs

Quote:

Originally Posted by Paul M
Make sure the template is called report_post (case sensitive) and is available in all styles you use.


Paul M 09-16-2005 04:10 PM

Quote:

Originally Posted by The Realist
Thanks, forgot to add the template to the style :)

Latersxs

Ah, glad you're sorted - the new version should prevent this - as the template is imported by the product into the master style.

btw - please click install :)

The Realist 09-16-2005 04:11 PM

Great and I have clicked the install buton as well :)

laters

Quote:

Originally Posted by Paul M
The e-mail can still be sent, just turn off the plugin that disables the e-mail send. I don't see the point of a PM when a thread is created.


utw-Mephisto 09-18-2005 04:17 PM

LOVE THAT !

It is working like a charm :)

Yorixz 09-29-2005 01:36 PM

Very nice plugin but somehow the
Code:

<!-- BEGIN TEMPLATE: report_post --><!-- END TEMPLATE: report_post -->
tags keep coming up; does anyone have a solution? (I've checked the templates but it's not in there.

Acers 09-29-2005 02:31 PM

i think if you remove the commend : put template names for templates in admincp that will vanish. It did for me anyway.

dieselpowered 09-29-2005 03:47 PM

Quote:

Originally Posted by nexialys
ADDITION:

to display the redirect page after the user sent the message, just add this at the end of the actual hack:

FIND
PHP Code:

// ########### End report posts hack ############# 

at the end of the plugin text, ADD this JUST BEFORE:
PHP Code:

eval(print_standard_redirect('redirect_reportthanks',1,1)); 

.. the actual one is not showing the redirect completely...

Is this something that is needed?

Just curious if it was updated in the attached file, if it was, I am not getting any sort of redirect message.

@Paul M, forgive me if this was answered, however, if I set up the hack to start a new thread in a staff area where the user who reports the post does not have access to read or post, will it still create a post from him/her?

Great hack!

**clicks install**

Paul M 09-29-2005 05:26 PM

Quote:

Originally Posted by Yorixz
Very nice plugin but somehow the
Code:

<!-- BEGIN TEMPLATE: report_post --><!-- END TEMPLATE: report_post -->
tags keep coming up; does anyone have a solution? (I've checked the templates but it's not in there.

This is totally unrelated to this hack - it is because you have "Add Template Name in HTML Comments" set to yes in the vb general settings. It should always be set to no on a live forum.

Paul M 09-29-2005 05:30 PM

Quote:

Originally Posted by xtremeoff-road
Is this something that is needed?

Just curious if it was updated in the attached file, if it was, I am not getting any sort of redirect message.

@Paul M, forgive me if this was answered, however, if I set up the hack to start a new thread in a staff area where the user who reports the post does not have access to read or post, will it still create a post from him/her?

Great hack!

**clicks install**

There is no redirect code in the hack, it's not necessary IMO, but you can add it if you prefer it on your forum. :)

Yes, it will create a thread in a staff area, regardless of whether the user has permission to view it - I would think this is how 99% of people use it. :)

Ncturnal 09-29-2005 07:27 PM

Yet again, another awesome modification.


All times are GMT. The time now is 08:08 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.01871 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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