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)
-   -   vB Report Manager 2.0 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread! (https://vborg.vbsupport.ru/showthread.php?t=59709)

Mark.B 01-19-2005 12:01 AM

Quote:

Originally Posted by Erwin
Bizarre - is this happening to anyone else?

Yes, same thing here. And in the PM too.

Erwin 01-19-2005 12:59 AM

What's your Admin CP setting? As in, what is switched on or off? Does it happen if you switch everything to on? It could be the way I made the conditionals...

Mark.B 01-19-2005 01:04 AM

Quote:

Originally Posted by Erwin
What's your Admin CP setting? As in, what is switched on or off? Does it happen if you switch everything to on? It could be the way I made the conditionals...

All three settings set to yes.....

It shows correctly in the email, just not in the PM or the thread.

Fantastic hack though Erwin.....thought I should add that. I couldn't manage reports without at least the PM option.

I should also add I am now on 3.0.6.

geezzaa 01-28-2005 12:25 AM

Geezzaa smaks down the install button .
My Pms arent working tho- any ideas im usung 3.0.3

Erwin 01-28-2005 02:10 AM

Quote:

Originally Posted by Mark.B
All three settings set to yes.....

It shows correctly in the email, just not in the PM or the thread.

Fantastic hack though Erwin.....thought I should add that. I couldn't manage reports without at least the PM option.

I should also add I am now on 3.0.6.

Bizarre - I'm going to have to look at the code again this weekend. Sorry about this.

Erwin 01-30-2005 03:28 AM

Update Version 2.1

1. Fixed email option bug

2. Fixed URL parsing bug

To upgrade, it's easiest just to reinstall this hack over a CLEAN REPORT.PHP file

jribz 01-31-2005 12:44 PM

Erwin, thanks for the great hack, extremely useful on my boards, I appreciate the work. :)

|| clicks install ||

Starsurfer 02-01-2005 02:33 PM

Hi there, I just downloaded this, however I cant find where to put the last bit of code, can someone please advise. Thanks. Its the bit about the variable reportbadpost

Starsurfer 02-01-2005 05:20 PM

i have looked over it, and I still have not found it, any help please?

Erwin 02-01-2005 08:41 PM

Quote:

Originally Posted by Starsurfer
i have looked over it, and I still have not found it, any help please?

It's a phrase - search in your phrase manager in Admin CP.

Starsurfer 02-01-2005 09:16 PM

Tahnks, iI have done it and installed it, is there a possible way to send this to the admins asl well?

Erwin 02-02-2005 10:51 PM

Quote:

Originally Posted by Starsurfer
Tahnks, iI have done it and installed it, is there a possible way to send this to the admins asl well?

By default, this happens only if there are no mods assigned.

Starsurfer 02-03-2005 04:36 PM

how do you change it?

H2k 02-04-2005 04:29 AM

Quote:

Originally Posted by Starsurfer
how do you change it?

i have the same problems

ambumann 02-04-2005 06:01 AM

How can I add a function that sends email/PM to the reporting user containing a standard message like:

"vB.org team has received your report and will adress this matter as quickly as possible".

Erwin 02-05-2005 03:25 AM

Quote:

Originally Posted by H2k
i have the same problems

It's not a "problem" this is how vB works by default. Most admins won't want to get PMed the report if there's a mod in the forum and the admin is not a mod of that forum.

gkar 02-06-2005 09:03 AM

Great one thanks a lot.

Install :D

dwh 02-11-2005 03:38 AM

The only thing I didn't understand about how you implemented this, fromlooking at the table rows created directly, is why you didn't seem toproperly populate the touserarray field in pmtext table. It turns outthat you are inserting this variable:
'" . addslashes(serialize($tostring)) . "'

however I don't see the variable $tostring created anywhere, unless itcame from a function. I am still looking into this, but I have afeeling this needs to be fixed. Weird thing is, PM did show up :)

:rolleyes:

Erwin 02-11-2005 10:03 PM

Quote:

Originally Posted by dwh
The only thing I didn't understand about how you implemented this, fromlooking at the table rows created directly, is why you didn't seem toproperly populate the touserarray field in pmtext table. It turns outthat you are inserting this variable:
'" . addslashes(serialize($tostring)) . "'

however I don't see the variable $tostring created anywhere, unless itcame from a function. I am still looking into this, but I have afeeling this needs to be fixed. Weird thing is, PM did show up :)

:rolleyes:

I'm not populating it because I'm not using code to check who we are sending it to and checking their PM permissions etc. :)

dwh 02-12-2005 12:20 AM

Quote:

Originally Posted by Erwin
I'm not populating it because I'm not using code to checkwho we are sending it to and checking their PM permissions etc. :)

as long as its on purpose :)

So was I just seeing things or is that variable empty?

H2k 02-12-2005 01:21 AM

very nice .i try this mod 4 day a go .. and it dont work with me ..

so i'am going to install it again and see how it work ..

i have other idea.. if u can do it in the Contact as ... this will be help full becz some time user send how can i install windows xp and this nd that.. if u can make it.. for contact as it will be really great..

Thankyou :)

kall 02-12-2005 06:02 AM

Quote:

Originally Posted by H2k
very nice .i try this mod 4 day a go .. and it dont work with me ..

so i'am going to install it again and see how it work ..

i have other idea.. if u can do it in the Contact as ... this will be help full becz some time user send how can i install windows xp and this nd that.. if u can make it.. for contact as it will be really great..

Thankyou :)

You...want people to be able to report the contact us page?

*scratches head in confusion*

H2k 02-12-2005 09:02 AM

Quote:

Originally Posted by kall
You...want people to be able to report the contact us page?

*scratches head in confusion*

Some time They go right away Type how to Active My account or how to get this programs or this and that ..

so if he can make it for contact us .. that anyone is going to send msg.. in contact as.. it will post a thread..

some time we dont check our emails all the times ..

Marulatree 02-12-2005 03:57 PM

Erwin,

Great hack and very useful - Thank you.

I am have one problem though...

I have all 3 options set to YES.

But it's not posting the reported post in my designated forum (ID:72)

Although I am getting emails & PM's but no thread is being created in the "reported posts" forum...

I have check and double checked the install and all is ok.

Any ideas?

Marulatree 02-12-2005 04:57 PM

Nevermind - I put the wrong forum id in....lol

Thanks agian for this great hack m8

Snifter 02-15-2005 03:19 AM

Installed this, and now when I try to report a post I get this error:

Parse error: parse error, unexpected T_VARIABLE in /home/****/forum/report.php on line 129

Line 129 being $moderators = $DB_site->query(" from:

PHP Code:

// Erwin's Report Hack 
++++$moderators $DB_site->query(
++++++++SELECT DISTINCT user.email, user.userid 
++++++++FROM " 
TABLE_PREFIX "moderator AS moderator," TABLE_PREFIX "user AS user 
++++++++WHERE user.userid = moderator.userid 
++++++++++++AND moderator.forumid IN (
$foruminfo[parentlist]
++++"
); 
// Erwin's Report Hack 


Snifter 02-15-2005 03:42 AM

Nevermind, I installed it wrong. Works great, thanks Erwin :)

Erwin 02-15-2005 03:42 AM

What's with all the +++ symbols in the code? The hack works if installed as per instruction.

Nickeh32 02-18-2005 07:36 PM

Great Mod, installed but i got a database error when a post was reported
Quote:

Originally Posted by db error
Invalid SQL: INSERT INTO pm (pmtextid, userid, messageread) VALUES (, 1, 0)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 0)' at line 1

mysql error number: 1064

I'm not too good at php and mysql so be nice :p can anyone help?

YabbaDabba 03-10-2005 03:53 AM

I installed an early version of this in June of last year on a vB 3.0.1 install.

I recently upgraded to vB 3.0.7.

I would like to upgrade to your 2.1 release.

I haven't moved the old report.php changes into the new report.php file.

Should I treat this as a brand new install?

Erwin 03-10-2005 08:10 PM

Quote:

Originally Posted by YabbaDabba
I installed an early version of this in June of last year on a vB 3.0.1 install.

I recently upgraded to vB 3.0.7.

I would like to upgrade to your 2.1 release.

I haven't moved the old report.php changes into the new report.php file.

Should I treat this as a brand new install?

Yes.

YabbaDabba 03-10-2005 10:54 PM

Thank you for your quick response.
It's always a pleasure to see a well-supported 3rd-party feature.

Regards,

kcadd 03-12-2005 07:12 AM

/me installs... Thanks!

zorab 03-17-2005 07:50 PM

Great hack - fantastic work erwin!

QuickFire 03-31-2005 04:24 AM

good hack :)

SmartGnome 04-04-2005 10:32 AM

Again an Dr. Erwin Hack :banana: Installed in less then 5 minutes.....

Install is clicked

Robert9 04-13-2005 08:22 PM

This is a great hack, everything is working perfectly. I'm only having problems with part 2 of the install, where you say these instructions:

"2. Look for the phrase variable "reportbadpost" under "Email Body Text Phrases".

Replace it with this translation."

Where would I find this Email Body Text Phrases (I can't find it in report.php)? Thanks in advance!

Erwin 04-13-2005 10:07 PM

Quote:

Originally Posted by Robert9
This is a great hack, everything is working perfectly. I'm only having problems with part 2 of the install, where you say these instructions:

"2. Look for the phrase variable "reportbadpost" under "Email Body Text Phrases".

Replace it with this translation."

Where would I find this Email Body Text Phrases (I can't find it in report.php)? Thanks in advance!

Admin CP, Phrase Manager.

Robert9 04-13-2005 10:15 PM

Thanks, I guess that was a little obvious:)

HeloHi 04-27-2005 05:52 AM

Thank you for this :)


All times are GMT. The time now is 11:34 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.01656 seconds
  • Memory Usage 1,824KB
  • 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
  • (14)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
  • (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