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 07-16-2005 04:03 PM

Oh, nevermind then, having them all go somewhere else would have been a relativly easy change for just yourself. I don't have the time to look at anything more complicated. Sorry.

Biker_GA 07-16-2005 04:25 PM

How difficult would it be to modify the existing hack with the intent of uploading it to work side by side with the current one? It would work only for the admins with it being sent to the forum that is specified in the xml file, but everthing else could remain the same. Even use the same template.

Milesian 07-18-2005 03:45 PM

It creates the thread fine, but it shows this at the beginning:

Quote:

<!-- BEGIN TEMPLATE: report_post -->
And at the end of the post it shows

Quote:

<!-- END TEMPLATE: report_post -->
Have I edited the template wrong?

yessir 07-18-2005 03:49 PM

Quote:

Originally Posted by Milesian
It creates the thread fine, but it shows this at the beginning:



And at the end of the post it shows



Have I edited the template wrong?

Yeah, you don't need those lines in the template. They are only there to make it clear where the template code begins and ends.

Milesian 07-18-2005 03:53 PM

Doh! Thanks :)

Milesian 07-18-2005 03:58 PM

Actually, I don't see that in the "report_post" template that I created

Paul M 07-18-2005 05:05 PM

That's because they aren't there and never have been. The reason you see those is because you have the vb option "Add Template Name in HTML Comments" turned on, this is not normal for a live forum, turn it off.

Milesian 07-18-2005 05:22 PM

I can't see that option, Paul. Which section is it under?

Paul M 07-18-2005 05:23 PM

vBulletin Options > General Settings :)

Christine 07-18-2005 09:54 PM

Hi Paul,

Request from my admin team -- would it be possible to put the forum name into the title of the thread?

I tried, but couldn't seem to find the right variables to add in.

Can you help?

Paul M 07-18-2005 11:27 PM

In the plugin, change ;

PHP Code:

    'title' => 'Reported post in : ' $threadinfo['title'

to;

PHP Code:

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


Chris M 07-18-2005 11:49 PM

Quote:

Originally Posted by Paul M
In the plugin, change ;

PHP Code:

    'title' => 'Reported post in : ' $threadinfo['title'

to;

PHP Code:

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


I've got an idea for this Paul :)

I just was testing this out, and if the user continually reports, it not only boosts their post count but it spams the report forum :ermm:

Is there any way you can make it so that the user can only report one post once? Or if they report it multiple times, the posts with the same postid/threadid can be merged into one thread? :)

Satan

Paul M 07-19-2005 12:54 AM

Quote:

Originally Posted by hellsatan
I just was testing this out, and if the user continually reports, it not only boosts their post count but it spams the report forum :ermm:

Set posts in that forum not to count, and give them a stern warning about abusing the report system. :)

Quote:

Originally Posted by hellsatan
Is there any way you can make it so that the user can only report one post once? Or if they report it multiple times, the posts with the same postid/threadid can be merged into one thread? :)

Of course there's a way - but - it means much more complicated code, and database changes. :)

jluerken 07-19-2005 09:59 AM

Is this working with table prefixes?

Chris M 07-19-2005 11:39 AM

Quote:

Originally Posted by Paul M
Set posts in that forum not to count, and give them a stern warning about abusing the report system. :)

Of course there's a way - but - it means much more complicated code, and database changes. :)

Get cracking then :p

Satan

Christine 07-19-2005 01:34 PM

Thanks Paul. You don't want to know what convoluted gyration I was trying to add in there. :speechless:

Paul M 07-19-2005 02:46 PM

Quote:

Originally Posted by jluerken
Is this working with table prefixes?

Table prefixes are irrelevant - there is no SQL in the hack, just standard vB functions.

Paul M 07-19-2005 02:47 PM

Quote:

Originally Posted by hellsatan
Get cracking then :p

Satan

Not at the moment - though it is on my long term list. :)

Vizionz 07-31-2005 10:12 AM

awesome hack man

Boofo 07-31-2005 10:26 AM

I know how to disable the part about sending emails to Mods. I would still like to be able to do that. My question is this: Can I add anything to this that will say "an email have been sent to the following Mods (name, name, etc.)" at the bottom of the reported post?

Eagle Creek 07-31-2005 10:43 AM

Quote:

Originally Posted by Boofo
I know how to disbale the part about sending emails to Mods. I would still like to be able to do that. My question is this: Can I add anything to this that will say "an email have been sent to the following Mods (name, name, etc.)" at the bottom of the reported post?

The previous hack (I have installed a report post hack) included that. It's usefull!

Paul M 07-31-2005 12:23 PM

I don't think you can do it without file edits, but I don't have time to check - as per my sig I am going away shortly, and apart from one day, won't be around for the next three weeks.

Boofo 07-31-2005 12:32 PM

Ok, well, thanks anyway. I'll wait for Xenon's version.

Have a safe trip and hurry back. ;)

amykhar 08-12-2005 12:37 AM

Is anybody else having problems with this stopping working in RC2?

Neal-UK 08-12-2005 12:41 AM

no, it's working on mine amy on rc2

EDIT: Except the username link in the reported post is broken:

http://www.***********.com/forum<b>*...lmber.php?u=15[/QUOTE]

amykhar 08-12-2005 12:42 AM

strike my last post. I'm a moron who deleted the template in my recent style upgrade.

Neal-UK 08-12-2005 12:44 AM

Quote:

Originally Posted by amykhar
strike my last post. I'm a moron who deleted the template in my recent style upgrade.

see my last, any fix for that?

Dream 08-13-2005 06:30 AM

"database mark forum read" isnt working with this, the forum stays marked unread even though I read every report, is this only with me?

SkyShadow 08-13-2005 09:06 AM

In my forum the plugin does not work. When I report a post the plugin does not create a thread.
I changed the forum id 00 to 24.
The plugin is active!

Christine 08-13-2005 02:54 PM

Quote:

Originally Posted by nealparry
see my last, any fix for that?

Remove the /me code plugin for now. Dean is working on it. :)

https://vborg.vbsupport.ru/showpost....1&postcount=17

SkyShadow 08-14-2005 09:38 AM

Does anyone have a solution for my problem??

#69

Christine 08-14-2005 04:31 PM

@SkyShadow -- did you create the report_post template?

SkyShadow 08-14-2005 05:03 PM

No, thanks :)

Now it works fine

poolking 08-14-2005 05:34 PM

/me installed

Christine 08-14-2005 09:56 PM

@ Dream -- it is working for both of my sites. I am using Database (automatic forum marking)

yessir 09-04-2005 10:25 PM

Works great, I love it. Stupid question (maybe, maybe not). How can I allow users to report themselves?

We run a forum that is pretty civil and after the edit time has passed, I'd still like my members the ability to ask a mod to remove a post they regret making BEFORE it starts a flame war.

Any ideas?

phlogiston 09-04-2005 10:37 PM

Quote:

Originally Posted by roscoe36
How can I allow users to report themselves?

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

The Realist 09-15-2005 05:10 PM

Installed but its not placing the reports in the choosen section. I have edited the xml file and created the template.

Ideas?

Paul M 09-15-2005 05:13 PM

You say edited the xml file - you don't need to do this - you need to edit the plugin, in the ACP, after you have imported it.

The Realist 09-15-2005 06:42 PM

I deleted the original file and uploaded a fresh file. I then done as you said and edited it via the admin panel, but it still does not work?

Laters

Quote:

Originally Posted by Paul M
You say edited the xml file - you don't need to do this - you need to edit the plugin, in the ACP, after you have imported it.



All times are GMT. The time now is 04:20 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.01575 seconds
  • Memory Usage 1,806KB
  • 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
  • (4)bbcode_php_printable
  • (14)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
  • (40)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