Show all posts by user
Post and discuss requests for new hacks and modules in here.
Re: Module: Content Restrictions - 12 years ago
Thanks Scott, I am using SpamHurdles and Stop Forum Spam. I liked the idea of looking at the SpamHurdles code to achieve what I want but unfortunately the "delay check" code in that module is Javascript based, it doesn't look at the DB timestamps at all. What I would like to be able to do is use the Phorum API to return the number of posts the user has made in the past x minuteby sheik - v5/v6 Modules/Add-Ons
Re: Module: Content Restrictions - 12 years ago
A minor new version for this module was released today, see first post for details. I'd really like some pointers on how to pull back a given user's post count in the previous x minutes though as that would help prevent some recent spam floods I've been getting. Can anyone help? /\damby sheik - v5/v6 Modules/Add-Ons
Re: Module: Content Restrictions - 12 years ago
Can somebody please post some sample code to find out how many posts a registered user has made in the past x minutes? Thanks, /\damby sheik - v5/v6 Modules/Add-Ons
Phorum admin patch: Prune Messages - 13 years ago
Tiny little patch to pre-populate prune messages with today's date (for date filters): File: /include/admin/message_prune.php At approx line 712, add one line: if (!this.query) this.query_input.value = '<?php echo date("Y-m-d");?>'; Suggest it gets added on the line preceding: if (create_new) this.query_input.helptext=document.createTextNode("yyyy/mm/by sheik - Phorum Development
Re: Spam attack bringing my site to its knees - advice please! - 13 years ago
I have changed the subject heading of this thread as the readfile() code was entirely mine, not Phorum's! :-) /\by sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
Thanks Scott, it was the Chinese site that was affected but removing the call to readfile() (and blocking 60+ IP addresses) seems to have taken the load off. /\damby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
...I think I've solved it! In my template I was doing a remote call via readfile() to display some data. This has never caused problems before but with the current ongoing spam attack it must have caused a bottleneck in PHP. Bloody spammers! /\damby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
In Forum Cache Settings I have set everything to "No". In other news, since I disabled my spam modules, I have had 30+ spams posted to my site. Would this explain the slowdown of my forum, if lots of bots are hitting it at once? I would have said it would, except admin runs very quickly? /\damby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
Thanks Thomas, I have disabled my Phorum cache now, it was using filesystem /tmp/ As far as I can tell I have plenty of user quota for filespace. I've just disabled duplicate post checks. I am using MyISAM. My forums are still super slow. /\damby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
Thanks Thomas, I am using MyISAM. /\damby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
More tests: I've accessed my forum in a different browser, without being logged in - no change in speed. I've used admin to display all messages posted in the past week - normal (quick) speed. I've tested non-message URLs such as advanced search and user control panel - they all load extremely slowly. So, it's definitely some code that doesn't get called in the aby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
I've now disabled every single module, even things like bbcode. I've purged the Phorum cache for good measure. I've checked all Phorum DB tables for corruption and all are fine and I've optimised the ones that had any overhead. I've even set one of my phorums to use the default Emerald template to see if that makes any difference. Nothing is having any effect on tby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
I've now disabled : Spam Hurdles Content Restrictions SIgnature Restrictions Stop Forum Spam Subscribers Module I've also commented out some template hacks I have run for years to pull in extra DB information in the Phorum header. None of this has helped, Phorum public-facing pages still take 20-30 seconds to display, admin pages render instantly. /\damby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
Also of note is that my Phorum admin pages run at full speed too. /\damby sheik - Phorum Support
Re: Spam attack bringing Phorum to its knees - advice please! - 13 years ago
I don't know if it's any help, but I see quite a few of these errors in my Phorum Event Log: Quoteevent loggerPHP error: Missing parameter "mode" in request PHP error generated at /home/canto/public_html/phorum/posting.php:272 Back trace: Function trigger_error called at {path to Phorum}/posting.php:272 ----by sheik - Phorum Support
Spam attack bringing my site to its knees - advice please! - 13 years ago
My Phorum is currently undergoing a spam attack - I've manually blocked over 50 IPs from my site (at .htaccess level) in the past hour. My host tells me the traffic levels are not high enough to constitute a DoS attack though, and I would have to agree looking at my Apache status - new spammers keep appearing but not in enough numbers to affect the server. I have two MySQL users on my siby sheik - Phorum Support
Re: What do YOU expect from the next major phorum release? - 13 years ago
I personally wouldn't make any 3rd party analytics part of the core. That kind of functionality screams "module" to me. I like the idea of a Phorum-approved social media module to show the rest of us how it should be done! Returning to the idea of upgrades via the admin, I was recently impressed with how Lemonstand (an ecommerce product) accomplishes this. So far it's seby sheik - Announcements
Re: What do YOU expect from the next major phorum release? - 13 years ago
...and, from an admin maintenance point of view - upgrades to core and modules via the admin interface would be awesome. Having said all of the above, a complete rewrite would worry me, as if it were too radically different then it could take module writers years to port existing modules. I'd hate to see our project community fracture between old and new versions. /\damby sheik - Announcements
Re: What do YOU expect from the next major phorum release? - 13 years ago
The main thing I'm hoping for is a database design that can support metadata for each post or thread, allowing users to rate, like, +1 or whatever you want to call it. The core rating system should be able to be overridden by modules for maximum flexibility. If Phorum can nail capturing this data in an efficient manner, then we'd be able to write modules such as "recommendeby sheik - Announcements
Re: Phorum status and future plans - 13 years ago
Surely a relatively small number of support requests points to the ease of use and stability of Phorum? If the forums themselves were dead I would agree it would be concerning, but there is plenty of development going on in the Modules forum. The Phorum devs have always said they wanted a stable core with most "extra" functionality implemented via modules. I think there are many, mby sheik - Phorum Development
Re: UI Design: Suggestions for improved spam control in Phorum 5.3 - 13 years ago
Thanks Thomas, I hadn't looked into that module in enough detail, I will definitely be installing it now! StopForumSpam.com looks to be a useful tool in the ongoing war against spammers, but I'm not sure it's very effective for users that use proxies which change their IP address regularly. I agree though, it would be very handy to have a "one click report" interfaceby sheik - Phorum Development
UI Design: Suggestions for improved spam control in Phorum 5.3 - 13 years ago
Just a few thoughts on small but useful improvements to spam fighting tools in Phorum. I saw Maurice mentioned the user flow for deleting messages in 5.3 has been streamlined so maybe some of these will be redundant: Prune messages in Admin : add "flag user as spammer" checkbox which can then be used as a filter in Edit Users. The idea being we can quickly bring up a list of users tby sheik - Phorum Development
Re: Module: Google Maps - 13 years ago
QuoteMaurice Makaay Yes, it would be very tiresome, but the api.php script file has a conversion function on board that can be used for converting the old data format to the new format: mod_google_maps_upgrade_userdata Thanks Maurice, it's good to know there is conversion code I can access. QuoteThe module does not provide a conversion tool for converting all existing users. There is onby sheik - v5/v6 Modules/Add-Ons
Re: How does the Module List Wiki get updated? - 13 years ago
Totally didn't see that, sorry ;-) /\by sheik - Phorum Development
Re: Module: Content Restrictions - 13 years ago
I'm thinking it would be a nice addition for this module to prevent newly registered users from making multiple posts within a configurable timeframe. This would stop spammers using an automated script to flood a forum with dozens of posts per minute. Even putting a 60 second restriction in place would slow down such a script. Any thoughts? /\damby sheik - v5/v6 Modules/Add-Ons
Re: How does the Module List Wiki get updated? - 13 years ago
Sorry, one more question. How do you specify a category for a module? One of mine is in Unclassified and it should ideally be under Spam Prevention. Thanks, /\damby sheik - Phorum Development
Re: Module:KeyCAPTCHA, Interactive CAPTCHA with Social Features - 13 years ago
Really good to know, thank you! And please don't think I was being negative about your module, it really does look very interesting. /\damby sheik - v5/v6 Modules/Add-Ons
Re: Module:KeyCAPTCHA, Interactive CAPTCHA with Social Features - 13 years ago
Looks like a very clever idea. I like that the adverts are optional. I wonder how accessible it is though? i.e. for partially sighted or physically disabled users. I personally use text CAPTCHAs such as a simple arithmetic question for accessibility reasons. /\damby sheik - v5/v6 Modules/Add-Ons
Module: Premium Subscribers - 13 years ago
From the ReadMe: This module introduces the concept of "subscribers" or "supporters" of your forums. These could be users that are helpful, people who have donated money or something else - the point being that using this module you can make them "premium subscribers" and provide benefits to them accordingly. I wrote this module to allow supporters of my site to (by sheik - v5/v6 Modules/Add-Ons

