vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Project HoneyPot HTTP Blacklist Addon ( with Bad Behavior integration) (https://vborg.vbsupport.ru/showthread.php?t=233388)

TheSupportForum 01-17-2010 10:00 PM

Project HoneyPot HTTP Blacklist Addon ( with Bad Behavior integration)
 


PLEASE RATE THIS MOD




Description:

Spam Prevention Strategy
Bad Behavior is completely different from any other anti-spam solution out there, in that it doesn?t specifically target spam itself. Rather, it targets the methods by which the spam is delivered. While a somewhat similar solution called mod_security exists, it has a rather different purpose, doesn?t target spam, and regular people can?t install mod_security on their shared web hosting accounts. Bad Behavior blocks spam as well as other malicious activity and can be installed by anyone

In this way Bad Behavior saves you time and frustration and gives you peace of mind by turning spam from a colossal nightmare into, well, not much at all.

Project Honeypot Integration
To participate in Project Honey Pot, webmasters need only install the Project Honey Pot software somewhere on their website. We handle the rest ? automatically distributing addresses and receiving the mail they generate. As a result, we anticipate installing Project Honey Pot should not increase the traffic or load to your website

we have already made this possible for you, all you need to do is signup with www.projecthoneypot.org


Information Update please read:

as we have started a new forum and have and are hiring new Modders to join our team, there are some great benefits for those who do
We are looking for some experienced developers to remod our products
please visit our website for more details


Version 5 will see some great functions, but require our team to remod this product

Theo-zzzz 01-18-2010 07:10 PM

installed and nominated..

SemperFideles 01-18-2010 11:40 PM

In lieu of modifying forums.php and content.php, you can create a single plugin with a hook location of global_start. This is how I implemented this. Here is the plugin code I use:
PHP Code:

ob_start();
include(
"/path/to/forum-root/projecthp.php");
$projecthp ob_get_contents();
ob_end_clean(); 


SemperFideles 01-19-2010 09:12 AM

Quote:

Originally Posted by simonhind (Post 1960001)
thnak you, i will update this today

Before you update it, just make sure it works as I used steps here: http://www.computer-juice.com/forums...http-bl-22790/

I skipped step 1 as it didn't do anything but put text at the top of the page and it worked without it. I was able to successfully test that it worked but I don't know how you implemented the files in the attachments and I'm only noting that the calls to the BL can be accomplished through a hook rather than template edits.

ps2wiz 01-19-2010 09:44 AM

Sorry, but you are not the first one to do this as your description says.

https://vborg.vbsupport.ru/showthread.php?t=230921

And it involves no manual template edits.

BBR-APBT 01-19-2010 04:18 PM

Quote:

Originally Posted by ps2wiz (Post 1960040)
Sorry, but you are not the first one to do this as your description says.

https://vborg.vbsupport.ru/showthread.php?t=230921

And it involves no manual template edits.

This works by ip address only the one you posted works by username/ip/email. But it is two different databases.

I have them both installed.


update to the mod creator.

Instead of adding any
Code:

ob_start();
include("/path/to/forum-root/projecthp.php");
$projecthp = ob_get_contents();
ob_end_clean();

Copy the code in the projecthp.php and place it in the plugin you created.
just do not include the <? ?>

This is what I did so there are no files to upload you just import the xml file.

If you wanted to get fancy you could add a option in the adminCP to add the api key so they only have to edit the option and activate the plugin.

I would be willing to help with this if you like.

BBR-APBT 01-20-2010 08:25 PM

Quote:

Originally Posted by simonhind (Post 1961596)
hope you install the new version
also i wanted to ask your advise

do i still need o add $projecthp to header ?
tried to last night and at the top of the header in browser view it just showed
$projecthp at he top

Nope no need to add it as the code is called in the global.php file.

SemperFideles 01-20-2010 08:43 PM

Simon,

I know you don't need the header template as it did the same for me when I was using it.

The way to check if your implementation is working is found in this tutorial:

http://www.computer-juice.com/forums...http-bl-22790/

Quote:

How do I test this?

Apart from getting your IP blacklisted on the Project Honey Pots spamlist there doesn't seem to be much in the way of testing this. As there are a few jumps to get to the httpbl.php file I did the following to make sure the final code (step 4) is being called.

Open httpbl.php, find.

$_SERVER['REMOTE_ADDR']

Replace with.

123.44.66.99

Re-upload the file, then test your site. If the file is being called correct you will get a white screen as the code called in the final stage is now broken. It's a crude way but it works. Undo the changes to the file and re-upload again.
You seem to have skipped the creation of an additional PHP file as in the implementation example cited.

Are you sure this is working because the test cited above doesn't seem to create the blank white page the way it used to.

BBR-APBT 01-20-2010 10:41 PM

Ok I checked your new version. It is still not what I meant. Your new version actually does not work at all.

I really like this mod as it really helps with fighting spam on our websites. So I decided to rewrite this for you. The XML is attached and the install instructions are below.


Install Instructions:
1) Register an account at www.projecthoneypot.org
- request your api key here http://www.projecthoneypot.org/httpbl_configure.php

2) Import the product (product-t4u_honeypotvb4.xml)
Plugins & Product -> Manage Products -> Add / Import Product

3) Change settings and activate.
Settings -> Options -> Project HoneyPot
Put in your API key you received in step 1.
Set active to yes.

_________________________________________________
Tested and verified working by BBR-APBT.
If you would like to test this for your self.

Edit the plugin (Project HoneyPot) and find:
Code:

$ip = $_SERVER['REMOTE_ADDR'];
Replace with:
Code:

$ip = "94.102.63.90";
I advise you not to perform the above test on a live site.

TheSupportForum 01-20-2010 11:15 PM

BBR-APBT - i need your help
but cant PM you

i wodul like some quidance on create a link in the admincp with a menu selection for this mod instead of going to

settings >> options >> Project Honeypot

something like

Project Honeypot >> Settings

and also a page where i can put developer details
are you able to help with this


All times are GMT. The time now is 11:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01094 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete