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)

BBR-APBT 01-20-2010 11:33 PM

Why is it you can not PM me? I do not think my inbox is full but it may be.

Quote:

Originally Posted by simonhind (Post 1961801)
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


upload this to your includes/xml folder.
File Name: cpnav_honeypot.xml
Code:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<navgroups product="t4u_honeypotvb4">
        <navgroup text="Project HoneyPot" hr="true" displayorder="15">
                <navoption displayorder="10">
                        <text>Project HoneyPot Settings</text>
                        <link>options.php?do=options&dogroup=pro_honeypot</link>
                </navoption>
        </navgroup>
</navgroups>

I really suggest to not add this or the extra page. That just files to upload.

:D

SemperFideles 01-21-2010 09:22 AM

Good work. Appreciate the mod that allows this to be installed with no file uploads.

Now that it is installed, I'm sad to say that a problem that I had previously with this Script is re-appearing. I had hoped it was as a result of my own implementation.

I cannot create a New Article. I've narrowed it down to this add-on and I'm not certain why but attempting to create a New Article produces an HTTP 500 error.

Are either of you experiencing the same?

TheSupportForum 01-21-2010 09:35 AM

Quote:

Originally Posted by SemperFideles (Post 1962162)
Good work. Appreciate the mod that allows this to be installed with no file uploads.

Now that it is installed, I'm sad to say that a problem that I had previously with this Script is re-appearing. I had hoped it was as a result of my own implementation.

I cannot create a New Article. I've narrowed it down to this add-on and I'm not certain why but attempting to create a New Article produces an HTTP 500 error.

Are either of you experiencing the same?

have you checked to see if your ip address is on projecthoneypots website
i suggest you look into it

or if you pm me you ip address i'll do the work for you to remedy it

SemperFideles 01-21-2010 02:10 PM

Quote:

Originally Posted by simonhind (Post 1962167)
have you checked to see if your ip address is on projecthoneypots website
i suggest you look into it

or if you pm me you ip address i'll do the work for you to remedy it

It's not on the list. As I said, the software works fine except when I try to create a New Article.

Go to your CMS Home Page and click New Article or try to promote a post to an article to see if you can duplicate the problem. It doesn't give the "Your IP is blocked message" but simply produces a white screen and an HTTP 500 error unlike a blocked IP issue where a message appears allowing you to continue.

As I said, it was the same problem I experienced with the other implementation. My board was working fine as I have only created 3 articles on the CMS since moving the vBulletin Publishing Suite but then one day I went to create an article and I kept getting a white screen. As soon as I disabled my former implementation of the plugin I could create an article again. I've experienced the same problem from military IP's and Starbuck's IP's, and Verizon IP's. It's not a blacklist issue.

I had initially thought that your implementation fixed a coding issue that was in the tutorial I had found but once you released the latest version the problem re-appeared. I actually am not sure that, until this latest release, that the HoneyPot was even functioning because I was testing it with a blacklisted IP and it wasn't working. As soon as the code was updated, the message was popping up for the blacklist IP test but the problem of creating New Articles also re-appeared.

BBR-APBT 01-21-2010 03:23 PM

I will try to reproduce this bug when I get back home in a hour or two.

When you turn this mod off the problem goes away right?

SemperFideles 01-21-2010 07:09 PM

Quote:

Originally Posted by BBR-APBT (Post 1962440)
I will try to reproduce this bug when I get back home in a hour or two.


When you turn this mod off the problem goes away right?

That's right.

TheSupportForum 01-21-2010 07:16 PM

the error people are getting with this mod is as follows

Fatal error: Cannot redeclare ozh_httpbl_check() (previously declared in /home/tutorial/public_html/forum/packages/vbcms/controller/content.php(84) : eval()'d code:14) in /home/tutorial/public_html/forum/packages/vbcms/controller/content.php(84) : eval()'d code on line 57


this will be looked into

BBR-APBT 01-21-2010 07:29 PM

Well in that case I will just block this from the create article page.

For some reason it is being called twice in that page.

We really do not need this to run on every page any how. It is just best that we do because we never know what link they may follow. Since an unregistered user is not allowed to create new articles there will not be a problem.

My guess is that the article page is calling global.php twice. It is most likely a vbulletin bug since this is the only page this is having a problem on.

BBR-APBT 01-21-2010 08:10 PM

Ok Fixed again. Simonhind let me know when you update the main xml file. So I can remove the one in this post.

It was a simple fix. If you do not wish to reinstall.
Go to your plugins and find (Project HoneyPot)
Simply change the hook from global_start to global_complete.

TheSupportForum 01-21-2010 08:21 PM

Quote:

Originally Posted by BBR-APBT (Post 1962736)
Ok Fixed again. Simonhind let me know when you update the main xml file. So I can remove the one in this post.

It was a simple fix. If you do not wish to reinstall.
Go to your plugins and find (Project HoneyPot)
Simply change the hook from global_start to global_complete.


this can now be removed, i just tried the same thing with changing the hook


All times are GMT. The time now is 06:25 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.01089 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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