Page 3 of 11

Posted: Wed Aug 02, 2006 3:20 pm
by curiousgeorge2222
I guess I am getting only the ones that parse the pages..........I expected that several would be caught by your mod.......then the bots would compensate........then I would readjust the variables....etc. .... but my logs show nada........they blew thru it like it wasn't there......however like yourself I am running a couple of blocks so I successfully blocked them anyway.

Posted: Wed Aug 02, 2006 3:59 pm
by espicom
Fighting spam on bulletin boards is just as much a moving target as email spam. Anything that a human can do can be simulated by a computer, with sufficient effort put into the programming. But, they won't put forth the effort until their current scripts fail more than they work, because these people are getting PAID to do this (no, it isn't just someone trying to post to as many boards as they can!).

That said, I've been working off and on with a modification to add elements to the process that can't be faked very easily. One of them involves an "image" used on the board that is really a script that logs certain things. If that image isn't retrieved in a timely manner, prior to visiting the posting page, there won't be certain things already in place to validate the registration, and there won't be a way for an outsider to know WHICH image does the setup work. They would have to visit every page, retrieving every image, in the proper sequence, to make sure they'd tripped the right switches. Going to profile.php without visiting index.php, for example, might display everything as expected, but reject the registration for a randomly-generated reason. Heck, if the sequence isn't correct, it could send bogus variable names or values in the COPPA page, so the bot thinks it's smart enough to get through... but isn't.

I've got the pieces to do this, just haven't decided what will be the best way to implement it in terms of "bot interface"...

Posted: Wed Aug 02, 2006 5:35 pm
by curiousgeorge2222
Looking forward to it.........if you are looking for help testing lemme know.

How do I install this Mod?

Posted: Mon Aug 07, 2006 5:58 am
by nootkan
I would like to try this mod in the acp instead of manually entering the changes to the files as explained in the creators original post, but when I unzip the download there is only three files and no installation instructions. Can anyone explain how to install these three files for us noobies? Thanks in advance.

Posted: Mon Aug 07, 2006 1:44 pm
by espicom
One of the things about MODs is that they usually assume (as this one does) that you're somewhat familiar with the way MODs work, in general, so they skip over the multi-page tutorial on what "FIND" and "OPEN" mean. Some useful references:

Installing MODs
Installing MODs in a safe way

The MOD is a list of instructions on how to change the PHPBB files. It comes in two forms, the human-centric text with the .MOD extension, and the computer-centric form in the .X* files. The .XML file is just the .MOD file converted to something easier for a computer to understand, and, with the use of the .XSL file, it makes a pretty web page that mirrors the text version, with highlighting.

There is a utility called "EasyMOD", which will modify the files for you, but it has limitations. While I made some effort to have this MOD tested for EM compatibility, EasyMOD can't deal with every situation it might encounter with previously-installed changes. EasyMOD is found in the MOD Database here, and supported at http://area51.phpbb.com/ in its own forum.

I recommend working as outlined in the second article above, using a "test environment" on your local system, which you can put together with EasyPHP (link in the article). It makes chasing errors down much simpler, and you do not risk your real site while making changes. Personally, I have several test boards I use for checking out various changes before rolling them out to "production".

Posted: Mon Aug 07, 2006 4:08 pm
by nootkan
Espicom, thanks for your reply. However, I cannot open any of the files as I get an error message telling me that it cannot find the program required to open the files. I'll just add the files manually as per the lite version I guess. Too bad I really wanted to be able to do this in the acp.

Posted: Mon Aug 07, 2006 4:55 pm
by espicom
You need only have a text editor - NOTEPAD will work, but I prefer UltraEdit, because I can have multiple files open at once, it doesn't "help" me by changing things without permission (like DreamWeaver and FrontPage can), and it knows how to upload/download directly from the site, using FTP or SFTP.

Relying upon Windows to "know" how to open a file is something you can't afford to do, once you enter the world of web site editing. You will need to learn the tools, or you'll find yourself increasingly frustrated with everything on internet...

Posted: Mon Aug 07, 2006 4:57 pm
by EXreaction
Or, instead of notepad, use wordpad. Sometimes notepad completely messes up the end line chars. :(

Posted: Mon Aug 07, 2006 5:18 pm
by nootkan
Hi guys, I've tried opening the files in notepad, wordpad and my favorite PS Pad and nothing will open the files. I now cannot find the link to the lite version so I can manually install the code. I thought it was in the mod section. I'll keep browsing through the hundreds of pages on this subject.

Update: I have found the link for the lite version here: http://www.phpbb.com/phpBB/viewtopic.php?t=393265

Posted: Mon Aug 07, 2006 6:19 pm
by nootkan
I have made the changes to the
admin/admin_users.php,
includes/usercp_avatar.php,
includes/usercp_register.php,
includes/constants.php

Yet when I go into the acp I don't see where I make the changes to "agreed". Am I misunderstanding how this works?

Posted: Mon Aug 07, 2006 6:27 pm
by EXreaction
nootkan wrote: I have made the changes to the
admin/admin_users.php,
includes/usercp_avatar.php,
includes/usercp_register.php,
includes/constants.php

Yet when I go into the acp I don't see where I make the changes to "agreed". Am I misunderstanding how this works?


Did you make the changes to templates/(your current template)/admin/board_config_body.tpl?

If you have more than 1 style make sure to do that to every style.

Then check under general admin - configuration for the setting.

Posted: Mon Aug 07, 2006 6:40 pm
by espicom
Also, did you update the database with the extra configuration items, by running the SQL statements in the MOD? One of the "gotcha" things with the PHPBB configuration program is that it will never add configuration items to the database - It will only update ones already there. If you do not run the following SQL commands (listed in the MOD), you will get no errors, but you'll also see no changes:

Code: Select all

INSERT INTO phpbb_config (config_name,config_value) VALUES ('agreed_var','IAmInAgreement');
INSERT INTO phpbb_config (config_name,config_value) VALUES ('agreed_val','Yes');
INSERT INTO phpbb_config (config_name,config_value) VALUES ('coppa_var','Under13');

Posted: Mon Aug 07, 2006 6:54 pm
by nootkan
I'm not sure what you are talking about. I installed the lite version and there was no mention of making changes to the admin/board_config_body.tpl files you mention or any reference to running the sql statements in the mod. In fact I cannot find any sql statements in the mod. Sorry for my ignorance, I wish I could get a better handle on mods. I've read through the links you supplied, but it doesn't shed any light on them for me. I seem to be able to install opensource just unable to understand what makes it tick or how to add mods.

Posted: Mon Aug 07, 2006 7:04 pm
by espicom
Ah - but you asked the question in the ACP support topic, so I assumed that's what you were working with. That's why there is a separate support topic for it.

The "Lite" version doesn't use the ACP at all... you edit the includes/constants.php script directly, and the change should show up immediately.

Posted: Mon Aug 07, 2006 7:10 pm
by nootkan
I apologise. I just did a search and didn't notice the topic difference. I have since removed everything and simply changed all occurrances of agreed. Hopefully that along with the humanizer will help me out. Otherwise I guess I'll have to stop using phpBB2 and look for another script that is a little more noobie friendly. I appreciate all your support and help.