vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - vB Bad Behavior (vB4) (https://vborg.vbsupport.ru/showthread.php?t=261498)

Alan_SP 04-27-2012 10:31 AM

It would be good if author would include cron task to automatically purge log. Or you could disable logging for the moment.

Alfa1 04-27-2012 06:32 PM

There is a function to prune logs. But it is not automated.

Taurus1 04-29-2012 01:42 AM

Quote:

Originally Posted by Alfa1 (Post 2324110)
There is a function to prune logs. But it is not automated.

Can you please tell me where to prune the logs. Thank you!

Alan_SP 04-29-2012 10:39 AM

Where you look at logs. Above is option to view logs, underneath is option to prune them.

Dwarden 04-30-2012 01:54 PM

Quote:

Originally Posted by Alan_SP (Post 2324564)
Where you look at logs. Above is option to view logs, underneath is option to prune them.

erm, i definitely missing such option, can You screenshot that?

Eric 04-30-2012 03:44 PM

Just thought I would give an update..

I am working on 1.0.7 now, with the latest BB 2.2.3. I am trying to work in a cron script as well to auto-prune.

Also, source/tracker is now available here:

http://projects.secondversion.com/vb-bad-behavior/

ForceHSS 04-30-2012 04:19 PM

Nice to hear, tell me do you use eclipse to compile it

Alan_SP 05-01-2012 07:12 PM

Quote:

Originally Posted by Dwarden (Post 2324876)
erm, i definitely missing such option, can You screenshot that?

Sure:

http://img135.imageshack.us/img135/4255/image000my.png

there's something in Croatian, but what interests you is all in English. :)

Dwarden 05-01-2012 08:33 PM

wow, i don't have that option, at all ...

what forum version You have? care share e.g. settings file?

ForceHSS 05-01-2012 10:01 PM

Quote:

Originally Posted by Dwarden (Post 2325343)
wow, i don't have that option, at all ...

what forum version You have? care share e.g. settings file?

make yourself a superadmin from the config

Alan_SP 05-02-2012 02:20 PM

Quote:

Originally Posted by Dwarden (Post 2325343)
what forum version You have? care share e.g. settings file?

Well, it could be superadmin settings, or it could be this:

Quote:

// ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
// The users specified here will be allowed to remove ("prune") entries from the admin
// log. See the above entry for more information on the format.
This is all in config.php.

Anyway, put yourself there in all settings.

ForceHSS 05-02-2012 03:36 PM

Quote:

Originally Posted by Alan_SP (Post 2325516)
Well, it could be superadmin settings, or it could be this:



This is all in config.php.

Anyway, put yourself there in all settings.

I done a few tests seems you need canviewadminlog, canpruneadminlog and superadministrators
but he might as well give him self them all when he is in the config

AddwireCom 05-04-2012 03:14 PM

Does this work well with the vbulletin facebook app addon?

tpearl5 05-04-2012 03:23 PM

Quote:

Originally Posted by AddwireCom (Post 2326206)
Does this work well with the vbulletin facebook app addon?

As long as you add api.php to the whitelist.

Eric 05-05-2012 02:01 AM

Updated.

Version 1.0.7, 05/04/2012
  • Bad Behavior upgraded to 2.2.3
  • Cron/Scheduled Task for automatic log pruning added.

Eric 05-05-2012 02:09 AM

Just realized 2.2.4 was released yesterday :/

I will try to get this updated in the mod in the next couple of days.

Alfa1 05-05-2012 05:49 AM

Eric:
Quote:

Originally Posted by tpearl5 (Post 2326211)
As long as you add api.php to the whitelist.

As the facebook app is official vbulletin software, api.php should be whitelisted by default.

Gemma 05-05-2012 09:33 AM

Thanks for the update :)

tpearl5 05-07-2012 02:38 PM

update is very much appreciated!

Eric 06-12-2012 10:47 AM

Updated:

Version 1.0.8, 06/12/2012
  • Bad Behavior upgraded to 2.2.6
  • New Setting: EU Cookie

Eric 06-17-2012 02:38 PM

Updated:

Version 1.0.9, 06/17/2012
  • Bad Behavior upgraded to 2.2.7

Eric 08-31-2012 04:58 AM

Now on GitHub!

https://github.com/ericsizemore/vb_b...ree/master/vb4

What I was using before didn't go well, so, moved to Git/GitHub. Feel free to create issues there, fork, do whatever!

tpearl5 08-31-2012 12:54 PM

Thanks for the update Eric.

FYI, the latest version (2.2.8) is a little stricter and I saw that it was blocking Bing. I added these addresses to my whitelist:
ip[] = "131.253.21.0/24"
ip[] = "131.253.22.0/23"
ip[] = "131.253.24.0/21"
ip[] = "131.253.32.0/20"

tpearl5 08-31-2012 02:16 PM

Also, I checked the logs specifically for cell phone users. I found a lot that were getting the "Required header 'Accept' missing" error that appeared to be legitimate users.

For now I commented out the if statements in browser.inc.php that check the Accept headers. The logic being that if they are malicious, another mechanism will catch them. I'll see how this goes.

Eric 09-09-2012 05:37 PM

D'oh! Almost forgot to update the thread.

Updated:

Version 1.0.10, 09/09/2012

- Bad Behavior upgraded to 2.2.10

Eslob 09-10-2012 08:56 AM

Thank you for the great addon

tpearl5 09-28-2012 04:30 PM

Quote:

Originally Posted by tpearl5 (Post 2361453)
Thanks for the update Eric.

FYI, the latest version (2.2.8) is a little stricter and I saw that it was blocking Bing. I added these addresses to my whitelist:
ip[] = "131.253.21.0/24"
ip[] = "131.253.22.0/23"
ip[] = "131.253.24.0/21"
ip[] = "131.253.32.0/20"

I see in the latest release these IP's ranges were hard coded into searchengine.inc.php

tpearl5 10-19-2012 05:37 PM

Everyone should probably update to 2.2.11 since it includes a fix for Google Adsense crawler:

http://bad-behavior.ioerror.us/2012/...11-and-2-0-49/

ForceHSS 10-19-2012 09:46 PM

op needs to update to latest

tpearl5 10-19-2012 10:17 PM

Quote:

Originally Posted by ForceHSS (Post 2374374)
op needs to update to latest

or you could just download from the link above and upload to the bad-behavior folder...

ForceHSS 10-19-2012 11:21 PM

Quote:

Originally Posted by tpearl5 (Post 2374382)
or you could just download from the link above and upload to the bad-behavior folder...

I already did does not mean the op does not need to update

Videx 10-19-2012 11:45 PM

Quote:

... This would prevent the delivery of targeted ads to a page, and result in generic ads being displayed.
This wouldn't affect us at all as far as I can tell. Still, I guess it's always a good idea to keep updated.

edit: FYI, the bad-behavior folder is in /forum/includes/.

BadgerDog 10-22-2012 09:23 AM

I'm confused... :)

We use Google Adsense ...

My vBulletin add-on says this is installec ...

vB Bad Behavior (vB4) 1.0.10

Is this the latest version?

Thanks .. :)

Regards,
Doug

Videx 10-22-2012 09:57 AM

Quote:

Originally Posted by BadgerDog (Post 2375002)
My vBulletin add-on says this is installec ...

vB Bad Behavior (vB4) 1.0.10

Is this the latest version?

That is currently the latest version of this mod, yes. But there may be a later version of the program this mod uses. Open up your /forum/includes/bad-behavior/core.inc.php and it will tell you what version of Bad Behavior you have.
Quote:

define('BB2_VERSION', "2.2.11");
Post #1 explains how to update - see "Upgrading".

TheSupportForum 10-24-2012 12:09 PM

version 1.0.10

currently getting


PHP Code:


Warning
:  Cannot modify header information headers already sent  by
(output started at  /register.php(338) :
eval()
'd code:114) in /includes/bad-behavior/screener.inc.php on line 9 

which points to

PHP Code:

function bb2_screener_cookie($settings$package$cookie_name$cookie_value)
{
    
// FIXME: Set the real cookie
    
if (!$settings['eu_cookie']) {
        
setcookie($cookie_name$cookie_value0bb2_relative_path());
    }


any help on this please

ForceHSS 10-24-2012 01:29 PM

Quote:

Originally Posted by simonhind (Post 2375619)
version 1.0.10

currently getting


PHP Code:


Warning
:  Cannot modify header information headers already sent  by
(output started at  /register.php(338) :
eval()
'd code:114) in /includes/bad-behavior/screener.inc.php on line 9 

which points to

PHP Code:

function bb2_screener_cookie($settings$package$cookie_name$cookie_value)
{
    
// FIXME: Set the real cookie
    
if (!$settings['eu_cookie']) {
        
setcookie($cookie_name$cookie_value0bb2_relative_path());
    }


any help on this please

remove all files and reinstall see if that helps

Eric 10-28-2012 11:51 AM

I plan on upgrading the plugin later today...

Eric 10-29-2012 10:11 AM

Will package and release later today, but if you want it now, it is available on GitHub:

https://github.com/ericsizemore/vb_b...ree/master/vb4

BadgerDog 10-29-2012 10:20 AM

Quote:

Originally Posted by Videx (Post 2375005)
That is currently the latest version of this mod, yes. But there may be a later version of the program this mod uses. Open up your /forum/includes/bad-behavior/core.inc.php and it will tell you what version of Bad Behavior you have. Post #1 explains how to update - see "Upgrading".

It says ... BB2_VERSION', "2.2.10"

Regards,
Doug

TheSupportForum 10-29-2012 04:50 PM

Eric

why are you not updating the whitelist.ini
google have released newer scopes


All times are GMT. The time now is 04:22 AM.

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.01423 seconds
  • Memory Usage 1,830KB
  • 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
  • (4)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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