NenaDice Posted August 14, 2011 Posted August 14, 2011 File Name: Number of Posts to Post Links (Anti Spam Measurement)File Submitter: NenaDiceFile Submitted: 14 Aug 2011File Category: Hooks and Plugins This will give the admin the option to make it so only users with a certain post count set by him/her can post http or www links in posts and threads. By default it is set to 5 posts. This is an anti spam measurement if you will. Install the hook.xml file through Manage Hooks in your Admin Panel and then to configure it go to System Settings. There you will see a new setting called NenaDice. Click on it and configure the hook to your needs. There you can enable/disable the hook, set the number of posts needed to post links, enter your custom error message and as last but not least you can choose which groups and forums can bypass the post restriction. Compatible with 3.4.x as well.Click here to download this file
• Jay • Posted August 15, 2011 Posted August 15, 2011 Good looking hook! Question, is there a way to easily edit the error messages? I'd prefer a generic error message instead of give spammers a target number, because that will actually promote spam.
NenaDice Posted August 15, 2011 Author Posted August 15, 2011 Good looking hook! Question, is there a way to easily edit the error messages? I'd prefer a generic error message instead of give spammers a target number, because that will actually promote spam. Thank you :) Yes, you can edit the error message from the hook settings. There is a setting called Error Message. You can enter there whatever message you want. You can also show the name of the user with {user}.
Telemacus2 Posted November 8, 2011 Posted November 8, 2011 Wow! this sounds like a really cool mod! (I was actually thinking of requesting something like this!) I was wondering whether you could add an extra feature in a future version: - Automatically activate the setting "this user's posts will be moderated" from the very moment he posts a link in one of his posts (if he hasn't reached the 2, 3, or whatever minimum number of posts).
NenaDice Posted November 8, 2011 Author Posted November 8, 2011 Do you mean that instead of the error message, their posts to go through but in the moderation queue?
Telemacus2 Posted November 9, 2011 Posted November 9, 2011 I was thinking "optional". Either both or directly into the moderation queu.
altenerg Posted April 17, 2012 Posted April 17, 2012 What are the changes (changelog) for the current version? I installed since last year. thanks
NenaDice Posted April 17, 2012 Author Posted April 17, 2012 What are the changes (changelog) for the current version? I installed since last year. thanks There is no change log. The one I uploaded originally for 3.2 works with the 3.3. as well.
altenerg Posted April 17, 2012 Posted April 17, 2012 so no benefits of upgrading correct? I'm on 3.3.1 with the old version and have no issues so unless there's some new features I don't want to touch it.
NenaDice Posted April 17, 2012 Author Posted April 17, 2012 so no benefits of upgrading correct? I'm on 3.3.1 with the old version and have no issues so unless there's some new features I don't want to touch it. That is correct. You do not need to upgrade it.
altenerg Posted June 5, 2012 Posted June 5, 2012 This is the 3rd false positive PM I've received from members:I don't like Spam either. This is my post. It does not contain any URLs. Why the OOPS Msg? "As soon as these wind turbines were turned on, my Dave and I took a walk on the bike path to check them out for ourselves. I have excellent hearing. We went and stood directly under them.There is a very low pitch hum that 99% of the population won't hear. The blades slicing through the air are also heard. This sound was not disruptive. The higher hum of the big electric box next to the turbine is louder but can't be heard from a distance of 40-50 feet. A window air conditioner is louder. A plane passing overhead is louder. A running car, the lawnmower, a leaf blower all are much louder. I personally feel it is just a new noice to get used to. Our consensus is that we would not mind one in our backyard."
altenerg Posted June 5, 2012 Posted June 5, 2012 Just wasted 7 bux trying days-registered-to-post-links-anti-spam-measurement. Same issues it block the above message. False positive. I found the problem here: them.There is a very low pitch hum added a space between the period "." and "There" so it looks likethem. There is a very low pitch hum and that caused the issue. Can this be fixed? Lots of users sometimes miss hitting the space bar and this should not mark their messages as having links.
NenaDice Posted January 11, 2013 Author Posted January 11, 2013 Does this work on 3.4.x ? Yes, I had forgotten to update the version compatibility. Thank you for the reminder.
IveLeft... Posted January 15, 2013 Posted January 15, 2013 Hi Installed and set up, new user today and they posted a twitter link, is that right or should that not have been allowed ? The new user (1 post) was in the TEF Newbie group so shouldnt be excluded and i have set the hook to 10 posts
NenaDice Posted January 15, 2013 Author Posted January 15, 2013 Hi Installed and set up, new user today and they posted a twitter link, is that right or should that not have been allowed ? The new user (1 post) was in the TEF Newbie group so shouldnt be excluded and i have set the hook to 10 posts That is not recognised as a link from what I am seeing at the screenshot because it does not contain http or www.
IveLeft... Posted January 15, 2013 Posted January 15, 2013 It worked as a link though, clicked and t took them to the twitter account
NenaDice Posted January 15, 2013 Author Posted January 15, 2013 It worked as a link though, clicked and t took them to the twitter account I know what you mean but the thing is that it is not recognised as a normal link. If you want to prevent users to post certain words like in this case, then have a look at my other mod.
loetie Posted January 15, 2013 Posted January 15, 2013 Thanks for upgrading this hook. It came in handy in the past, and I'm sure it will come in handy in the future too. :D Installed it and working fine. Thanks ;)
NenaDice Posted January 15, 2013 Author Posted January 15, 2013 Thanks for upgrading this hook. It came in handy in the past, and I'm sure it will come in handy in the future too. :D Installed it and working fine. Thanks ;) You are welcome :smile: Thank you for your feedback :smile:
IveLeft... Posted January 15, 2013 Posted January 15, 2013 I know what you mean but the thing is that it is not recognised as a normal link. If you want to prevent users to post certain words like in this case, then have a look at my other mod. Thanks Guess ill be buying another hook :thumbsup:
JTrollerb123 Posted January 22, 2013 Posted January 22, 2013 So I installed this onto my 3.4.1 install and my forum was working fine for a few hours. Then began receiving the following error: Fatal error: Allowed memory size of 230686720 bytes exhausted (tried to allocate 805762 bytes) in/home/cruisecr/public_html/forums/admin/sources/classes/output/formats/html/htmlOutput.phpon line 569 Reported this to IPS Tech and they said it was this app causing the issue. As soon as they disabled it, the error went away and board back online. Is this a known issue? Any idea what within this app could be causing this? Thanks!
NenaDice Posted January 22, 2013 Author Posted January 22, 2013 So I installed this onto my 3.4.1 install and my forum was working fine for a few hours. Then began receiving the following error: Reported this to IPS Tech and they said it was this app causing the issue. As soon as they disabled it, the error went away and board back online. Is this a known issue? Any idea what within this app could be causing this? Thanks! It is not coming from my mod. I see nothing in the error you posted that it indicates it is caused by my mod. As my mods does not make use of templates. It simply checks for links. This error is caused by a mod that makes use of templates/template hook. P.s. Did you get this error when posting btw or in the forum index page.
JTrollerb123 Posted January 23, 2013 Posted January 23, 2013 oh I don't know what to say because this was the only mod installed last night. Received it when viewing the forums (including board index). Any other ideas?
NenaDice Posted January 23, 2013 Author Posted January 23, 2013 oh I don't know what to say because this was the only mod installed last night. Received it when viewing the forums (including board index). Any other ideas? My mod has nothing to do what so ever with viewing forums. What happens if you install another mod? Do you get the same issue? And the error message points to a memory limit issue btw. You might want to contact your host as well about it btw.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.