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)
-   -   Anti-Spam Options - [GlowHost] Spam-O-Matic - Spam Firewall stops forum spam (https://vborg.vbsupport.ru/showthread.php?t=248042)

6FRGaming 09-20-2010 12:15 AM

Mine was the same error as above, and it gave me the error whenever I tried PMing the banned person, or doing anything with a banned person.

I noticed that whatever action I was doing still happened, despite getting the error. So not a big deal, but kind of weird.

strotti 09-20-2010 08:09 AM

Same problem like ramtha in 1.2.6 and 1.2.7beta on a 4.0.7 while banning a user:

Code:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [path]/includes/adminfunctions.php:285) in [path]/includes/functions_ghsom.php on line 378

pakatosu 09-20-2010 11:33 AM

the best way is to remove the spammer from your database , not to ban , because you lose more time .. then for the GlowHost maybe if you can add a MASS REMOVE USERS :) because i have a lot of new accounts created who are robots :-s

Fatal error: Call to a member function query() on a non-object in [path]/forum/includes/functions_ghsom.php on line 386 only i add the option : Remove user , delete all posts and report to StopSpamForum ... (i think is because the users dosen't have any post 100% ) but at least to not showing that error anymore or to write something "the user dosen't have any post " depends of the error .. keep it up , is very good the mod .

thanks

pedigree 09-20-2010 11:45 AM

Suggestions

1. Use the vBulletin class_vurl instead of native curl, less trouble and then its vbulletins fault for "mysql gone away" errors

2. wrap the process in this so that vbulletin deals with reg errors first, thus not having to deal with excess logging
Code:

if (empty($userdata->errors)) {
        require_once('includes/functions_sfs.php');
        sfs_process();
}]

and finally, some credit for reusing my code wouldnt go amiss.

GlowHost.com 09-20-2010 11:58 AM

Quote:

Originally Posted by pedigree (Post 2100910)
and finally, some credit for reusing my code wouldnt go amiss.

Its in the script description top of every page,

You and MonkeyStop are in there :)

pedigree 09-20-2010 12:22 PM

I must be going mad (well, thats a gimme) or blind as I cant see it :) Anyway, best of luck, Im way to busy with the database site so Im glad someone picked this up

There are a couple of other things that I had in vbStopForumSpam 0.7 that never made it out the door. one was calling all three fields from the API to cut down on the api calls for busy forums and the other was this one...

Code:

SELECT is_spambot FROM .... ORDER BY DATE desc LIMIT 1;
Fixes a possible false hit.

.. casted my vote :)

edit : oh wait, now I see it

swag 09-21-2010 03:20 AM

Hey i installed v1.2.4 on a 3.8.6 board. Suddenly couldn't make any new threads with images in cause the threads got placed automatically in the moderation queue

I found out that it was the spam o matic mod that was causing the problem so i uninstalled and tried the newest version 1.2.6 but the same problem still occour?

Any fix on this would be very appreciated

GlowHost.com 09-21-2010 11:00 AM

Quote:

Originally Posted by Snookieboy (Post 2100606)
I voted for you dude, your 2nd at the moment. I really hope it can move to 1st, because this is now so important for me when installing forums!!! Good luck. :)

Thank you for voting for us for Mod of the Month! I am glad you find the tool useful :)

Quote:

Originally Posted by pedigree (Post 2100920)
There are a couple of other things that I had in vbStopForumSpam 0.7 that never made it out the door. one was calling all three fields from the API to cut down on the api calls for busy forums and the other was this one...

Code:

SELECT is_spambot FROM .... ORDER BY DATE desc LIMIT 1;
Fixes a possible false hit.

.. casted my vote :)

OK Pedigree, I have added this into the bugtracker I will see that it gets added into the next major release. (v2.0)

Thanks for the vote for MOTM and code contributions of course!

GlowHost.com 09-21-2010 11:07 AM

Quote:

Originally Posted by pakatosu (Post 2100906)
the best way is to remove the spammer from your database , not to ban , because you lose more time .. then for the GlowHost maybe if you can add a MASS REMOVE USERS :) because i have a lot of new accounts created who are robots :-s

Fatal error: Call to a member function query() on a non-object in [path]/forum/includes/functions_ghsom.php on line 386 only i add the option : Remove user , delete all posts and report to StopSpamForum ... (i think is because the users dosen't have any post 100% ) but at least to not showing that error anymore or to write something "the user dosen't have any post " depends of the error .. keep it up , is very good the mod .

thanks

If this is specifically related to trying to ban users with no posts, it would be good to know if that is the same thing the others are doing who have reported this error.

I suppose this is not a show-stopper bug as "Delete Posts As Spam" handles this process without error.

However, if reporting users who have no posts is the root of this problem, this should not happen in version 2.0 as it will be impossible to report users who have no posts.

The admin ban function will be removed in favor of a mod to the moderation tools menu in the postbit which fires the removal wizard directly from the front-end instead of having to login to admincp to get rid of the user.

It is similar in the way that version 1.x works now when using "Delete Posts As Spam" is used, but much slicker.

mmackinnon 09-21-2010 12:10 PM

Ok

First I love this app. Especially the ability to ban, remove posts and sent to stop spam website in one click. However, it has since stopped working for me.

When i choose the options ban, remove all posts and send to sopt spam i now get this error message:

Fatal error: Call to a member function query() on a non-object in /home/crna/includes/functions_ghsom.php on line 386

Here is the actual lines from that php, 385 - 389.

Code:

$sql = 'DELETE FROM '.TABLE_PREFIX.'post WHERE userid='.$_SESSION['ghsfs_user_edit']['id'].'); ';
                $vbulletin->db->query($sql);

                $sql = 'DELETE FROM '.TABLE_PREFIX.'thread WHERE postuserid='.$_SESSION['ghsfs_user_edit']['id'].'); ';
                $vbulletin->db->query($sql);


If i simply choose to ban user and send to stop forum it seems to work fine, but when i choose the remove all posts that is where the error occurs. Then after the error when i go through the control panel to try and find "all user posts" so i can delete them it says their are none yet they are still there in the forum. In order to delete them I have to go into the forum itself, into the user profile on the forum find all posts then delete them.

Very odd

EDIT:

Ok upon further testing my "find posts by user" function through admin cp all the sudden no longer works at all... WTH? Ideas?


All times are GMT. The time now is 04:34 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.03078 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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