Advertisement:

Author Topic: Bad Behavior mod - The Web's premier link spam killer (Now with SMF 2 httpBL)  (Read 120894 times)

Offline Kindred

  • Support Specialist
  • SMF Master
  • *
  • Posts: 31,380
  • Gender: Male
    • wagner999 on Facebook
    • @Kindred_999 on Twitter
Re: Bad Behavior mod - The Web's premier link spam killer (Now with SMF 2 httpBL)
« Reply #480 on: February 25, 2012, 08:31:22 AM »
remove the BBC button code from subs-editor.php

or just don't give people permission for the button
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 422
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
I just downloaded and installed this mod:  http://custom.simplemachines.org/mods/index.php?mod=1650

Now...I've already requested help in that support thread for the errors I'm getting...a total of three.  One of those errors refers to this mod, Bad Behavior.

Here it is...

http://glitchpc.net/index.php?action=admin;area=quiz;xxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2: Invalid argument supplied for foreach()File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/languages/BadBehavior_bbc.english.php (main sub template - eval?)
Line: 1740

Funny thing...there is no line 1740 in that particular file.

Any suggestions?

Thanks, in advance...

Online Old Fossil

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 9,503
  • Gender: Male
  • Fussy Old Sod
    • @mkcommforum on Twitter
I just downloaded and installed this mod:  http://custom.simplemachines.org/mods/index.php?mod=1650

Now...I've already requested help in that support thread for the errors I'm getting...a total of three.  One of those errors refers to this mod, Bad Behavior.

Here it is...

http://glitchpc.net/index.php?action=admin;area=quiz;xxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2: Invalid argument supplied for foreach()File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/languages/BadBehavior_bbc.english.php (main sub template - eval?)
Line: 1740

Funny thing...there is no line 1740 in that particular file.

Any suggestions?

Thanks, in advance...

Have you disabled your template eval?
My Forum
Simple Portal Beta Tester
 Mod Emulate
Forum Themes
My Forums Broken Fix

PMs for support will be returned with dynamite attached

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 422
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Have you disabled your template eval?

In Server Settings?  No...

Online Old Fossil

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 9,503
  • Gender: Male
  • Fussy Old Sod
    • @mkcommforum on Twitter
Have you disabled your template eval?

In Server Settings?  No...

Empty your error log then disable the template eval.

Have a look at what the error log says then.
My Forum
Simple Portal Beta Tester
 Mod Emulate
Forum Themes
My Forums Broken Fix

PMs for support will be returned with dynamite attached

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 422
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Have you disabled your template eval?

In Server Settings?  No...

Empty your error log then disable the template eval.

Have a look at what the error log says then.

Okay...the error for the Bad Behavior file has gone away.  Was that all I needed to do?

If so...thank you for your help.

Online Old Fossil

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 9,503
  • Gender: Male
  • Fussy Old Sod
    • @mkcommforum on Twitter
Keep an eye on the error log and see if it returns.
My Forum
Simple Portal Beta Tester
 Mod Emulate
Forum Themes
My Forums Broken Fix

PMs for support will be returned with dynamite attached

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 422
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Will do...and, again...thank you.

Online Old Fossil

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 9,503
  • Gender: Male
  • Fussy Old Sod
    • @mkcommforum on Twitter
Anytime.

 ;)
My Forum
Simple Portal Beta Tester
 Mod Emulate
Forum Themes
My Forums Broken Fix

PMs for support will be returned with dynamite attached

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 422
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Not sure if it matters, now...but...like I said, the reference to Bad Behavior is gone...it now reads:

xxxx://glitchpc.net/index.php?action=admin;area=quiz;xxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2: Invalid argument supplied for foreach()File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/SMFQuizAdmin.template.php
Line: 1740

Online Old Fossil

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 9,503
  • Gender: Male
  • Fussy Old Sod
    • @mkcommforum on Twitter
Not sure if it matters, now...but...like I said, the reference to Bad Behavior is gone...it now reads:

xxxx://glitchpc.net/index.php?action=admin;area=quiz;xxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2: Invalid argument supplied for foreach()File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Themes/default/SMFQuizAdmin.template.php
Line: 1740

That will be a question for the SMF Quiz mods topic I believe.
My Forum
Simple Portal Beta Tester
 Mod Emulate
Forum Themes
My Forums Broken Fix

PMs for support will be returned with dynamite attached

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 422
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
You got it!  Kudos!

Online Old Fossil

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 9,503
  • Gender: Male
  • Fussy Old Sod
    • @mkcommforum on Twitter
Can someone help a confused old man here.

How do I get the bad behaviour image to show on the forum?

 :-[

My Forum
Simple Portal Beta Tester
 Mod Emulate
Forum Themes
My Forums Broken Fix

PMs for support will be returned with dynamite attached

Offline Kindred

  • Support Specialist
  • SMF Master
  • *
  • Posts: 31,380
  • Gender: Male
    • wagner999 on Facebook
    • @Kindred_999 on Twitter
which bad behavior image? The "hide from suspicious" BBC image?

You will have to place the BBC image in the BBC directory for each theme
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline butchs

  • SMF Hero
  • ******
  • Posts: 1,484
  • The Jarred of spam bots, lost 7GB in 1 month!
    • EastCoastRollingThunder
New version.  As usual, thanks for your support, Bad Behavior is continuously updated to protect SMF 1.1.x and 2.x from the latest threats!
 8)
« Last Edit: March 11, 2012, 09:18:57 PM by butchs »
My mods.

My putty is either totally insane or is merely yanking chains...

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 422
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
butchs...

Thanks for the new release...

Offline sildenafil

  • Newbie
  • *
  • Posts: 8
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?

Offline butchs

  • SMF Hero
  • ******
  • Posts: 1,484
  • The Jarred of spam bots, lost 7GB in 1 month!
    • EastCoastRollingThunder
Please upgrade to the latest version?

There are two ways to whitelist a member.

One is to assign them a new special membergroup that has "Bad Behavior Whitelist Group" enabled in admin/Permissions/General Permissions.  The downside with this method is that it uses the ip addresses stored in SMF.  This means that if their address changes they can fail.

The second, more difficult and, more fail proof method is to edit the BB "whitelist.ini" file.  Here you can add their hosts ip range in CIDR format to the file.  Click the link for help.
 :)
My mods.

My putty is either totally insane or is merely yanking chains...

Offline butchs

  • SMF Hero
  • ******
  • Posts: 1,484
  • The Jarred of spam bots, lost 7GB in 1 month!
    • EastCoastRollingThunder
butchs...

Thanks for the new release...

You are welcome.  :)
My mods.

My putty is either totally insane or is merely yanking chains...

Offline Bancherd

  • Jr. Member
  • **
  • Posts: 283
    • Thai Koi Keepers' Home Page
Thanks for the update, installed and working perfectly on my two live forums.  :D