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 Warning system (https://vborg.vbsupport.ru/showthread.php?t=59927)

Sebastian 01-08-2004 10:00 PM

vB Warning system
 
This allows you to warn a user for bad posts. The warning is sent via private message, you can specify who the pm is from so it can be done without them knowing who sent the warning.

When users report a post you get a private message! something vb always lacked.

A user now can choose a reason instead of typing a message. though, they can still type a message if they want.

The moderators of the forum will receive the pm.
follow the instructions, there is a large code edit in report.php

Sebastian 01-08-2004 11:44 PM

also, mods/admins can warn users.

floleb7 01-09-2004 01:23 AM

what happends if the member you want warn has pm off ?

Sebastian 01-09-2004 02:23 AM

it still sends the PM ;)

i figured its going to be an admin/mod sending the warning, so its important that the message get sent either way ;)

edit: i just noticed Erwin released something similar to this, damn mind readers :D

corsacrazy 01-09-2004 08:19 AM

in postbit will it show a warning level like on the vb2 system and when a user reaches that certain warnin level they are banned

magnus 01-09-2004 11:23 AM

Quote:

Originally Posted by corsacrazy
in postbit will it show a warning level like on the vb2 system and when a user reaches that certain warnin level they are banned

No, this one appears to send a text warning only. Erwin's, however, has points and will auto-ban once the threshold is reached.

corsacrazy 01-09-2004 01:05 PM

Quote:

Originally Posted by magnus
No, this one appears to send a text warning only. Erwin's, however, has points and will auto-ban once the threshold is reached.

erwins hasnt been released yet tho has it ?

magnus 01-09-2004 01:13 PM

Quote:

Originally Posted by corsacrazy
erwins hasnt been released yet tho has it ?

Sure has, look down a couple of threads. It was released on the 5th.

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

corsacrazy 01-09-2004 01:17 PM

just saw it , its not too good a combination of the 2 hacks would be better but thats just me being fussy

PranK 01-10-2004 03:27 AM

sweeeet!! i was missing this during the beta stage!!

Thanks!

Christian

albibak 01-13-2004 07:26 PM

Can you update it for RC2 ?

Marzas 01-19-2004 05:56 AM

is it possible for someone to downgrade this to vbulletin 2.3.* please?

gmarik 01-19-2004 07:20 AM

It does not replace the karma vB3 function? Would be nice if so ...

Allan 01-24-2004 07:57 AM

it's compatible RC3 ?

toadyd 01-24-2004 09:21 AM

Yes, it works fine for RC3.

Goyko 01-24-2004 01:46 PM

Hi there,

I would install this right away, because I need something like this urgently!

But I'm running a multilanguage board with mainly german users.
Unfortunately everything (except the 4 phrases) is hardcoded in english :(
Would you mind to make this hack multilanguage cappable?

Thanks in advance!

Best regards...
Goyko

msimplay 01-28-2004 01:48 AM

need this hack with some kind of banning threshold ie Admin settable option 10 points and user gets banned

Allan 02-16-2004 10:11 PM

PHP Code:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL
        
INSERT INTO pmtext 
            
(fromuseridfromusernametitlemessagetouserarrayiconiddatelineshowsignatureallowsmilie)
            
VALUES 
            
(11 <-- ** MODIFIEZ CETTE LIGNE AVEC L'ID DU MEMBRE **, 'system <-- ** MODIFIEZ CETTE LIGNE AVEC LE NOM DU MEMBRE ***', 'Moderator Warning', 'Socrateun des mod?rateurs a re?u un avertissement vous concernant.

La raison est la suivante: [b]pornographic material[/bsuite votre message [b]?[/b][url=http://127.0.0.1/rc4/showpost.php?p=1]Test[/url]

SVP Abstenez-vous de poster de tel commentairesSi vous refusez de vous conformer nos r?gles,  d\'autres mesures seront prises.''a:1:{i:1;s:7:\"Socrate\";}'0107697657301)
mysql errorErreur de syntaxe pr?s de 'raison est la suivante: [b]pornographic material[/b] suite ? vot' la ligne 6

mysql error number
1064 

an idea ?

=========================

sorry, it's OK on rc4 :)

Face Off Mobile 02-18-2004 09:51 PM

im using RC4 and tried to install this but when i click warn i get

PHP Code:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL
SELECT post.postidpost.threadidpost.useridthread.title AS threadtitleuser.username AS username 
FROM vb3_post 
   LEFT JOIN thread ON 
(thread.threadid=post.threadid)
   
LEFT JOIN user ON (user.userid=post.userid
   
WHERE post.postid '66'
   
mysql errorTable 'faceoffm_vbulletdb.thread' doesn't exist

mysql error number: 1146 

what can i do?

teksigns 04-10-2004 01:56 PM

i have found a bug.....

if someone post something thats breaking the rules and i edit
there post then try to send a warning ......

it shows that its going to send to them .
but it actually sends to me instead.

help !!!!!!!!!!!!!!

TheRayden 04-13-2004 10:00 PM

This has got to be the best hack ever. Myself and my mod team are going to love this. You just made our work a whole lot easyier.

Lurk 05-22-2004 02:16 PM

now, how about WOL?

neo|d3fx 06-14-2004 04:15 AM

yeah, this doesn't work on vb 3.01 for me. It generates the exact same error message as Socrate. Anyone have ideas? This is a good hack that I wished would work.

dwh 01-22-2005 05:42 PM

Although I usually love Erwin's hacks, what bothers me about his implementation is auto banning. I wouldn't like a robot to make that kind of decision. This hack looks very nice. Are these two the only ones worth looking at or has someone else come up with one? Also, is anyone still watching this?

j_86 01-22-2005 10:38 PM

Do a search for Advanced Warning System (AWS) and you won't look back :)

dwh 01-23-2005 03:07 PM

OK I will

dwh 01-23-2005 05:06 PM

found it. Looks too complicated to install although excellent if you have the energy to do the work.

Edit: Although I just noticed this one seems a lot of work too.

edbri871 05-27-2005 10:13 AM

When someone reports something. the mods on my forum also keep recieving emails. is there a way to disable the email option? So it only sends a PM to all mods?

coldpride 05-27-2005 08:41 PM

I got this error

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT post.postid, post.threadid, post.userid, thread.title AS threadtitle, user.username AS username
FROM vb3_post
LEFT JOIN thread ON (thread.threadid=post.threadid)
LEFT JOIN user ON (user.userid=post.userid)
WHERE post.postid = '3588'

mysql error: Table 'anicomm_forums.thread' doesn't exist

mysql error number: 1146

someone please help

j_86 05-28-2005 12:13 PM

Amazing some people still use this hack..

Do a search for

Advanced Warning System AWS

edbri871 05-29-2005 12:44 PM

I've been using this hack, and it works fine now. Removed the email part of the code.

For some reason the popups saying you have a new PM don't come up with reported posts. Anyone know how to fix that?

coldpride 06-04-2005 02:51 AM

Quote:

Originally Posted by coldpride
I got this error

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT post.postid, post.threadid, post.userid, thread.title AS threadtitle, user.username AS username
FROM vb3_post
LEFT JOIN thread ON (thread.threadid=post.threadid)
LEFT JOIN user ON (user.userid=post.userid)
WHERE post.postid = '3588'

mysql error: Table 'anicomm_forums.thread' doesn't exist

mysql error number: 1146


someone please help


anyone would like to help me out? when I click the warn button it displays that message.

Marco van Herwaarden 06-04-2005 05:58 AM

In your warnuser.php, find:
PHP Code:

$getinfo $DB_site->query_first("
SELECT post.postid, post.threadid, post.userid, thread.title AS threadtitle, user.username AS username 
FROM " 
TABLE_PREFIX "post 
   LEFT JOIN thread ON (thread.threadid=post.threadid)
   LEFT JOIN user ON (user.userid=post.userid) 
   WHERE post.postid = '" 
$postid "'
   "
); 

and replace with:
PHP Code:

$getinfo $DB_site->query_first("
SELECT post.postid, post.threadid, post.userid, thread.title AS threadtitle, user.username AS username 
FROM " 
TABLE_PREFIX "post 
   LEFT JOIN " 
TABLE_PREFIX "thread AS thread ON (thread.threadid=post.threadid)
   LEFT JOIN " 
TABLE_PREFIX "user AS user ON (user.userid=post.userid) 
   WHERE post.postid = '" 
$postid "'
   "
); 


JsnakeJ 06-17-2005 11:47 PM

Will this work on 3.0.7?


All times are GMT. The time now is 02:45 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.01136 seconds
  • Memory Usage 1,801KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete