vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Reported Posts create a new thread in specified forum (https://vborg.vbsupport.ru/showthread.php?t=61363)

glenvw 12-03-2004 01:31 PM

Ok, hack is working. I commented like this:

# vbmail_start();
#
# foreach ($mods AS $index => $moderator)
# {
# if (!empty($moderator['email']))
# {
# eval(fetch_email_phrases('reportbadpost', $moderator['languageid']));
# vbmail($moderator['email'], $subject, $message);
# }
# }
#
# vbmail_end();

If wrong please correct me.

Now, I would like to know if it would be hard to add 2 more forums to this hack. For instance, my members like to ba able to report an offer on our board in these 2 scenarios:

1) This offer has expired.
2) This offer is a duplicate.

I would like to be able to add 2 text links that will show under a post witht he 2 choices above, and have them reported to the appropriate categories.

Can it be done?

Thanks!

Michael Morris 02-27-2005 09:00 AM

Quote:

Originally Posted by glenvw
In the rteporterd forum I am getting these comment tags:

<!-- BEGIN TEMPLATE: report_startmessage -->


<!-- END TEMPLATE: report_startmessage -->

Where do I get rid of them?

Go to vboptions >> General Settings >> Add Template Name in HTML Comments and disable that.

Now, I've discovered a bad interaction between this hack and the Thread Prefix / Category Hack by Mystics. This hack will stop working if you install Mystic's Hack and set require category to "true". To get the two to work together in that configuration you need to add the following line to the beginning of Xenon's custom code.

PHP Code:

$vboptions['categoryrequired'] = 0

[php]

COBRAws 06-30-2005 04:51 AM

does this work on 3.0.7?

Xenon 07-03-2005 01:24 PM

yes it does

COBRAws 07-05-2005 04:44 AM

Quote:

Originally Posted by Xenon
yes it does

nice! gonna re-install then.

Is there any way for stopping people to report if there has been another report on that specific post?

and:

Is there a way so all reported posts on X Thread are merged into just 1 thread? This is because i dont want to have 5 threads for reports of X Thread.

Thats it. Thank you for your help

Xenon 07-05-2005 04:25 PM

would be possible to add those checks, but i don't have time to include em ;)

csidlernet 07-20-2005 07:44 AM

sweeeet

amcd 10-02-2005 07:26 PM

how about a 3.5 version of this one?

Paul M 10-02-2005 08:33 PM

Quote:

Originally Posted by amcd
how about a 3.5 version of this one?

Ever thought of using the search facility ........

https://vborg.vbsupport.ru/showthread.php?t=83074

Phrost 02-25-2006 02:01 AM

I've got a question. I have mandatory post icons set on my forums (can't start a thread without chosing one).

This doesn't work with that. Is there a way to bypass this?


All times are GMT. The time now is 04:02 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.01219 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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