![]() |
This hack allows you to select the method of delivery for the report to moderator message.
Rename the attached script to JohnMinstall.php and run it. It will make the necessary database modification and give you further instructions. Delete the script when you're done. I hope this helps some people :) |
But I get this when installing.
Parse error: parse error in /usr/local/etc/httpd/sites/demolition/htdocs/vb/admin/johnminstall.php on line 10 |
not in admin, just your normal directory
works for me :-( |
If you're using PHP3 use the attached script instead and do the following:
Code:
Database update complete. |
Err, forgot to attach it :O
|
ok the installing is working now :)
but when reporting a post I get this in my e-mail: Database error in vBulletin: Invalid SQL: SELECT DISTINCT userid, user.email FROM moderator,user WHERE user.userid=moderator.userid AND moderator.forumid IN (4,3,-1) mysql error: Column: 'userid' in field list is ambiguous mysql error number: 1052 Date: Monday 28th of May 2001 07:09:27 PM Script: /vb/report.php :( |
ive installed everything just like you laid it out. but when i test it, i get a parse error on the last line on the report.php
the last line is the ?> any suggestions? |
demolition:
change: $moderators=$DB_site->query("SELECT DISTINCT userid, user.email FROM moderator,user WHERE user.userid=moderator.userid AND moderator.forumid IN ($foruminfo[parentlist])"); to: $moderators=$DB_site->query("SELECT DISTINCT user.userid, user.email FROM moderator,user WHERE user.userid=moderator.userid AND moderator.forumid IN ($foruminfo[parentlist])"); Psycho: make sure you didn't overwrite the } for the while() loop |
I changed that section of code, but still receive the same error code. the } is still there for the while loop, made sure there were 3 open and closing.
I attached the file for you to look at if you so wish, Maybe I set something wrong in it. Reason I tried to set this hack up is because the report didnt work on its own as an email, now it still isnt working. <file removed> |
ok I got this working now :)
but the reports are only send to one moderator.. is there a way to send it to all moderators and admins? thnx |
All times are GMT. The time now is 08:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|