vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=248042 |
PHP Parse error: parse error in \includes\functions_newpost.php (433) : eval()'d code on line 11
This happens by creating a new post within vBulletin 4.0.6 Suite. I disable the hook newpost_process of you hack for now as it did double posts and print this message. |
Thanks very much for this mod ...
|
Quote:
Quote:
|
I am using 4.0.6 suite and experience this when replying to a thread:
I use Firefox 3.6.8 Parse error: syntax error, unexpected T_BOOLEAN_OR in /serverpath/includes/functions_newpost.php(433) : eval()'d code on line 31 Then creating a new thread I get: Parse error: syntax error, unexpected T_BOOLEAN_OR in /serverpath/includes/functions_newpost.php(433) : eval()'d code on line 31 Parse error: syntax error, unexpected T_BOOLEAN_OR in /serverpath/includes/class_dm_threadpost.php(1766) : eval()'d code on line 4 Unable to add cookies, header already sent. File: /serverpath/functions_newpost.php(433) : eval()'d code Line: 31 Disabling until resolved. |
Quote:
http://www.vbulletin.org/forum/showthread.php?t=184757 Dude, thank you so much for considering this, if we can just get it to deny posts with an error message instead of sending to moderation, it would save having to go through a daily moderation queue of over 100 posts! :) |
Fixed when I installed the V 1.2.2 Update. Thanks.
I am running VB 4.05 and installed the updated version of this mod this morning. I went to create a new thread and received an error which was not showing before the update. Here is the info I received. I tried to create multiple threads and received the same error each time. I have disabled the product and I do not get the error anymore. Hope this info helps if there is some sort of bug. I can turn it back on again and check other stuff if needed. ------------------------------------------- Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/domain/public_html/community/includes/functions_newpost.php(433) : eval()'d code on line 5 Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/domain/public_html/community/includes/class_dm_threadpost.php(1795) : eval()'d code on line 4 Domain.com Message Unable to add cookies, header already sent. File: /home/domain/public_html/community/includes/functions_newpost.php(433) : eval()'d code Line: 5 ------------------- Update. I guess I am not the only one that got the error. I just checked my emails and some members said they got the same error. They said the first time they went to post, they got a white screen with the above error. they hit the back button and submtited the post again, receiving the error again, but the post successfully posted. ------------------- Fixed when I installed the V 1.2.2 Update. Thanks. |
I was hoping to upgrade to vB4.0.6 this weekend but I'm finding this product so useful that I'm delaying the upgrade until this issue is resolved.
Can you give us an idea how soon this will be done? |
Version 1.2.2 has been released.
* Log System Improvements * Fixed a bug with facebook * fixed a bug with advanced post * Code Optimizations |
Quote:
|
Try it now.
|
Thanks for the update! Now bots cant get in again :)
|
installed v 1.2.2 and did not receive the errors when posting that I had mentioned above. Thanks for the update and good job on the mod. It was killing me to disable this since we have had zero spam registrations since installing this.
|
Thanks for the quick update. v1.2.2 now running with vB4.0.6 and no obvious problems.
However, will check and report back. ;) |
My understanding is that all the show-stopper bugs are fixed and from feedback, this should be running on all 4.x including the recently released vBulletin 4.0.6 as well as long as you are running the latest Spam-O-Matic version 1.2.2 as of this writing.
I am going to stop development on the 1.2 series unless any other show-stoppers pop up. I am adding a section in the first post below the FAQ for consideration of additional features to make life easier. For now though this mod should keep the spammers off of your boards fairly well barring those of you that find conflicts with other mods. |
Could I add the following to the additional features list:
Ability to work with renamed admincp and modcp folders Since this product is essentially a security aid, it should encourage (or at least enable) admins to add as much security to their site installations as possible and the renaming of those two folders is supported in vB as standard and is a sensible security precaution. I have always renamed those folders but I have set them back to default just so that this product will run (yes, it's that useful). I don't mind admitting that I now feel a little vulnerable. Although I'm no expert, I don't think this would be difficult to implement and it would make the product more robust i.e. it wouldn't fail to work if an admin has used the vB renaming feature. Summary statistics The log formatting in 1.2.2 is a big improvement but for those of us with busy boards it would be useful to have a summary of successful registrations and rejected registrations on a per day/week/month basis so that we can get an idea of spammer activity. Excellent mod - should be core to vB. |
I have added a bit about admin and modcp directories to the known issues (also asking for feedback in that section) since I have not tested myself if this works or not and so far, you are only the first to report it.
I will move it to suggestions list as soon as we have more feedback on it. I don't want to spend a lot of time on it if its isolated to you or others do not need it. Lets see what people think and go from there. |
Not sure if you are looking for a list of people that changed their admincp and modcp directory names, but I am one. If I am not mistaken, I think it was suggested in the installation instructions for VB, so I did it. Renaming them to the original names is probably an easy process....I am guessing just editing the lines in the config file??
On a different note, I installed the newest version of this mod last night on my 4.05 VB Forum and it fixed the problem when a user went to post a new thread and got an error. This morning I received a bunch of emails telling me of vb database errors, Here is some info and I am guessing it has something to do with this mod since it was listed in a few of the errors and all the errors have to do with addmember. I have not received these errors for the past few hours, so I am not sure if this was isolated to just this morning. ---------------- Invalid SQL: INSERT HIGH_PRIORITY IGNORE INTO glowhostspamomatic_remotecache(`date`, `data`, `is_spambot`, `field`) VALUES (now(), "hfmjgs382", "0", "username");; Followed by: Invalid SQL: SELECT DATEDIFF(NOW(), "2010-08-16 06:00:03") AS DAYS; ---------------- Invalid SQL: INSERT HIGH_PRIORITY IGNORE INTO glowhostspamomatic_remotecache(`date`, `data`, `is_spambot`, `field`) VALUES (now(), "xmjbry", "0", "username");; Followed by: Invalid SQL: SELECT DATEDIFF(NOW(), "2010-08-13 22:15:58") AS DAYS; ---------------- Invalid SQL: INSERT HIGH_PRIORITY IGNORE INTO glowhostspamomatic_remotecache(`date`, `data`, `is_spambot`, `field`) VALUES (now(), "[email protected]", "0", "email");; ---------------- Invalid SQL: INSERT HIGH_PRIORITY IGNORE INTO glowhostspamomatic_remotecache(`date`, `data`, `is_spambot`, `field`) VALUES (now(), "[email protected]", "0", "email");; ---------------- Invalid SQL: INSERT HIGH_PRIORITY IGNORE INTO glowhostspamomatic_remotecache(`date`, `data`, `is_spambot`, `field`) VALUES (now(), "csuboh", "0", "username");; ---------------- I am not trying to sharpshoot this mod, I think it is great and an asset to us and our members. I just don't know if others may be receiving this error and wanted to bring it to your attention. Thanks. |
Quote:
1) A fresh, working vBulletin 2) Have decided to change modcp and admincp directories to something other than the default. 3) DO NOT RUN, OR HAVE NOT INSTALLED ANY OTHER ADDONS 4) Have installed the latest Spam-O-Matic. 5) Only have errors when Spam-O-Matic is enabled. I am trying to confirm that as another poster has said that this mod simply does not work because of renaming these directoryies. As for your SQL errors, have they gone away on their own? Have to tried to completely uninstall and re-install this mod? Also perhaps your database is corrupt? Have you tried to repair the affected tables? In any of these cases a full uninstall and re-install should correct it, unless others have the same issue but its the first I have heard. |
Changing the names of the control panel folders is a recommended security precaution, see tip number 8 in this article for another opinion on this.
As for testing, I can confirm that only some of the functions are broken when the folders are renamed, in general the processing of registrations continues unaffected but the mod and admin functions do not work. |
I can't really comment on the security issue, other than the following:
Everyone has their own opinion of what security "should be." There is almost always a trade-off for functionality vs. security and users have to decide where that line is on their own. Keeping the scripts up to date, maintaining an adequate server-side firewall, and strong passwords are generally good enough. As a suggestion, ff you want to maintain functionality of this mod, other mods, make your upgrades easier for mods and the forum scripts themselves, and add another level of security by simply password protecting admincp and modcp using your web servers http_auth functions. Then keep modcp and admincp where they belong. Now your crackers have to first guess your web authorization and secondly they have to get past your script authorization. It's unlikely. Your bug comments are good to know cfish. In this case, hopefully you can wait until 2.x to get past these issues. Hopefully the trade off in reduced spam is worth it. In 2.x we will be removing those functions and making it one stop shopping from the postbit to delete, soft delete, ban etc so the need for admin or mod panels will be bypassed completely and productivity will be increased by just doing the dirty work on the front-end of the forum not the back. |
Delete Posts as Spam Issue
1: vBulletin Version: 4.0.6 Patch Level 1 2: Browser: FireFox 3.6.8 3: Detailed description of the problem. When I choose to delete a thread as "spam" I can go all the way to the the final VB screen but then nothing is deleted... Not even the post. The screen that I end on is the "add a spammer" screen which is lacking CSS code. When I check my logs, the user info is submitted but threads/posts are not deleted. |
Quote:
|
Quote:
Fatal error: Using $this when not in object context in /home/mydomain/public_html/forum/includes/functions_vbghsfs.php on line 438 Also, there seems to be something weird going on with the URLs on the Add a Spammer page. It appears to be a Stop-Forum-Spam page but all the URLs are local to my site. I guess that may be the source of the problem. I would call this a "showstopper" because the only way of successfully using "delete as spam" is to turn off this product. |
Here you go: http://www.youtube.com/user/MrCADTut.../6/DvJV99T7cR0
This YouTube video illustrates the problem. |
Thanks for the video, but I cannot duplicate it. I am not running 4.0.6 PL1 yet I am still on 4.0.5
So something changed in 4.0.6 or there are other issues involved. I will test it when we upgrade our boards or am still waiting to hear if others have this on any version besides 4.0.6 |
Hi,
I'm still running 1.1.2 until 1.2.2 seems to have settled down. I noticed an entry in the log citing an exiting user (a moderator!) who was probably doing some testing to reset her password via our VB 4.0.5 system password-reset-while-trying-to-login system ("forgot password"). The entry has her username, the email field is blank, message is a link that says " Found in Akismet Database. Held for moderation: " plus the first part of her post. Clicking on the link gives me an error "The requested URL /modcp/moderate.php was not found on this server." I have not renamed the moderator panel. I don't see any posts that need moderation (in the moderate posts admin panel). What's happening??? |
Possibly do to the logging fixes that were done in 1.2. I can't really support old versions those are EOL.
As for not using 1.2.2 you might consider installing 1.2.2 then enabling it, then disabling the old version....and see how it goes for you. There are no issues that I can duplicate on the 4.x series. 4.0.6 is the only version untested and I will get to that later today, but then, if 1.2.2 doesn't work on 4.0.6 then neither should 1.1.2 anyways. If it does not work then simply uninstall the new version and re-enable the old version. Just make sure to make backups of the old version in case you need to reupload to revert some of the older files. |
Quote:
You might viw the readme for this mod, completely uninstall, the re-install it first. If that doesnt fix your issue I would look into what mods have manual template edits. If none of them do, that will make life easier because to test where the conflict lies, just temporarily disable all mods except Spam-O-Matic and then test it again. It should work. Then start enabling the other mods 1 by one until you find the conflict. |
This mod was working perfectly for me on VB 4.0.6, until today when suddenly deleting spammers via the inline mod, caused the StopForumSpam Submit form to appear (usual behaviour) but after it submitting the spam, it didnt continue back to the Vbulletin forum and instead got stuck on the "Data Submitted" page. Anyone else just recently experienced this?
Edit/Update: I turned off auto-submitting to StopForumSpam in the AdminCP options of this mod hoping it would be a work around until a solution could be found, however when I turn it off, I now just get a blank screen after clicking ban users (where it would normally submit the data). Disabling this mod fixes the problem The weird thing is, I have been using this mod for a good few weeks now and its been brilliant, nothing has changed at all on the webserver, no new plugins. Found this in the PHP Error Log: [19-Aug-2010 01:38:13] PHP Fatal error: Using $this when not in object context in \includes\functions_vbghsfs.php on line 438 Could this be related? |
Well, if the mod didn't change, and was working fine before, and the forum didn't change, and was working fine before, and the server didn't change, but was working fine before....what changed? :)
Something has changed either in the codebase or on the server. Now we need to find out why that is because the problem you are having is likely the same reason as the others with the same error. What happens with a fresh install of S-O-M? I'd like to know if the S-O-M code is being changed or if there is some other problem like a security hole in vB responsible. Make sure to vies the readme for uninstall instructions before a re-install. |
Quote:
I did find out that our server did change in one way, we did get a new ip for the web server, not that i doubt that would matter :S. But from watching that Youtube video from the guys posts above, it seems like I got the exact problem as him, except mine starting doing it randomly. Could it be a code change externally on Akismet or StopForumSpam, as the bug seems to happen when the data is submitted to them. |
That is interesting, perhaps there is some communication error between your server and the service. Have you tried to disable the:
"Akismet: Auto-submit from Moderation Tools" and "StopForumSpam: Auto-submit from Moderation Tools" Options to see if that fixes things up? |
Quote:
The error message is the only clue I have as to the problems in 1.2.2: PHP Fatal error: Using $this when not in object context in \includes\functions_vbghsfs.php on line 438 |
Quote:
What can be the issue here. |
Do you guys that have this error have cURL compiled into your server's PHP?
|
Quote:
|
Version 1.2.3 is available which should solve this issue. Let me know how it goes.
|
To update, do I overwrite the files?
|
Quote:
2) View the Readme file for how to install the product. That is the best option. |
Quote:
Any consideration to my previous begging/request for the option to just block posts that contain keywords instead of sending them to Moderation? Thank you once again!!!! :) |
Sweeeeeeet!
That's great news. Actually, yes, your suggestion is already on our bugtracker along with a few others. But I have to admit this version 1 mod took a lot longer and a lot more money than I anticipated to get it done right. I am going to make sure that version 2 comes out... but it has 3 huge new features scheduled and I need a break before making a major version change. First I need to come up with the money, second I need to find the time to support everyone on a donated project like this. I have a honeymoon (woohoo!) coming up and a business to run in the meantime. :) What you guys and girls have now should get you by for quiet a while and significantly reduce the time you spend on cleaning up the baddies off your boards. Hopefully that is all of the show-stoppers. If you like this mod make sure to rate this mod, mark it as installed, and nominate us at some point for Mod of the month. Surprisingly we have some low marks in the rating department. Some high ones would be good :) |
PS
Snookieboy I am taking your feature off of our bugtracker until you at least mark the mod as installed. :) |
The new version is working for me.
|
Quote:
What's the donation goal your hoping to achieve, and is there a price on the feature request? |
Quote:
Our donation goal really is to just help get the GlowHost web hosting name out. Showing appreciation by signing up for our web hosting service is the biggest thanks we could hope for. Speaking of which, I've made a coupon for members of this thread which will get you guys 3 free months of service to try us out. If you want it you can PM me. I am not sure if it is OK to post in this thread. |
Quote:
|
Quote:
|
Quote:
|
how do i add someone who becomes a spammer after joining, just like the orginal MOD for this when you go into a users account it allows you to add them to the list from the IP address they signed up for or the IP they spammed from
http://www.vbulletin.org/forum/showt...=stopforumspam this is a very importany feature this MOD had, you may want to contact them to find out how to add this section to user accoun information in admincp |
Can you add a whitelist feature for IP? VBSTOPSPAM doesn't have this and this would be a great feature and not sure why no one has it?
Thanks |
I'm getting known user's posts (posts from well-established users on my board) being flagged for moderation because its "Found in akismet database".
i think there should be a setting for a minimum post count that defeats all spam checks, ie, if a user has posted more than x times, their posts are assumed to be not spam. |
I have NEVER had akismet supply a true positive match on anything. It has ALWAYS returned false positives. First thing I did was disable akismet with this mod.
|
Quote:
Regards, Badger |
Quote:
Quote:
If you delete the posts as spam, they can be automatically added to the list based on your settings. Quote:
|
Quote:
|
Quote:
|
Quote:
I tested it, and it worked!! And even better, I noticed you used a phrase so it was easy for me to edit the default text to: Quote:
|
Installed version 1.2.4 on vBulletin 3.8.6 P1 and working great
Much apprciated :up: |
Quote:
Quote:
Quote:
Anything you can do is great, Thanks. BTW - Version 2 is the works now, We are running it on our forums and it is schweeeeeeeet! Quote:
Not many people are reporting about earlier versions so that is great news. :) If there are any other reports, please tell! |
This caught my eye after opening registration today and getting slammed with bogus registrations. I have a very small user base by design and did it all manually but decided to make it easier. Oops, that went bad. Just installed this and will see how it does.
|
Just a quick question, you jokingly said 1.2.4 was made especially for me, but is that version features (the auto blocking instead of moderation option) continue you with all future releases, or do I have to beg for a special version of each release you make? ;)
Thank you once again :) Will make an article about your hosting on my forum at some point. |
Quote:
|
PS
I appreciate the forum post. :) |
Re-installed for testing ob v1.24 ... :)
Have temporarily disabled v.61 vbStopForumSpam mod and vBulletin's v4.04 built-in Akismet spam checking system... Set threshold of post checking to 1, which hopefully will stop erroneous moderation of registered member's posts greater than 1, which was a problem under v1.12 of this mode... Thanks for your efforts ... :) Will post results ... Regards, Badger Edit: same problem with v1.24 as with v1.12 and RSS posts. All are being moderated for an RSS user name poster that has far more than one post, therefore should not be moderated. Have now disabled "Auto Moderation" function of mod to see if that fixes RSS poster problem. |
I am testing this out on 3.8.6 patch level 1. No issues installing, love the feature in the profile for submitting and banning. Will update if any conflicts arise.
|
Any reason why you don't add a feature to whitelist IP's?
|
Quote:
Quote:
|
Quote:
*Installed* and an immediate drop of spam registrations followed. :D |
Quote:
Hey we got nominated for Mod of the Month! Please vote for us if you like this mod. It will encourage release of version 2.0 :) Vote by clicking 'Nominate for MOTM' link in the release notes at the top right of this thread - you can nominate as many as you like during the month. |
Quote:
Done! ;) Great job! |
Would there be any plans to also incorporate:
botscout It seems that they already have vbulletin code ... it would be cool if this could be integrated into this plugin http://www.botscout.com/ |
Thanks, just installed this on my new board. Will see how it goes. :)
|
Seems like when I submit user info it's not getting to the stopforumspan site. I had some one register using an IP that I had submitted when they had registered earlier in the day.
|
This is exactly what i was looking for, over the recent months i have been hammered by severe spam concerning pornography. It was so bad i have had to manually moderate new users and their initial posts. I am so thankful that something to combat this has come into play.
Thanks a million :up: |
Quote:
Quote:
Quote:
|
Quote:
|
OK, I will check up on it. After your post I read that they recently updated their site and some things broke.
Maybe that is one of the things :) Thanks for the report. |
Quote:
|
Just wanted to say thanks for a great mod. I wrote something like this for another CMS and was pleased to see someone has already done it for vb. These tools make all the difference to forum spam and make running a forum viable!
I tried to vote for MOTM but i get a permissions error when I try :(. Edit: ah have to vote on front page poll - i get it! Good work. |
I think there's something wrong with either this mod, or StopForumSpam.Com ... :confused:
I'm not exactly sure what's wrong, but for over two years I've been reporting spammers there automatically from our site using the original vb StopForumSpam .61 add-on mod and the API key provided to me by that site. I just tried to BAN a spammer using this latest revision of Spam-O-Matic and it now appears to no longer work automatically, yet I'm able to manually submit to "line by line" spammers (hand adding them) to the StopForumSpam site, which is really aggravating and not worth the effort. Can anyone help or know what's going on? Perhaps they are now only accepting automatic additions from their own add-on mod vbStopForumSpam and not this Spam-O-Matic one? Thanks for any feedback ... :) Regards, Bagder |
Its a problem with the StopForumSpam site. They recently updated things and submissions to their DB are behaving strangely.
They important parts of this mod work which is looking up known spammers and blocking them. Once they fix their site, submissions should work again. We will look for a workaround in the mean time for those of you that want to report spammers, but the current problems with the stopforumspam submission process should not discourage you from usage of this mod because the primary goal is to block spammers, reporting them is secondary. The original mod also currently has similar issues so I guess they did not simply block this mod. This is a good reason to add in botscout as another poster has mentioned so that an alternative service can be used if one or the other is down. Adding botscout may delay release of the 2.0 series which is being cleaned up for release now. |
Quote:
The strength of this system (and mods that support it) is the team approach of all vBulletin sites using it and reporting spammers to a common database for the benefit of everyone. Having to manually hand add every spammer will discourage a lot of web masters from finding the time to do so and the content will be come stale and inevitably useless. Thanks for your efforts ... :) Regards, Badger |
Sure :)
I definitely understand the importance of the contributions part. Without it, these mods would not be very useful. :) But for now most of us probably do not have time for manual submissions and can get by using the older results until fixes have been made. We will be looking at what changed on SFS today and start work on the Botscout stuff. |
I installed the products, and get the following error after hitting the "post thread" button:
Quote:
|
Quote:
The error you sent says the file does not exist. |
Quote:
|
Quote:
Quote:
Quote:
Actually you are supposed to vote in the top right of the first post where it says Mod of the Month. Next to the "Mark As Installed" do-hicky. That part gives you an error? The poll thing is just for a guess of who will win I believe :) |
Quote:
My mistake was putting the "upload" folder into my forum root, rather than opening the folder first. |
Quote:
Upgraded to v1.25.. will advise .. Regards, Badger |
1 Attachment(s)
Quote:
Referring to your comment to the other poster, I find no file in your download package called functions_vbghsfs.php? In my v1.25 download package there is a file with a name that's close to it called functions_ghsom.php. (see pic) Ironically, when I upload functions_ghsom.php to my /includes sub-directory, I can't find it after that in the /includes sub-directory, but there is one that appears called functions_vbghsfs.php... does my Unix platform do something to this filename? Regards, Badger |
Update:
I'd recommend that before anyone installs v1.25 of this mod, they be prepared to step back to v1.24. Once 1.25 is installed, quickly check your "mark forums read" function. As soon as we imported the v1.25 XML and began to use the forums, we noticed that the "Mark Forums Read" function was completely broken. When members would click on that vBulletin function, it would simply clear to a white screen" and say "done" in the browser. Since the only thing we had done was upgrade from 1.24 to 1.25 of this mod, we immediately DISABLED this mod and the "mark read" vBulletin function started working fine again. Regards, Badger |
Quote:
|
Quote:
|
Have installed 1.2.5 and I still have a problem with submitting the data using the AdminCP. When i select Remove User, Remove Posts, Submit to SFS I click the submit button and it reloads the user information again.
|
Quote:
|
BadgerDog
functions_vbghsfs.php is from easier versions of this mod. functions_ghsom.php is the name of this file in 1.2.5+ Anyways, this information was for the other poster who didn't upload the file, so it should not affect you. |
Quote:
Follow up ... v1.25 is NOT sending information to ADD spammers to stopforumspam.com. I've tested it several times using the AdminCP function add-on panel you provide in the users screen and nothing ever arrives and is placed in their database. I don't know if it works through the moderation "delete as spam" function as I haven't had a spammer get through to be able to post a message. I am able to manually go to their site and add spammers to their database. 1.25 is working to analyze and stop spammers from registering ... Regards, Badger |
Quote:
Thank you to you both. Had the same issue this morning. I dunno how I overlooked the file install. Thanks for the quick fix! ~Brian |
I've decided to uninstall this mod. After looking at the logs for the past month, I have come to the following conclusions...
The other 8 of those 9 rejections were done using a custom profile field:
Any bots that do get through eventually get caught by this: http://www.vbulletin.org/forum/showthread.php?t=248560 |
Well, 1 is better than none I would say.
Why not just turn off the Akismet option if it doesn't work for your purposes? Is that the only thing giving false positives? The question thing you have does work good and is a great thing unless everyone uses the same questions on their forums. The spambots can easily be trained to answer that type of question. The mods I have seen with such systems all have the same questions which sort of defeats the purpose. |
All times are GMT. The time now is 00:10. |
Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.