News:

Wondering if this will always be free?  See why free is better.

Main Menu

httpBL

Started by Diego Andrés, February 17, 2010, 03:55:54 PM

Previous topic - Next topic

busterone

One person has reported that it installed perfectly.
For me, I had a one line edit in just one file,  but I am presuming that it was due to another mod install previous to installing httpBL.
Either way, this mod is working well on 2.0.  :)

virtual_al

Snoopy,

Thanks again for the fast reply. Hmm, didn't know Wedge discussions were no appreciated here, but I can understand and accept that. Admins make the local rules and as I expect members to respect my forum rules,  have no issues at all with respecting other forums rules. I'll open an account at hxxp:wedge.org [nonactive] and see if it's worth my effort ;)

Fully understood on the SMF version recommendation. I'm currently waiting for Keycaptcha to confirm compatibility with 1.1.14 and if it's confirmed, I'll upgrade to 1.1.14 immediately as recommended. With the latest registration spam activity I can't afford to be w/o at least Keycaptcha  8)

Meanwhile I read your httpBL install tutorial and basically I'm ready to install it as soon as you have the time to test and officially confirm the compatibility. My forum uses a custom theme and I'm not comfortable with editing various files manually, which I understand it's necessary with the current version. I always prefer the "auto mode".

Thank you!
virtual_al

snoopy_virtual

Well, there are 2 people already reporting they have installed the mod in 2.0 final without any problem, and the only one who told me yesterday that he had to do some manual editing (busterone) has just said a few minutes ago that he thinks it was due to another mod he has.

So I think it's safe enough to say that the mod is compatible with 2.0

If you need to wait until I can test that myself you may need to wait a few weeks, as I have to do a lot of things first before I can do that (as I explained yesterday).

QuoteI'm currently waiting for Keycaptcha to confirm compatibility with 1.1.14

Spammers can pass captchas very easy. I don't use any.

QuoteMy forum uses a custom theme and I'm not comfortable with editing various files manually, which I understand it's necessary with the current version. I always prefer the "auto mode".

For SMF 1.1.x you always need to edit at least one file if you are not using the default Theme

For SMF 2.0 everything is automatic.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

virtual_al

Yes, I noticed the two successful installs, and the one need-to-edit. This got me thinking a bit more about the jump to 2.0.

Keycaptcha is a bit more difficult to pass. My issue is registration attempts, not messages spam, so I need any captcha that is more effective than the puny one SMF 1.1.x has to offer. Keycaptcha seems to be doing a great job so far.

You have a PM waiting somewhere ;)

Thank you for the feedback.
virtual_al

snoopy_virtual

Quote from: virtual_al on June 13, 2011, 09:40:16 AM
My issue is registration attempts, not messages spam, so I need any captcha that is more effective than the puny one SMF 1.1.x has to offer. Keycaptcha seems to be doing a great job so far.

Have you tried mod Stop Spammer and Anti-Spam Verification Questions?:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2#compatibilidad

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

virtual_al

Quote from: snoopy_virtual on June 13, 2011, 10:03:18 AM
...SNIP...
Have you tried mod Stop Spammer and Anti-Spam Verification Questions?:

hxxp:www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2#compatibilidad [nonactive]

Yeah - I was "attracted" by "Anti-Spam Verification Questions" but they appear as being compatible with SMF 1.1.7 only so I didn't go any further.

Anyway, Keycaptcha seems more "enjoyable" and robust (for now). Their statistics already show penetration attempts that didn't go farther than a captcha request (most likely bots). I am sure that registration farms will get past that point, but then that's why I need something similar to httpBL  :D

I don't care for the other two.

virtual_al

gggggggg

Hello, I have just done a manual install of this for 2.0 RC4, and it all seems to have worked nice and happy.

Except for two things:
1) All my settings in this section:
Internal Settings These are the internal settings to control the way mod httpBL works. We wouldn't recommend you to change them until you know the way every change will affect the mod.

If I leave them as 0, it tells me:
An Error Has Occurred! The number of days and the threat level cannot be negative numbers or 0.

So I have to set a positive number, and I am not sure what values to select?

2) If I click on any of the Logs, it tells me:
Database Error Table 'user.smf_log_httpBL' doesn't exist
File: /home/user/public_html/forum/Sources/httpBL_2_Config.php
Line: 350


Have I dont something wrong?

thanks
Greg

snoopy_virtual

You haven't done the manual install properly.

I don't understand why you had to do a manual install anyway, as this mod install perfectly in RC4 using the Package Manager as any other mod.

Anyway, once you have done it let's try to find out the easiest way for you to finish the installation.

I suppose if you have done a manual install you may have "parse" the instructions for RC4 and do a lot of changes to a lot of different files.

I hope you haven't missed any of those changes and have done them all. Anyway I am sure you have missed at least one instruction.

Almost at the end of the parse it tells you you need to run the code in "install_2.php" and obviously you haven't done that, as that's the code that create the needed tables (that you haven't got) and gives the configuration the default values (that you haven't got either).

To run this code, download the file "httpBL_v2_5_1.zip"

Open it and find inside it the file "install_2.php"

Upload that file to the root of your forum and then visit it with your browser so it will run.

That's it, visit the page:

hxxp://www.your_site.com/your_forum/install_2.php

You should see a sign telling you it is creating the needed tables and then a sign saying it has been done and remembering you to delete that file from your server once it has been used.

If you haven't missed any more instructions (like for example the last one telling you you need to copy a lot of files and folders inside your forum) the mod should now be working properly.

If not, come back here and tell us.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

gggggggg

Love it, thanks, that fixed the databse error.

Though when I change values to 0, i still get this:
"The number of days and the threat level cannot be negative numbers or 0."

gggggggg

Quote from: gggggggg on June 13, 2011, 08:08:25 PM
Love it, thanks, that fixed the databse error.

Though when I change values to 0, i still get this:
"The number of days and the threat level cannot be negative numbers or 0."

Its weird, it got the WArning default values ok.  So I went to install_2.php and got the default values, and put them in manually.

Also, I had to do a manual insall becuase I dont have FTP access, SSH only.

thanks for your help

snoopy_virtual

The default values are these ones:

Number of days to consider good an IP: 90
   
Threat level considered bad: 10
   
Threat level considered VERY bad: 30
   
Minutes to keep the data in the cache: 5
   
Hours until an IP needs to prove again it's human: 24

That numbers is the ones I use in most if my forums and almost never change them.

The number of days to consider good an IP cannot be 0. Won't make any sense.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

snoopy_virtual

QuoteAlso, I had to do a manual insall becuase I dont have FTP access, SSH only.

You don't need FTP access to use the Package Manager. Just go to your forum and navigate to Admin => Packages

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

cyberdyne

Ho snoopy,
Just updated 1.1.13 to 1.1.14 and MOD httpBL has stopped working. The links are still present in Admin of course, but the page fails to load when clicked.

Any idea how to fix this please?
Thanks
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

MrMorph

Just to let you know it seems to be working for me on Gold.

Quick question though, you know the 'special word' ? Is it an idea to change that some times - I mean will the bots start to recognise it after a while ?

Cheers :)

dougiefresh

Thank you for the wonderful mod!  I thought I'd let everybody know that when I updated my forum from 2.0 RC5 to 2.0 Gold, I had to reinstall all my mods.  This mod installed without issues and without emulation.  Hope this info helps someone!

bugstomper

Quote from: riou on June 13, 2011, 07:06:02 AM
Missing argument 1 for httpBL_look_for_empty_ip(), called in Sources/httpBL_Subs.php on line 680 and defined in Sources/httpBL_Subs.php on line 517

Notice:  Undefined variable: ip in Sources/httpBL_Subs.php on line 519

The error message looks like a bug in the code that is called when it doesn't get the ip address at first. If you were using version 2.4.1 with SMF 1.1.4 that could explain it -- The comments say that the code was changed since then, and that's when the bug would have been introduced.

There are two equivalent ways to fix it. Only do one of them.

Either change the code at line 517 in Sources/httpBL_Subs.php from


function httpBL_look_for_empty_ip($ip)
{
        if ($ip == '')
                $ip = httpBl_get_env('REMOTE_ADDR');


to


function httpBL_look_for_empty_ip()
{
        $ip = httpBl_get_env('REMOTE_ADDR');


Or alternatively change line 680 in the same file from


                $ip = httpBL_look_for_empty_ip();


to


                $ip = httpBL_look_for_empty_ip($ip);


I'll leave it up to Snoopy to say which change he thinks is the more aesthetic. The first change would require Snoopy to also change two comments that refer to httpBL_look_for_empty_ip($ip) but you don't have to do that just to make it work.


snoopy_virtual

Quote from: cyberdyne on June 15, 2011, 10:19:11 AM
Just updated 1.1.13 to 1.1.14 and MOD httpBL has stopped working. The links are still present in Admin of course, but the page fails to load when clicked.

Any idea how to fix this please?

I still have all my forums in 1.1.13. Didn't had time yet to update them, so I have no idea what can be the problem.

Anybody else have this problem?

Quote from: MrMorph on June 15, 2011, 12:43:44 PM
Quick question though, you know the 'special word' ? Is it an idea to change that some times - I mean will the bots start to recognise it after a while ?

I have never changed mine and I don't think you need to, but if you change it every now and then wouldn't do any harm.

Quote from: bugstomper on June 15, 2011, 05:41:32 PM
Or alternatively change line 680 in the same file from


                $ip = httpBL_look_for_empty_ip();


to


                $ip = httpBL_look_for_empty_ip($ip);


We have already talked about that error a couple of times in this thread and we decided that solution was better.

I thought it was already sorted in the latest version.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

riou

Quote from: bugstomper on June 15, 2011, 05:41:32 PM
The error message looks like a bug in the code that is called when it doesn't get the ip address at first. If you were using version 2.4.1 with SMF 1.1.4 that could explain it -- The comments say that the code was changed since then, and that's when the bug would have been introduced.

There are two equivalent ways to fix it. Only do one of them.

Either change the code at line 517 in Sources/httpBL_Subs.php from

Or alternatively change line 680 in the same file from


                $ip = httpBL_look_for_empty_ip();


to


                $ip = httpBL_look_for_empty_ip($ip);


I'll leave it up to Snoopy to say which change he thinks is the more aesthetic. The first change would require Snoopy to also change two comments that refer to httpBL_look_for_empty_ip($ip) but you don't have to do that just to make it work.


This worked to fix the php error thanks,

Snoopy, the version is 2.5.1 for httpBL and 2.0 Gold for SMF, I got it fresh off the smf mod site and that error was on it

snoopy_virtual

Yes, I checked it last night after you said that and it's corrected in the next version I am doing, but that one hasn't been published yet because it's not finished.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Aleksi "Lex" Kilpinen

Quote from: snoopy_virtual on June 15, 2011, 06:43:34 PM
Quote from: cyberdyne on June 15, 2011, 10:19:11 AM
Just updated 1.1.13 to 1.1.14 and MOD httpBL has stopped working. The links are still present in Admin of course, but the page fails to load when clicked.

Any idea how to fix this please?

I still have all my forums in 1.1.13. Didn't had time yet to update them, so I have no idea what can be the problem.

Anybody else have this problem?
I have HttpBL working just fine on 1.1.14 - But I only installed it AFTER I updated, so there might  be something in the update that could cause a conflict, I do not know as I haven't tested.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: