Go Back   Pligg Forum > Pligg Development > Pligg Modules
Reply
 
LinkBack Thread Tools Display Modes
Old 01-10-2008, 09:16 PM  
Bad-Behavior v.01
 
chuckroast's Avatar
chuckroast
Pligg Developer
Pligg Version: 9.9
Pligg Template: Summerfest
Join Date: Jun 2006
Location: PA
Posts: 2,129

Show Printable Version Email this Page
chuckroast chuckroast is offline 01-10-2008, 09:16 PM
Rating: (2 votes - 5.00 average)

Bad-Behavior v01

Helps prevents comment spam, trackback spam, guestbook spam, referrer spam, and some types of malicious web site hacking.

Bad Behavior is designed to work alongside existing spam prevention services to increase their effectiveness and efficiency. Whenever possible, you should run it in combination with Scarecrow v.01 Pligg Module.

Based on Bad-Behavior

Instllation:

Unzip Bad-Behavior.zip

Upload the folder Bad-Behavior to yoursite.com/modules/

Go to admin> module magement> and activate the module

Open the pligg.tpl file inside your template folder and add the following line just before </head>

Code:
      {php}include('/home/www/path-to-pligg/modules/Bad-Behavior/bad-behavior-generic.php');{/php}
Don't forget to change path-to-pligg to your own absolute path.

Attached Files
File Type: zip Bad-Behavior.zip (26.7 KB, 10 views - Who Downloaded?)

__________________
Visit PliggPro the official Pligg Mods & Template Shop!


Last edited by Yankidank : 08-14-2008 at 12:21 PM.
Views: 1712
Reply With Quote
The Following 4 Users Say Thank You to chuckroast For This Useful Post:
  #11 (permalink)  
Old 04-09-2008, 04:57 PM
lacasuela lacasuela is offline
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 203
Downloads: 52
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
hey how this work??

can i configure it?? or sensitive means automatically??

thanks..
__________________
www.cubaleo.net
Reply With Quote
Sponsored Links
  #12 (permalink)  
Old 04-09-2008, 07:31 PM
chuckroast's Avatar
chuckroast chuckroast is offline
Pligg Developer
Pligg Version: 9.9
Pligg Template: Summerfest
 
Join Date: Jun 2006
Location: PA
Posts: 2,129
Downloads: 48
Uploads: 19
Thanks: 158
Thanked 416 Times in 256 Posts
Quote:
Originally Posted by Divisive Cotton View Post
Am I missing something here? Where's the Bad Behaviour file to donwload?
That's odd.. It was there... I'm not sure how it was removed...
Anyway it's available in the downloads section here.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #13 (permalink)  
Old 04-10-2008, 02:19 PM
Divisive Cotton's Avatar
Divisive Cotton Divisive Cotton is offline
Pligg Donor
 
Join Date: Sep 2007
Posts: 221
Downloads: 15
Uploads: 0
Thanks: 2
Thanked 12 Times in 7 Posts
Quote:
Originally Posted by chuckroast View Post
That's odd.. It was there... I'm not sure how it was removed...
Anyway it's available in the downloads section here.
Thanks a lot
Reply With Quote
  #14 (permalink)  
Old 06-11-2008, 08:00 PM
The Humanaught The Humanaught is offline
Casual Pligger
 
Join Date: Jun 2006
Posts: 86
Downloads: 8
Uploads: 0
Thanks: 8
Thanked 12 Times in 6 Posts
Thanks loads for this port of BB Chuck!

For anyone that has problems after installing this with a PHP error on the include function, two things to check:

1. Clear Pligg's cache (it's amazing how often I forget to do this): just delete all the files in the /template_c/ folder.

2. When following the install instructions for the module, be aware that the absolute path to your file may not be: /home/www/path-to-pligg/modules/Bad-Behavior/bad-behavior-generic.php

The part in bold can be a number of variations. As the install instructions says, change the path-to-pligg to your Pligg's root (remove it if it's installed in the root of your site). Instead of /home/, you may need to change this to your hosting account name.
__________________
The Hao Hao Report: The Best Stories About China
Reply With Quote
  #15 (permalink)  
Old 06-12-2008, 02:28 AM
Divisive Cotton's Avatar
Divisive Cotton Divisive Cotton is offline
Pligg Donor
 
Join Date: Sep 2007
Posts: 221
Downloads: 15
Uploads: 0
Thanks: 2
Thanked 12 Times in 7 Posts
If anybody is unsure about the absolute path to use then get in touch with your hosting provider.
Reply With Quote
  #16 (permalink)  
Old 06-12-2008, 12:08 PM
Ingenue Ingenue is offline
New Pligger
Pligg Version: 9
Pligg Template: P-Lyric
 
Join Date: Jun 2008
Posts: 3
Downloads: 3
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Or create a php file and add the following.

<?php
phpinfo();
?>

Upload it to your root directory on your account.

Go to the page [yourdomain.com]/env.php

On the generated page look for the following, it will tell you your root directory:

_SERVER["DOCUMENT_ROOT"]

Delete env.php when you get the info you need.
Reply With Quote
  #17 (permalink)  
Old 08-14-2008, 04:29 PM
peosteve peosteve is offline
New Pligger
Pligg Version: 9.9
Pligg Template: Yget Blue
 
Join Date: Nov 2007
Posts: 16
Downloads: 6
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Stupid question - how do I know if Bad Behaviour is working properly. I installed it and it's showing under the Installed Modules in the Module Management. I also added the line, in pligg.tpl, right above </head>.

Now, having done the above, when I tried to submit a couple of porn sites under different usernames, there was no issue - the article went through and appeared under upcoming articles. How do I know if the module is working? Does it work on version 9.8.2?

Thanks!
Steve
Reply With Quote
  #18 (permalink)  
Old 08-14-2008, 05:32 PM
chuckroast's Avatar
chuckroast chuckroast is offline
Pligg Developer
Pligg Version: 9.9
Pligg Template: Summerfest
 
Join Date: Jun 2006
Location: PA
Posts: 2,129
Downloads: 48
Uploads: 19
Thanks: 158
Thanked 416 Times in 256 Posts
Quote:
Originally Posted by peosteve View Post
Stupid question - how do I know if Bad Behaviour is working properly. I installed it and it's showing under the Installed Modules in the Module Management. I also added the line, in pligg.tpl, right above </head>.

Now, having done the above, when I tried to submit a couple of porn sites under different usernames, there was no issue - the article went through and appeared under upcoming articles. How do I know if the module is working? Does it work on version 9.8.2?

Thanks!
Steve
Hi Steve
Bad Behavior isn't intended to work that way. I suggest checking out the bad behavior website to see what it's supposed to catch and not supposed to catch.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks Enabled by vBSEO 3.0.0