News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Bad Behavior for SMF mod

Started by butchs, April 12, 2010, 05:23:56 PM

Previous topic - Next topic

sharks

This mod seems very promising. Thanks for the updated version, butchs. Keep up the excellent work!

BTW, what exactly changed in this new version?

butchs

Fix for Undefined index: id_group & description of error link (thanks Dmytro) in 1.1.x. 

Updated to Bad Behavior core version 2.1.13 (see my last post for the list of changes).
:)
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.


Storman™

butchs

I'm not sure if this was corrected in 1.4.7 (I'm still on 1.4.6) but I've noticed that in the Denied Entries Log, when you click on the DENIED key, the resulting link to the details is incorrect.

The last bit of the link is coming up as:

............area=badbehavior;sa=report_denied;%20bbbbid=116

when I think it should be:

............area=badbehavior;sa=report_denied;%20bbid=116

Too many b's

See attchment for the area I'm referring to.

Cheers  ;)

butchs

I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Storman™


Daniel Hofverberg

Thank you for providing this mod. I have just installed it for the first time, but it looks very promising.

One potential problem though. As far as I can make out, the error messages (the link to "Fix it yourself" etc.) are hard-coded in English, and doesn't seem to use the language files. It could be a problem, if the site is used on a non-English site and a legitimate user who doesn't know English happens to get caught by the script. It's no big deal and will probably affect very few people, but it would still be nice to be able to change the error messages to the site's language.

butchs

You are correct and there is not much I can do about the Fix it yourself" message at this time.  The link to Fix it yourself" is part of the Bad Behavior core site.  Bad Behavior core is English only and this is the only port that supports other languages.  Maybe for a future version I can try something different for that message in a non-English language.  I will plan to to discuss this with the core author.
:-X
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

J-Bird

Guest    Today at 10:07:29
http://www.gearsofgaming.com/forums/index.php
Database Error: No database selected
File: /home/gear2129/public_html/forums/Sources/bad-behavior/BadBehavior-SMF.php
Line: 74

SMF 1.1.13 Any suggestions? Im using FPS theme and have applied the needed necessary manual edits to the themed files per the parser.
Im getting the above error about 12 times a day or so.



Modification Packages
   Mod Name    Version    
1.    SP Block for HacksPark ShoutBox    1.0    [ Uninstall ] [ List Files ] [ Delete ]
2.    Stop Spammer    2.3.9    [ Uninstall ] [ List Files ] [ Delete ]
3.    HacksPark shoutBox    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    SMF 1.0.21 / 1.1.13 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    httpBL    2.5.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Custom Profile Field Mod    3.19    [ Uninstall ] [ List Files ] [ Delete ]
7.    Ultimate Profile    0.9    [ Uninstall ] [ List Files ] [ Delete ]
8.    reCAPTCHA for SMF    0.9.5.4a    [ Uninstall ] [ List Files ] [ Delete ]
9.    Googlebot & Spiders Mod    2.0.4    [ Uninstall ] [ List Files ] [ Delete ]
10.    DisableTemplateEval    1.1    [ Uninstall ] [ List Files ] [ Delete ]
11.    SimplePortal    2.1.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    FlashChat Integration    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
13.    Bad Behavior mod    1.4.7    [ Uninstall ] [ List Files ] [ Delete ]
14.    Google Verification META Tag    1.0    [ Uninstall ] [ List Files ] [ Delete ]
Love, often

butchs

#229
When you do a manual installation you need to run the routines in "install_db.php" for the database to be set-up.  Otherwise it will not work.


Also, do not forget to copy the cache directory...

See "package-info.xml" for more info.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Col

Hello butchs,

Your BB modification seems to be working quite well, but I decided, like you, to add Stop Spam and httpBL. The warning page for httpBL has a poorly obfuscated e-mail address system in place - I tried copying the unicode generated by your system to help protect the address from harvesters, but when saved it is converted to plain text in the HTML. What did you do to protect your e-mail address in httpBL?

J-Bird

Quote from: butchs on May 07, 2011, 07:22:27 AM
When you do a manual installation you need to run the routines in "install_db.php" for the database to be set-up.  Otherwise it will not work.


Also, do not forget to copy the cache directory...

See "package-info.xml" for more info.

What I actually did was an automatic install, then applied edits needed to the theme files.
Was that incorrect?
I put install_db.php in the root and went to that path and got a blank white screen, so not sure if that was successful or not?
Love, often

butchs

Quote from: Col on May 07, 2011, 08:27:56 AM
What did you do to protect your e-mail address in httpBL?

The current version of BB uses Project Honey Pot so I stopped using httpBL mod and enabled the honey pot feature of BB.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

butchs

#233
Quote from: J-Bird on May 07, 2011, 09:00:57 AM
I put install_db.php in the root and went to that path and got a blank white screen, so not sure if that was successful or not?

J-Bird, I just went to your site and the mod is working.  Scratch number 2.  So the only issue I can think of is the log working?  If not check phpadmin.

Use phpadmin to check to see if thee is a "log_badbehavior".  If the file is missing then the db was not installed.

I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

floridaflatlander

#234
My link to bad behavior is missing from my Admin > configuration section of my forum.

I installed it two days ago and it was working fine, I also installed honeypot then and it was working well too. However last night bad behavior disappeared as mentioned above and my honey pot  says ...

Mod httpBL is ON, it is up-to-date and the connection with HoneyPot is perfect. (But it does not have a green background like it had when I first put it on my site.)

AND whenever I click spammers log, human log or help I get

An Error Has Occurred!
Unable to load the 'httpBL' template.

Are the two problems  the same, is it a honey pot problem?

Thanks
S

floridaflatlander

I uninstalled and then reinstalled it and it seems to work fine.

Sorry, didn't think about that until after my above post

Darkness7148

I've had some reports of some of my members getting trapped in this. I'm using the http:bl feature and some of their ips match what's in the database but the members are also logged in and as such have the bad behaviour whitelist group permission. Why are they getting checked if they have this permission?

butchs

Being logged in does not automatically give you whitelist permissions.  You will need to set their group permissions in:

The following will check both their user name and last used ip address:
Manage Permissions/General Permissions/Bad Behavior Whitelist Group


and/ or you can put their ip address in the BB file for a fixed ip address or range:
s0urces/bad-behavi0r/bad-behavi0r/whitelist.ini

The former is the best.  But if their ip address changes every day the latter may be the better choice.  However, I will use it sparingly.
:)
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Darkness7148

QuoteThe following will check both their user name and last used ip address:
Manage Permissions/General Permissions/Bad Behavior Whitelist Group

You mean this checks them if they have this permission? Why is it called whitelist? The members had this permission.

butchs

Quote from: Darkness* on May 12, 2011, 08:37:14 AM
You mean this checks them if they have this permission?

The admin sets the permissions for each member group.  You need to check the box I described above.

Quote from: Darkness* on May 12, 2011, 08:37:14 AM
[ Why is it called whitelist?

It is an term selected by the BB core author.

Quote from: Darkness* on May 12, 2011, 08:37:14 AM
The members had this permission.

If they were blocked then the SMF cookie expired and they had to re-log in.  If their ip address changed then they could ben blocked again.  If this is the case then use "whitelist.ini" with their ip range as described above.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Advertisement: