Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 PM abuse MOD

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
alienscg Posted - 16 December 2005 : 15:11:07
Well, not really a true forum mod, it is msSQL server trigger. I find it cleaner and faster solution then asp forum mod.

This trigger is a result as constant PM abuse on my forum. One group of members did constantly sending link to their warez and XXX sites. I lock/deleted them, but they registered again, and start sending PM with links to all members immediately. They gave me a big problem, and I didn’t have a true solution for them until this trigger.


installation
Before creating this trigger, you have to add a new column "spam" to forum_members table
[SPAM] int DEFAULT (0)
DEFAULT (0) is very important
sorry, you have to do it manually.


customization
look at lines 28, 42, 44, it is simple
also look at 33, you have to write message in your language :)


download
download<
7   L A T E S T    R E P L I E S    (Newest First)
Jezmeister Posted - 08 March 2006 : 12:31:30
If it's converted to ASP I don't see why it shouldn't but the clue is in "SQL Server Trigger"...<
tribaliztic Posted - 08 March 2006 : 04:01:58
Does anyone know if this would cause trouble with MySQL?
<
tribaliztic Posted - 19 December 2005 : 03:16:50
Would this work with MySQL also? =)
<
AnonJr Posted - 16 December 2005 : 16:37:38
Actually, I'm using Access for my two public forums. I haven't had the traffic to justify anything else.... yet. <
alienscg Posted - 16 December 2005 : 15:47:09
quote:
Originally posted by AnonJr

It looks cool and I'd love to try it. Unfortunately I don't have MS SQL server. How hard would it be to duplicate that functionality with some ASP? I realize that its not as clean and fast as a SQL Server Trigger, but its all a lot of us have available...


I guess it isn’t hard to do some mysql(?) fix ?!?<
alienscg Posted - 16 December 2005 : 15:44:47
Oh, I totally forgot. What does this trigger do:

1. It finds PM (m_id) with content given in WHERE m_message conditions (line 10)
2. Then, trigger find PM sender, PM receiver, PM subject, PM text for given m_id
3. Send that data as new PM to admins (mods possible)
4. delete that PM from forum_PM
5. update member (sender) spam status (+1)

6. a) if member (sender) have less then XX forum posts (“new member” (set XX as you like)) - set status 0 + “bad” title
b) if member (sender) have more then XX spam attempts (set XX as you like) - set status 0 + “bad” title


<
AnonJr Posted - 16 December 2005 : 15:24:11
It looks cool and I'd love to try it. Unfortunately I don't have MS SQL server. How hard would it be to duplicate that functionality with some ASP? I realize that its not as clean and fast as a SQL Server Trigger, but its all a lot of us have available... <

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07