Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos Yesterday at 12:39 PM1 day
Posted August 14, 201113 yr 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
August 15, 201113 yr 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.
August 15, 201113 yr Author 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}.
November 8, 201113 yr 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).
November 8, 201113 yr Author Do you mean that instead of the error message, their posts to go through but in the moderation queue?
April 17, 201213 yr What are the changes (changelog) for the current version? I installed since last year. thanks
April 17, 201213 yr Author 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.
April 17, 201213 yr 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.
April 17, 201213 yr Author 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.
June 5, 201213 yr 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."
June 5, 201213 yr 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.
January 11, 201312 yr Author Does this work on 3.4.x ? Yes, I had forgotten to update the version compatibility. Thank you for the reminder.
January 15, 201312 yr 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
January 15, 201312 yr Author 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.
January 15, 201312 yr Author 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.
January 15, 201312 yr 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 ;)
January 15, 201312 yr Author 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:
January 15, 201312 yr 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:
January 22, 201312 yr 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!
January 22, 201312 yr Author 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.
January 23, 201312 yr 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?
January 23, 201312 yr Author 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.
Archived
This topic is now archived and is closed to further replies.