View Full Version : Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts
amykhar
11 Sep 2005, 01:09
Just as the title says - if a user has fewer than 15 posts, he will be unable to post a link or an image within a message.
This mod was originally done by Erwin for VB 2.x, and is ported with his kind permission.
It is a product. To install, simply import the xml.
(please note Andreas's fixes below if you have problems with scripts that post automatically)
Amy
monstergamer
11 Sep 2005, 01:47
great mod :)
thanks amy
ReadOrDie
11 Sep 2005, 01:48
I'm installing this, thanks.
great idea, installing :)
Yes!!! The end of Free iPods as we know it!!
Amy, would there be a way to set this up with a setting for how many posts they must have, instead of the 15?
Michael2
11 Sep 2005, 02:58
I had this on vB 3.0 and liked it but it didn't take long for spammers to find a way around it. Still, anything that cuts down on our work is great. Thanks! :)
amykhar
11 Sep 2005, 03:02
Amy, would there be a way to set this up with a setting for how many posts they must have, instead of the 15?
All you have to do is change one number in the code and phrase Bob. It's not something that I think people will be changing often enough to warrant a control panel setting.
I agree with Boofo. It would be much better with a setting.
Heck, it would be awesome if it were usergroup based with how many links per post or per sig too.
Some n00bs like to sign up and put links in their sigs, and then spam. This could evolve into a sig link limiter too.
Just some thoughts. Good hack though.
*licks the install button*
mmmmm...
You have to edit 1 number in the XML. A setting for that would just add clutter to the ACP
ReadOrDie
11 Sep 2005, 03:50
What about the image thing? Is it possible to take that off? I've had alot of users at my website that post their avatars or sigs when they first join in thread...And as for the other guy who said spammers find a way around it by putting the link in their sigs, I think someone should make a mod, or possibly edit this one that censors the link with *15 posts needed to display link* when someone puts a link in their signature.
You have to edit 1 number in the XML. A setting for that would just add clutter to the ACP
Not if it was usergroup based as well. ;)
amykhar
11 Sep 2005, 04:20
Gang, I don't need bells and whistles. For a free mod, you get what I need. Other than that, tweak to your heart's desire.
Zelda-King
11 Sep 2005, 10:48
I'll say one thing about the phrase (by the way this is working great! :)): It only mentions that you can't post URLs.
No matter, phrases are easily edited. Fixed mine.
Amy, this is not working on RC3 for me. I installed it last night and 2 newbies have registered and posted link today.
amykhar
13 Sep 2005, 03:16
It's working on RC3 for me. At least it did on my test account. Try it out on my site please. More testing couldn't hurt.
I wrote the plugin specifically for RC3. Before that, I had it as a code mod on my site. But, there could be ways around it that we might need to plug up.
Amy
I was able to post a link on your forum:
http://www.eaforums.com/forums/getting-around/41135-testing-links.html#post446669
amykhar
13 Sep 2005, 05:17
Yep. I saw. I wonder why it works for my test account?
Amy
it seems to work now on your board.
Amy, is there an update with a fix for this or is it working ok now? The last few messages are confusing. ;)
amykhar
13 Sep 2005, 13:24
I'm releasing the update now. Wait for the email.
Amy
Delphiprogrammi
13 Sep 2005, 14:43
now this is a great thing i love this
/me clicks install
NewOrder
15 Sep 2005, 18:41
will it still work if i edit the xml and change everything 15 to 10 using the replace tool??
(sorry im new to all this)
amykhar
15 Sep 2005, 19:20
Yes, it should. There aren't any other 15s in there.
Mr Chad
15 Sep 2005, 23:13
I'll say one thing about the phrase (by the way this is working great! :)): It only mentions that you can't post URLs.
No matter, phrases are easily edited. Fixed mine.
Very nice, im sick of people spamming sites.
I agree with Boofo. It would be much better with a setting.
Heck, it would be awesome if it were usergroup based with how many links per post or per sig too.
Some n00bs like to sign up and put links in their sigs, and then spam. This could evolve into a sig link limiter too.
Just some thoughts. Good hack though.
*licks the install button*
mmmmm...
Yep, noticed that it doesn't work in the sig. It still helps. ;)
amykhar
16 Sep 2005, 03:27
I think the sig thing should be a different sort of hack. It should be user-group based and apply to links, images, size of images, etc. I've never had a major signature issue on my board. If people post inappropriate sigs, they are reported and we handle them.
I don't care if somebody links to their site in their sig. That's what networking is all about ;)
Amy
I just installed this on a fresh copy of vb and as an admin I can't post a link to another thread on the forum, within the same domain. Not really a bug since as the admin, 15 posts isn't hard to come by.. (lol), but still something that might be worth putting a conditional in for.
Delphiprogrammi
16 Sep 2005, 09:57
I just installed this on a fresh copy of vb and as an admin I can't post a link to another thread on the forum, within the same domain. Not really a bug since as the admin, 15 posts isn't hard to come by.. (lol), but still something that might be worth putting a conditional in for.
that's not a bug an admin is in most cases the site owner ... or a verry trusted person it isn't that hard to edit somebody's postcount ey ... also carefull with installing copys of vb 1 licence == one forum (and a password protected /testvb)
improvement suggestion:
what about excluding the forum in which the postings are done from the link prohibition?
amykhar
26 Sep 2005, 19:17
Go ahead if that's what you want it to do Pipin. My goal with this was just to prevent spam.
Amy
MikeCox
26 Sep 2005, 19:35
Go ahead if that's what you want it to do Pipin. My goal with this was just to prevent spam.
Amy
Spammers often target certain forums. :)
wolfyman
08 Oct 2005, 03:41
Thank you Amy this is PERFECT. Nice to meet ya too, I've seen a few of your works before and I was impressed. :)
HUMMERh3
09 Oct 2005, 04:23
So I downloaded and imported the XML file into the product manager... Is there anything else that I need to do? or is it all set ready to go?
lawahdy
12 Oct 2005, 00:46
very helpfull.
thanks
wolfyman
12 Oct 2005, 03:30
I bumped mine to 50 from 15.
I would like to allow new users to post images though, can anyone show me what to edit? Thanks again for the awesome mod Amy, you're the bomb.
PennylessZ28
12 Oct 2005, 05:01
Nice work
Slacker
12 Oct 2005, 05:25
Dropped it to 10 and installed. Thanks!
wolfyman
12 Oct 2005, 11:25
One more thing, I'd remove the bit in the error phrase where you tell them how many posts they need. That could just encourage a determined spammer to rack up x number of posts to start their campaign.
I'd like to exclude image tags too, as a lot of people join my site and want to post photos of their cars as a first post.
That wouldn't be good for my forum. :pirate:
wolfyman
12 Oct 2005, 11:29
When I used the old hack similar to this I set a very low limit and didn't tell people how many they needed. Genuine posters would ask what was up, spammers all went away, which was perfect. Setting a higher limit for me would put off too many people.
It's a nice little mod though.
I can see where that might help soem forums. Why not just edit the phrase then?
wolfyman
12 Oct 2005, 11:34
ah, gotcha. I left mine in, but added (don't take it personal, this heps keep spammers away.)
Anywho - rock on bro.
plubius
12 Oct 2005, 18:53
Post removed by author. I decided to not post it.
Ericsson
13 Oct 2005, 20:57
How can I make this work for only one forum?
SirSteve
15 Oct 2005, 16:03
What about including this to work for Private Messages?
im getting "You are only allowed to post URLs to other sites after you have made 15 posts or more." after posting a smilie....... is a smilie considered an image? Then why does it says URL..... looks like if i type in ":", ")" it works.. but if i click on the smilies from the box it doesnt work
any idea amy?
amykhar
23 Oct 2005, 21:55
How are you inserting the smilie?
How are you inserting the smilie?
im just clicking on it from the list of smilies...
is it possible to say (if an image is posted) "You are only allowed to post images after you have made 15 posts or more"
and if a link is posted
You are only allowed to post URLs to other sites after you have made 15 posts or more
amykhar
24 Oct 2005, 13:08
Not at this current time. If the smilies aren't working, you have a few choices:
1. Accept that they can't use smilies at first.
2. Remove images from the restrictions and make it so only links are banned.
3. Fiddle with the code until you find a solution that works for you. I think it might be where the code had to be hooked into. If it is hooked in before smilies are processed, it would be ok.
Because I am satisfied with the way it works on my site, I'm not going to be investing any more of my time in this mod.
TitanJeff
27 Oct 2005, 21:09
This one answers some prayers for me. ;)
phonexpo
03 Nov 2005, 12:23
Installed, thanks ;)
Stephen3
15 Nov 2005, 07:14
3.5.1 can use?
3.5.1 can use?
Seems to be working for me.
Kihon Kata
18 Nov 2005, 14:43
that's not a bug an admin is in most cases the site owner ... or a verry trusted person it isn't that hard to edit somebody's postcount ey ... also carefull with installing copys of vb 1 licence == one forum (and a password protected /testvb)
I installed this and it seemed to be working beautifully until I have had 5 users or so tell me they are NOT posting links and receiving the "NO LINKS" warning.
disables
ShadowOne
19 Nov 2005, 14:33
What about the image thing? Is it possible to take that off? I've had alot of users at my website that post their avatars or sigs when they first join in thread...And as for the other guy who said spammers find a way around it by putting the link in their sigs, I think someone should make a mod, or possibly edit this one that censors the link with *15 posts needed to display link* when someone puts a link in their signature.
Well this hack does the purpose... the title of the thread reads forbid users from POSTING links or images... Not for signatures.... i feel you though... it shouldnt be too hard to make that edit...
ShadowOne
19 Nov 2005, 14:36
nice hack btw....*clicks install*
Kihon Kata
19 Nov 2005, 14:55
Uninstalls! I keep getting users telling me that they receive the cannot post error
I'm having the same problem. I'm having several new users pm/email me that they cannot post even though they don't have links in their posts.
I guess I'll have to uninstall it for now until we figure out what the problem is.
-vissa
Uninstalls! I keep getting users telling me that they receive the cannot post error
amykhar
02 Dec 2005, 12:42
It seems to be a new issue in 3.5.1. Somebody had the problem on my site for the first time as well. But, I know for a fact it doesn't affect all of them because I have new people post on my site with no problems. It seems to kick in if the user tries to post a link and then tries to repost without the link. Logging out and back in seems to fix it.
But, as I noted before, this behavior is new to this version of 3.5.1.
Kihon Kata
02 Dec 2005, 19:02
It seems to be a new issue in 3.5.1. Somebody had the problem on my site for the first time as well. But, I know for a fact it doesn't affect all of them because I have new people post on my site with no problems. It seems to kick in if the user tries to post a link and then tries to repost without the link. Logging out and back in seems to fix it.
But, as I noted before, this behavior is new to this version of 3.5.1.
Yes, I had to unstall it just like Vissa. This hack is something I really needed also. :(
(3.5.1)
It doesn't affect all new users. I'm not sure what causes it -- hope we can get a fix!
-Vissa
amykhar
03 Dec 2005, 02:45
i'll look at it soon
Kihon Kata
03 Dec 2005, 03:33
i'll look at it soon
Thanks Aims
piniyini
05 Dec 2005, 12:33
yeh I'm 3.5.1 also, the problem is links are automatically parsed so it counts as them trying to post live links
amykhar
05 Dec 2005, 12:43
It's supposed to. I don't want them posting links at all, clickable or not.
This is a very nice hack. Is there a fix for the error yet?
jdingman
06 Jan 2006, 18:18
*clicks install* -- thanks! I was looking for this, good mod!
amykhar
09 Jan 2006, 16:00
Original file updated.
One thing I have noticed, if you use the wysiwyg editor and post a link, deleting the link doesn't seem to always get rid of the vb code for the link. You have to view the actual post by switching editor mode and then clean out that vb code.
wolfyman
10 Jan 2006, 15:45
nice, thanks Amy :)
dsotmoon
10 Jan 2006, 23:42
what am i doing wrong? i downloaded, installed as as a product on 3.5.0 (with security patches), checked that it was enabled, added a new testuser through admincp and tested, and it doesnt prevent links from being posted
aaarrrgghhhh
Quick question, how can I make mods and admin exempt from this?
amykhar
11 Jan 2006, 16:06
what am i doing wrong? i downloaded, installed as as a product on 3.5.0 (with security patches), checked that it was enabled, added a new testuser through admincp and tested, and it doesnt prevent links from being posted
aaarrrgghhhh
I don't see your forum listed on your homepage, so I can't support you.
amykhar
11 Jan 2006, 16:07
Quick question, how can I make mods and admin exempt from this?
Make them post more :D
No, seriously, in the check for posts in the plugin, exclude your mod and admin usergroups.
Sorry, I've checked the code, where can I add mod and admin usergroups?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Chris-777
23 Jan 2006, 21:54
I have this installed, and it's been working perfectly up until today. Apparently new members (today, a guy with two posts) are able to post links if they wrap them in URL tags.
Eg:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
bondjetta
27 Jan 2006, 16:47
Has anyone else noticed that this hack causes the Article Bot hack to stop running? Any ideas why? My article bot has 130+ posts so it's not a post count issue...thanks :)
amykhar
27 Jan 2006, 18:06
I don't use the article bot; so I'm not going to be of any help with that question.
dethfire
13 Feb 2006, 05:52
can you add no PM to this too?
amykhar
13 Feb 2006, 11:44
You could, but I'm not going to because I don't need that feature.
Code Monkey
14 Feb 2006, 04:04
Has anyone else noticed that this hack causes the Article Bot hack to stop running? Any ideas why? My article bot has 130+ posts so it's not a post count issue...thanks :)
You are absolutely correct, it does seem to shut down articlebot.
bondjetta
14 Feb 2006, 15:00
You are absolutely correct, it does seem to shut down articlebot.
any hope of finding a fix? ;) I love this feature (trolls, porn spammers, etc) but i also love articlebot! :D
amykhar
14 Feb 2006, 15:11
I don't use articlebot. It's going to be up to a user who uses both of these mods to find a fix.
bondjetta
14 Feb 2006, 15:13
I don't use articlebot. It's going to be up to a user who uses both of these mods to find a fix.
i know, you already said that, hence why i quoted Jump D :)
amykhar
14 Feb 2006, 15:18
i know, you already said that, hence why i quoted Jump D :)
oops. Sorry :)
bondjetta
14 Feb 2006, 15:19
oops. Sorry :)
no problem! I know it's not worth trying to figure out if you aren't using AB...and i'm patient so I'll wait till either it figures itself out or someone else gets fed up ;) lol
Code Monkey
14 Feb 2006, 15:20
any hope of finding a fix? ;) I love this feature (trolls, porn spammers, etc) but i also love articlebot! :D
It could be because articlebot does not use sessions and cookies. But you should probably discuss it over there. We don't want to Hijack amykhar's thread. ;)
Code Monkey
16 Feb 2006, 05:09
******************HACK*******************
If you are using my Articlebot hack you will need to implement this hack to amykhar's so that the two can coexist. You should probably implement it if you want to ensure it will not interfere with any automated posting script.
Simply change the plugins so they are wraped in this if clause that checks if the post/thread is being made by human or bot.
replace the code in the plugins with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Enjoy
Jump
bondjetta
16 Feb 2006, 14:30
******************HACK*******************
If you are using my Articlebot hack you will need to implement this hack to amykhar's so that the two can coexist. You should probably implement it if you want to ensure it will not interfere with any automated posting script.
Simply change the plugins so they are wraped in this if clause that checks if the post/thread is being made by human or bot.
replace the code in the plugins with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Enjoy
Jump
Thank you Jump!!! :D
Bulent Tekcan
21 Feb 2006, 23:37
Future release maybe inline address bypass :) Because message says
You are only allowed to post URLs to other sites after you have made 15 posts or more.
But not accept normal forum address :)
Thanks
Pink-Lotus
27 Feb 2006, 16:39
Thanks a lot Amy x]
Many many thanks for the incredibly useful product. Ah, think of the trouble I'd've saved if I'd only had this over the past seven years of my site ... !
bluecat
07 Mar 2006, 05:46
Anyone know if this works in 3.5.4? Thanks.
dethfire
07 Mar 2006, 05:47
Anyone know if this works in 3.5.4? Thanks.
yes it works just fine
Turbosport
07 Mar 2006, 18:01
This stops smilies from working as well, can this be fixed ?
Megareus Rex
08 Mar 2006, 21:49
I don't think this has been addressed...
For my site, when a member with less than 15 posts tries to log on, instead of the "you've logged on" page, they get the "users with too few posts cant post links" page. They still log on successfully, but it doesn't redirect them, and could cause confusion.
EDIT: Hmmm, apparently, it only happened once, with an admin-created account. Odd.
nathanrich
13 Mar 2006, 09:21
Quick question, and a newbie one at that. Can I modify this to require a minimum amount of User Reputation instead of a minimum number of posts? What would I need to change to do this? Thanks.
Todd123
21 Mar 2006, 04:07
Nice. Just what I was looking for. Clicks install :D.
Andreas
23 Mar 2006, 14:21
@amykhar
This Hack has a serious bug which causes issues with other Hacks that automatically create threads (and are using others users for this):
You check the posts for the viewing user, instead of checking the posts for the user that makes the post.
Corrected Plugins:
postdata_presave
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
threadfpdata_presave
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
the Sandman
23 Mar 2006, 20:53
This causes an error on my board for anyone replying to a thread:
Warning: Missing argument 1 for fetch_userinfo() in /includes/functions.php on line 998
@amykhar
This Hack has a serious bug which causes issues with other Hacks that automatically create threads (and are using others users for this):
You check the posts for the viewing user, instead of checking the posts for the user that makes the post.
Corrected Plugins:
postdata_presave
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
threadfpdata_presave
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
amykhar
23 Mar 2006, 21:21
sandman, the parameter for fetch_userinfo is $userid.
Andreas
24 Mar 2006, 02:50
I knew I would mess up something ^.^
Though, it was just the missing userid as amy already pointed to - edited the post.
the Sandman
24 Mar 2006, 03:20
Thanks!
Bulent Tekcan
24 Mar 2006, 08:29
Title is ......Fewer than 15 Posts but here is (($userinfo['posts'] < 2) It must be 15 I think :)
@amykhar
This Hack has a serious bug which causes issues with other Hacks that automatically create threads (and are using others users for this):
You check the posts for the viewing user, instead of checking the posts for the user that makes the post.
Corrected Plugins:
postdata_presave
threeadfpdata_presave
I'm probably being completely stupid - but what do I edit to fix the bug?
Title is ......Fewer than 15 Posts but here is (($userinfo['posts'] < 2) It must be 15 I think :)
probably he adjusted it for is own needs, i lowered it at our forum to 5.
aeroguy
27 Mar 2006, 20:43
Mod is great However, amykhar is there a way to disable it for certain forums. For example this would conflict with the Reported Posts mod since members with less then 15 posts would not be able to report posts.
I tried the following but it didnt work.
if (($vbulletin->userinfo[posts] < 15) and ($vbulletin->forum[forumid]!=X) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
HUMMERh3
27 Mar 2006, 21:04
Is there a way to let the users who has less than 15 posts be able to post Smiley faces? Right now if a user types in a message and uses a smiley faces it doesn't let them post. Frankly I don't mind the smiley faces...? Anyone know how to change this?
Thanks!!!
amykhar
27 Mar 2006, 21:05
the whole $vbulletin->forum[forumid] bit is your problem. First, you need to see if the forumid is in scope for the plugin. If it is, you're probably supposed to be checking $foriuminfo[forumid] or $forum[forumid] , leave off the vbulletin part.
SiteTutorInc
29 Mar 2006, 19:46
Ok, I am showing my complete ignorance...but I would rather do it right than screw it up.
1) where in the cp panel to I upload the xml file to? (styles/templates?)
2) I am running 3.0.7...will it work on this version. Thanks for your assistance.
amykhar
29 Mar 2006, 21:01
sitetutor, you need to use mods in the 3.0 section NOT the 3.5 section
TitanJeff
30 Mar 2006, 02:16
This code worked perfectly for me until I added ArticleBot. I then was told to change this code to:
if(!SKIP_SESSIONCREATE)
{
global $vbulletin;
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($vbulletin->userinfo[posts] < 15) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
//eval(standard_error(fetch_error('error_nourlallowed')));
$this->error('error_nourlallowed');
$return_value = false;
}
}
Now it's not working. I can't seem to figure out the problem. Any suggestions? Thanks.
HUMMERh3
30 Mar 2006, 23:00
Okay so the XML code is below... what would I do to change to so that the user would be able to post images such as smiley faces?? Anyone know
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="amykhar_09082005" title="No Links or Images Allowed for People with Fewer t" description="Throws an error message for spammers." version="1.1" active="1">
<codes>
</codes>
<templates>
</templates>
<plugins>
<plugin active="1">
<title>No Links for People with fewer than 20 posts.</title>
<hookname>newthread_post_start</hookname>
<phpcode><![CDATA[$pagetext = $vbulletin->GPC['message'];
if (($vbulletin->userinfo[posts] < 20) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://'))) {
eval(standard_error(fetch_error('error_nourlallowed')));
}]]></phpcode>
</plugin>
<plugin active="1">
<title>No Links for People with fewer than 20 posts.</title>
<hookname>newreply_post_start</hookname>
<phpcode><![CDATA[$pagetext = $vbulletin->GPC['message'];
if (($vbulletin->userinfo[posts] < 20) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://'))) {
eval(standard_error(fetch_error('error_nourlallowed')));
}]]></phpcode>
</plugin>
<plugin active="1">
<title>No Links for People with fewer than 20 posts.</title>
<hookname>editpost_update_start</hookname>
<phpcode><![CDATA[$pagetext = $vbulletin->GPC['message'];
if (($vbulletin->userinfo[posts] < 20) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://'))) {
eval(standard_error(fetch_error('error_nourlallowed')));
}]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="Front-End Error Messages" fieldname="error">
<phrase name="error_nourlallowed"><![CDATA[You are only allowed to post URLs to other sites after you have made 20 posts or more.]]></phrase>
</phrasetype>
</phrases>
<options>
</options>
</product>
amykhar
30 Mar 2006, 23:24
It's not blocking smilies for new users on my site. At least not from my experience. It would stop them from posting remote smilies, but it doesn't seem to impact the local ones.
blacklancer
31 Mar 2006, 19:50
can i modify this so that i can block certain user groups from posting pics regardless of their post count??
amykhar
31 Mar 2006, 19:54
Yes. you could.
blacklancer
31 Mar 2006, 19:58
man that was fast! haha....would i just add a conditional in front of it with the usergroupid??
TitanJeff
06 Apr 2006, 14:04
Trying to make one more appeal here since I enjoyed this hack.
This code worked perfectly for me until I added ArticleBot. I then was told to change this code to:
if(!SKIP_SESSIONCREATE)
{
global $vbulletin;
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($vbulletin->userinfo[posts] < 15) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
//eval(standard_error(fetch_error('error_nourlallowed')));
$this->error('error_nourlallowed');
$return_value = false;
}
}
Now it's not working. I can't seem to figure out the problem. Any suggestions (besides dumping AB)? Thanks.
sorry for un wanted question .. but how I can install this? when I click on Add New Plugin, it also ask for Hook Location, I not made any changing only copy past all stuff from XML file in Plugin PHP Code and write a title..
but it still post URL even I have 2 post.. i also try using non admin user name.
csidlernet
21 Apr 2006, 12:17
hurray. thanks.
Ratchet
21 Apr 2006, 17:03
Does this work ok with vb 3.5.4?
Does this work ok with vb 3.5.4?
Works for me.
but what about my question.. How I can install this
I, Brian
17 May 2006, 08:31
It's not blocking smilies for new users on my site. At least not from my experience. It would stop them from posting remote smilies, but it doesn't seem to impact the local ones.
It's blocking local smilies on the three forums I have it installed on. Took me ages to figure out what the problem was when new users complained that they were losing posts even without posting links.
I'd be grateful for any recommendations on what to edit in the code to prevent images from being treated as links.
[Added: It may be that the vbseo hack provides absolute URLs rather than relative URLs, which is why they may be being seen as links??]
This hack is conflicting with AE login detector, is there a fix?
amykhar
06 Jun 2006, 12:48
I don't know. I don't use that mod.
phonexpo
06 Jun 2006, 15:01
This hack is conflicting with AE login detector, is there a fix?
What's the problem I have AE login detector too?
It can't/won't post reports to forums with this hack installed.
amykhar
07 Jun 2006, 02:28
There's a fix posted. Read the thread.
Robert Fogt
08 Jun 2006, 12:51
Absolutely wonderful product. Thank you!!
I went from getting 10 to 12 spam posts a day down to 0. Thats right, ZERO!
All I changed was the error message. I did not want them to know they needed 15 posts, or they would just post 15 fake messages in a row, so my error message just says that new users cant post links instead.
tamborinegal
17 Jun 2006, 06:25
Works perfectly. Thank you Amy.
Clancy
amykhar
17 Jun 2006, 06:26
Glad you like it :)
almukmin
24 Jun 2006, 22:38
I don't think this has been addressed...
For my site, when a member with less than 15 posts tries to log on, instead of the "you've logged on" page, they get the "users with too few posts cant post links" page. They still log on successfully, but it doesn't redirect them, and could cause confusion.
EDIT: Hmmm, apparently, it only happened once, with an admin-created account. Odd.
I've gotten the same error when I log in from just the url but if i had the /index.php at the end. That error isn't showing up.
noticed this works fine in 3.5.4, however it is not compatible with articlebot, i.e. even when the user has more than 15 posts, articlebot will not post anything.
I had to disable the hack so articlebot would work.
amykhar
26 Jun 2006, 13:10
a fix to make it work with articlebot was posted in this thread ;)
just to let you know, Amy, I've installed this on my test forum and a test account worked well with it - for my testing so far (10mins).
Great product!
/me clicks the install thingy.
amykhar
26 Jul 2006, 13:19
Glad you like it Karl :)
ForrestBlack
17 Aug 2006, 01:35
Hey Amykhar, thanks for doing this add-on. I really liked the former version and this one helps me out a bunch as well. I did notice that the previous version we were using for vb3.0.x was a bit more sensitive, in that it blocked anything with a .com or .net mentioned in the post, in addition to http etc. Now, I'm getting URL spam that isn't actual links.
So, I added
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to the xml and it seems to work great.
Just wanted to add my suggestion, take care.
Kyderoy
19 Aug 2006, 20:56
Will this work in 3.6?
I'm using it fine on a 3.6 forum.
Kyderoy
19 Aug 2006, 21:32
Thanks, I wil install it.
wtricks
20 Aug 2006, 18:08
Installed it. Will slow down the spammers and the "1 post wonders".
Hey Amykhar, thanks for doing this add-on. I really liked the former version and this one helps me out a bunch as well. I did notice that the previous version we were using for vb3.0.x was a bit more sensitive, in that it blocked anything with a .com or .net mentioned in the post, in addition to http etc. Now, I'm getting URL spam that isn't actual links.
So, I added
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to the xml and it seems to work great.
Just wanted to add my suggestion, take care.
Just keep in mind that adding this will now make it so mailto's cannot be posted either. That is a good thing because many spammers are now posting cell phone spam with an e-mail contact. But this change also means someone posting a classifed ad or some other post where they include an e-mail link will not be able to post...
mrfixit
30 Aug 2006, 17:45
Working for me just great on Version 3.5.4
Installed.
Thanx
amykhar
30 Aug 2006, 17:52
Just keep in mind that adding this will now make it so mailto's cannot be posted either. That is a good thing because many spammers are now posting cell phone spam with an e-mail contact. But this change also means someone posting a classifed ad or some other post where they include an e-mail link will not be able to post...
Thanks for the tip. :)
My member complained of the below error:
: ok i really have no idea how to explain it, cuz im not sure of lyrics or anything. i heard it on the radio a few times and i like it alot.
i think it goes like this
"ah yea ah yea, im a not forget, all that you've done for me, all that you've done for me..."
btw who has heard "My Savior, My God"? by Aaron Shust. I absolutely love that song!"
it gave me this error...
"You are only allowed to post URLs to other sites after you have made 50 posts or more and received permission from the Administrator."
My plugin "forbid links for users with fewer than 50 posts.." shows this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Keyser Söze
07 Sep 2006, 22:24
is this hack working in 3.6? this was released for 3.5 rc3 thats why im asking
amykhar
07 Sep 2006, 23:04
It seems to be on my site. I haven't tested specifically, but I'm not seeing spammers posting links either. I do see them frantically posting to try to reach the minimum count from time to time though :D
Keyser Söze
08 Sep 2006, 01:59
great, what i am going to do is have it just say "you do not have permission" not say why, maybe ill add feel free to contact a moderator, something like that
amykhar
08 Sep 2006, 02:52
By the way, it's really, really funny to watch the spamers sign up, do backflips to get their posts in, post and post the spam link only to have the spam immediately zapped by a moderator. Great fun, indeed :D
I've been using this since we upgraded to 3.6 and it works as well as it ever did under 3.5.x.
It has saved the Moderating Team on my forum a lot of work - albeit I have to admit I don't like the fact it is as if we treat new members as "guilty until proved innocent" - but that's the way of the world.
Great mod.
Amy, how hard would it be to alter the plugin to include email as well - or would that not be feasible?
Would it be something to the effect of modifying the code to something like this?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
phonexpo
15 Sep 2006, 01:44
Amy, how hard would it be to alter the plugin to include email as well - or would that not be feasible?
Would it be something to the effect of modifying the code to something like this?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
plugin - Replace email addresses in posts (http://www.vbulletin.org/forum/showthread.php?t=96195&highlight=Replace+email+addresses+in+posts)
;)
While that link may have good intentions, it doesn't fit the criteria. I'm needing the email link removed from only the posts that coincide with this particular plugin (in my case - less than 3 posts). Other than that, it doesn't matter.
This is a great mod, does anyone know of a version for Vbull 3.0.1, or has anyone tried this particular mod with 3.0.1. This would really solve alot of problems, thanks.
amykhar
04 Oct 2006, 22:47
I'm not sure, but Erwin's version may work for 3.0.x
I, Brian
05 Oct 2006, 11:46
Here's for 3.0.x:
http://www.vbulletin.org/forum/showthread.php?t=60076
ok ive tried it on a 3.5 vbull site it works great. I tried to modify it to include emails to however it didnt seem to work? i tried the following:
i
f (($vbulletin->userinfo[posts] < 15) and (
stristr($pagetext,'[url')
or stristr($pagetext,'[URL')
or stristr($pagetext,'[email') ....
this doest seem to work, ive tried this to
or stristr($pagetext,'@') ....
that also makes no difference
any idea how i might incoperate email too?
I don't know if this works or not, but this is what I have on one of the forums I am an admin at:
I did this to both postdata_presave and threadfpdata_presave hooklocations.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
yes thats what i have tried above,
but on testing you can still post emails (as one spamer has already found out!)
but I haveny tried the :
or stristr($pagetext,'mailto:')
Ill give it a go!
nope it doesnt work, people can still pst spam and add attach emails to it, as they have already done on my site!
are you using
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
or just
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
EDIT: I just noticed a typo in my own code :P
EDIT2: Fixed typo
opps my mistake
you have to add:
or stristr($pagetext,'[email')
or stristr($pagetext,'[EMAIL')
or stristr($pagetext,'[ url')
or stristr($pagetext,'mailto:')
or stristr($pagetext,'@')
to both :
<hookname>postdata_presave</hookname> and <hookname>threadfpdata_presave</hookname>
works a treat now :)
HUMMERh3
13 Nov 2006, 20:38
err I'm lost on getting the plugin to work with emails...
I add this code:
or stristr($pagetext,'[email')
or stristr($pagetext,'[EMAIL')
or stristr($pagetext,'[ url')
or stristr($pagetext,'mailto:')
or stristr($pagetext,'@')
to both :
<hookname>postdata_presave</hookname> and <hookname>threadfpdata_presave</hookname>
to where? Am I suppose to use Erwins for 3.0 ??
I hope this wont sound stupid. But I am still learning all this. WHere do I upload it to? What directory? Please help
You don't upload it - it is a product. For product installation, go to your admin control panel, Plugin System, Manage Products, Add/Import Product
HUMMERh3
15 Nov 2006, 21:44
There is no <hookname>postdata_presave</hookname> and <hookname>threadfpdata_presave</hookname>
in amy's plugin.... Here is the entire code below.where do I add the code to includ EMAILS ?
or stristr($pagetext,'[email')
or stristr($pagetext,'[EMAIL')
or stristr($pagetext,'[ url')
or stristr($pagetext,'mailto:')
or stristr($pagetext,'@')
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
HUMMERh3
15 Nov 2006, 21:59
Almost forgot...how do you include a phrase or keyword to not allow Such as "nokia cellphone"
I am getting hit pretty hard with nokia cell phone spammers.
Would it be
or stristr($pagetext,'nokia cell phone')
maestrosdelweb
17 Nov 2006, 10:57
How about a new option to this plugin.
If the user is not able to post a link (because he doesn't have enough messages), how about skiping the auto-link feature for urls?
That way, the adress will be posted but without a link.
amykhar
17 Nov 2006, 16:19
To me, making the link not clickable defeats the purpose of the mod. I want to send a clear message to spammers - you aren't welcome here. We don't care about the link you want to post, no matter what format you try to post it in.
Amy
amy - is there anyway of altering this so the enhanced editor doesn't cause a problem? Or at least I think that is what is causing the problem. :)
What seems to happen on my forum is that when a new member uses the enhanced editor and adds a smilie via clicking on the smilie and then tries to post they are told they can't post URLs until 15 posts. I am assuming this is because the enhanced editor embeds the smilie as an image with a URL path?
amykhar
17 Nov 2006, 19:00
I don't know, Darat. I'll have to think about how to work around that. I suppose the best way would be to kill the javascript in the enhanced editor that does the conversion.
Paprika
19 Nov 2006, 01:57
To me, making the link not clickable defeats the purpose of the mod. I want to send a clear message to spammers - you aren't welcome here. We don't care about the link you want to post, no matter what format you try to post it in.
Amy
Well then tell me why this mod allows anyone below 15 posts to post nokia.com but not http://www.nokia.com?
If you care about the link not appearing at all then why allow nokia.com? I just installed this mod to my board and was able to post nokia.com but no http://www.nokia.com...
There are many issues/bugs with the advanced WYSIWYG editor - I seriously doubt it has anything to do with Amy's mod.
Paprika
19 Nov 2006, 03:56
There are many issues/bugs with the advanced WYSIWYG editor - I seriously doubt it has anything to do with Amy's mod.
All the mod has to do is look for "*.com"
Then it would have blocked BOTH of the url types reguardless if the editor modified the url or not, NO? Correct me if I'm wrong.
I ask this becuase she said she thinks that even if the link is not clickable it's still unwanted, so if I am still able to post unclickable links with her mod running, she might want to look into that, since it goes against what she thinks and all ...
I know many people are here critizing her mod when it's free and is provided "AS IS" but I was just checking incase there was something I didn't understand about this mod. Because if you're trying to do something like this, I guess you need to think of all the possible loopholes, and I'm just stating that this looks like it could be one since it appears like this may be one.
I guess on her forum the MOD serves it purpose... until the bots start makin posts that just have "nokia.com" instead of a clickable url..
Rik Brown
21 Nov 2006, 23:37
All the mod has to do is look for "*.com"
Then it would have blocked BOTH of the url types reguardless if the editor modified the url or not, NO? Correct me if I'm wrong.
I ask this becuase she said she thinks that even if the link is not clickable it's still unwanted, so if I am still able to post unclickable links with her mod running, she might want to look into that, since it goes against what she thinks and all ...
I know many people are here critizing her mod when it's free and is provided "AS IS" but I was just checking incase there was something I didn't understand about this mod. Because if you're trying to do something like this, I guess you need to think of all the possible loopholes, and I'm just stating that this looks like it could be one since it appears like this may be one.
I guess on her forum the MOD serves it purpose... until the bots start makin posts that just have "nokia.com" instead of a clickable url..
Paprika:
You can easily do that (or ban any word/phrase you like) by manually editing the *.xml file and re-importing it. Read prior messages in this thread to see how.
Cheers! -- Rik
Paprika
21 Nov 2006, 23:43
Paprika:
You can easily do that (or ban any word/phrase you like) by manually editing the *.xml file and re-importing it. Read prior messages in this thread to see how.
Cheers! -- Rik
Well duh, I done that days ago.
I made the post asking this question to the original MOD author, why she allowed the MOD to let those types to get by.
Installed on 3.6.3 Working fine ! Thanks
Is there anything like this specifically for 3.6.4, i.e. a later hack?
Is there anything like this specifically for 3.6.4, i.e. a later hack?
Don't think you need it. Works great on 3.6.4
I also have the 365,000 spamlist but I still get 4 to 9 spammers a day. This stops the ones that get through.
zippokid
12 Mar 2007, 05:39
what types of changes would one have to make to restrict a usergroup
i have people that ask to be permanently banned and i dont want to do that, so they go on a scat porn posting spree until they are banned. or they request a ban for a certain amount of time via pm and if they are not banned in a manner they find prompt, BAM porn everywhere. then i ban them for even longer and id rather just cripple their trolling ability
ChefTalk
12 Mar 2007, 23:42
Just an FYI this add-on will have to be turned off if you upgrade to 3.6 as it will diable the automatic rss feed posting engine in VB.
I had trouble getting the rss feeds to work properly and once I disabled this add-on it worked with out any issue. Hope this is helpful for others.
I had this installed when I upgraded from 3.5 to 3.6 and it is still working fine, as are the RSS feeds, perhaps your problem was a combination of different mods?
Tannerman
14 Mar 2007, 18:02
I can concur that this mod seems to interfere with the RSS Feed Robot. I'm running no other mods at this time. When this mod is active, RSS feeds don't seem to post threads. Once mod is inactive, not a problem.
This seems to not to work when I enable the welcome thread plugin (also from Amy)
I had this installed when I upgraded from 3.5 to 3.6 and it is still working fine, as are the RSS feeds, perhaps your problem was a combination of different mods?
Same here.
Crystal Shards
17 Apr 2007, 21:35
I would say we need to be able to edit how many posts are needed.
~Crystal
Streetjob
03 May 2007, 23:17
This is an excellent hack! Thanks!
Now is there a way to just block specific URLs? I just want users to not be able to post urls to other sites that i designate.
Please!!!
mano1.com
23 May 2007, 16:44
THANK YOU for this!
Streetjob
30 May 2007, 04:54
bump
This hack stopped our spam problem dead!
We did change the phrase to say: "Sorry, you haven't been here long enough to post HTML yet."
Has worked like a charm!
Thank you!!!
Can some one upgrade it to 3.6.x :)
ZombieAndy
26 Jul 2007, 15:54
When someone creates a version that works with the AE Detector then i will reinstall this.
Mikecp421
02 Sep 2007, 00:26
thanks guys, added the email stuff
Hi
I would like this tool to prevent new users from spamming other people via private messaging too.
My forum was recently the target of a such attack and I want to prevent that from happening again.
Thanks!
tanujdude91
22 Nov 2007, 08:11
When will i get this mod for VB 3.6.8?
dethfire
04 Dec 2007, 16:35
does this work with 3.6.8?
Paprika
04 Dec 2007, 22:26
I installed it on my 3.6.8 board and YES it does work.
kronnos
22 Jan 2008, 17:51
IS it possible to also use this hack to prevent users from using the private message or making posts in certain forums until they have the required number of posts? Also, anyone tried this for 3.6.7?
This is not working any longer for me, not sure why. Plugin is active too.
postdata_presave
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
threadfpdata_presave
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
It used to work.
Sorry Chadi, I am a newbie so I don't have any advice.
I just installed it on 3.6.8 and it works just fine. Thank you :)
Can anyone else get this working?
This mod has prevented two raids on one of my forums this week. Outstanding. :)
If anyone can get this working for 3.6.8 that would be great.
It's working fine on my 3.6.8 forum.
Anyone get this one working with 3.7?
It's working fine on my 3.6.8 forum.
That's great. But it won't work for many others here including myself.
dethfire
09 Apr 2008, 15:40
does this work in 3.7?
Amykhar, will you be updating this for 3.7? It still works for forum posts, but not for public social groups (I'm not sure if it's blocking links/images in visitor comments to profile pages).
Titania
16 May 2008, 13:41
Anyone get this one working with 3.7?
Works perfectly on my 3.7 :)
angeldevil
25 Sep 2008, 01:24
Can u update this MOD for 3.7 pls amykhar rly need it for my forum
The Dawg
29 Oct 2008, 19:59
Any news on the 3.7.x ?
WEBDosser
18 Jan 2009, 17:33
still working 3.8.0
AskTheTrainer
09 Mar 2009, 23:21
Awesome
Canadianbacon
03 Aug 2009, 19:41
Would be really nice to change the number of required posts....
AndrewRich
11 Aug 2009, 00:35
Installed. Would be nice to be able to change the minimum number and "you can't do that" phrase from inside vB Admin rather than having to change the XML file and re-import.
dmarkwith
11 Aug 2009, 07:49
Just installed this baby. Let's hope it works!
I'd love for new users to be able to post images but couldn't seem to figure out how to disable that part. I'm mostly just worried about URL's.
Speaking of which, if I wanted to block .com's and .net's, would I just add this into the code?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thanks!
:)
AndrewRich
26 Aug 2009, 00:29
Disabled (not uninstalled, yet). It was causing the RSS Poster Robot to silently fail and also cause Reported Posts to be shunted to email instead of properly going to the Reported Posts forum. I see there is a manual fix (http://www.vbulletin.org/forum/showpost.php?p=932895&postcount=102) for these issues which I'll be adding at some point.
mikeinjersey
22 Jan 2010, 01:40
can anyone confirm if it works with 4.0 ? this has been very helpful...anti-spammer wise.
AndrewRich
02 Feb 2010, 01:25
I (finally) applied Andreas' fix (http://www.vbulletin.org/forum/showpost.php?p=932635&postcount=101) and the mod now works without issue. The two problems we had were with reported posts and RSS auto-posts, and I tested both of those scenarios after installing the fixed version.
I also changed the error message from "You are only allowed to post URLs to other sites after you have made 15 posts or more." to "You may not post URLs or inline images, or report other users' posts, until you have made at least 15 posts."
INSTALLED on mousepad.mouseplanet.com (http://mousepad.mouseplanet.com).
Here is the updated (fixed) version including the revised error message. This will save time in downloading the original and patching it.
ndebarnot
10 Mar 2010, 13:46
hello,
i'm in v3.8.4
It seems this product is not compatible with "reported posts are creating new threads" functionnality :
no threads are auto-creating anymore when activating this module.
Does anyone else have this problem ?
thanks !
ndebarnot
16 Mar 2010, 11:07
The AndrewRich's solution works great.
thanks !
mikeinjersey
08 May 2010, 00:59
believe it or not...it still works in 4.0.3. (the fundamentals atleast)
If there's anything we should know...plz let us know.
also, any word if this will be updated soon ?
sGroupInt
17 Sep 2010, 17:00
Installed and working great.
Just wondering, does this modify past posts from users with less than 15? Deleting their images or links?
Or does it just restrict future posts?
Thanks.
EDIT: Ah, never mind. I found a user with 1 post with a pict.
0verl0rd
21 Oct 2010, 10:41
does this work on vb4 ?
mediabutton
01 Feb 2011, 16:23
it would be so awesome if this worked in 4.1.1
I could REALLY use this for the newest versions of vbulletin 4.x. Why vbulletin would code it in that we can limit bb code in blogs and sigs but not posts is beyond me.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.