vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Improved Moderator Alert System (https://vborg.vbsupport.ru/showthread.php?t=48603)

hukgwai 02-13-2003 05:47 PM

i think im confused.. is the person who is reporting the post going to be the poster in mods only forum? the actual "robot" is not the poster?

ethics 02-13-2003 07:09 PM

Quote:

Originally posted by hukgwai
i created a new user and put it's userid in modalert.php.. but ends up me posting the alerts in the mod forum

Not sure what you mean.

Anytime a user presses the modalert, you will get a post in the mod forum, alerting all the mods for the thread/post in question.

Kamakazy 03-12-2003 06:02 PM

i get a parse error...

Parse error: parse error in mysite/forum/admin/functions.php on line 818

and a Fatal error...

Fatal error: Call to undefined function: vbdate() in mysite/forum/admin/sessions.php on line 400

what am i doing wrong?

this happens once i add the functions.php code hack...

i am using version 2.2.9

Ghostsuit 03-14-2003 02:25 PM

Quote:

02-09-03 at 05:12 AM ethics said this in Post #39
Guys, anyway that this can have a small text box that the user (complainer) will be able to state their reasons for their report?

If not no biggie, great hack and thank you very much to not only you but all of the hackers and the members. :)

That would be an excellent feature it's the only things my mods have asked.

drumsy 03-14-2003 04:02 PM

Quote:

02-13-03 at 02:47 PM hukgwai said this in Post #41
i think im confused.. is the person who is reporting the post going to be the poster in mods only forum? the actual "robot" is not the poster?

You specify in modalert.php which user ID you want to post the Alert thread in the forum that you also specify in the same place! :)

Sanni 03-15-2003 04:06 AM

sounds like an awesome hack :)

Just one question, I have about 50 different forums all moderated by different people and each forum category has it's own admin forum (to get an idea of what I'm talking about you can see the forums here: http://www.ozforums.com )

With this hack can it be set such that the alert gets placed in the relevant admin forum for that post? (considering there are about 50 admin forums :) Or is it possible to apply this hack so it only works on one particular forum (as opposed to all of them?

SgtSling 03-17-2003 10:20 AM

for some reason no matter who I use as the robot poster.. it always posts as user id 1

Master Computer 04-05-2003 05:58 PM

Thanks man

mvigod 04-07-2003 10:20 PM

Great hack..worked fine under 2.3.0.

Would be even nicer if the user could add a short comment about why he/she was reporting the post though so the mods don't have to figure out exactly why it was reported.

Figment 04-08-2003 06:53 PM

I've just installed this on 2.2.8, to create a new thread in my moderators forum for each alert. It seems to be working as intended, I have a couple of points that need clarifying.

1. The Name that appears in "Started By" (and the thread author) in the moderators forum is the user reporting the post - not the userid set up in modalert.php. Is this correct or have I forgotten something.

2. When a new thread is added to the moderators forum via ModAlert, the moderators do not get email notification. However if I post a thread manually into the moderators forum they do.

3. I attempted to change over to Erwins suggested method, by editing report.php. This gives a parse error, unexpected ')' in report.php on line 61, which is this:

PHP Code:

$DB_site->query("INSERT INTO thread  (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attach) VALUES (NULL,'".$subject))."','".time()."','$modforum','1','0','".$bbuserinfo[username])."','$bbuserinfo[userid]','".$bbuserinfo[username])."','".time()."','$iconid','1','0')"); 

so I changed back to the original, but still do not have emails going to the moderators.
Thanks in advance for your help.


All times are GMT. The time now is 11:10 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.01215 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
  • (1)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
  • (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