View Full Version : Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts
amykhar
09-10-2005, 10:00 PM
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
09-10-2005, 11:47 PM
great mod :)
thanks amy
ReadOrDie
09-10-2005, 11:48 PM
I'm installing this, thanks.
Dez_U
09-10-2005, 11:56 PM
great idea, installing :)
Martin
09-11-2005, 12:08 AM
Yes!!! The end of Free iPods as we know it!!
Boofo
09-11-2005, 12:27 AM
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
09-11-2005, 12:58 AM
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
09-11-2005, 01:02 AM
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...
Martin
09-11-2005, 01:34 AM
You have to edit 1 number in the XML. A setting for that would just add clutter to the ACP
ReadOrDie
09-11-2005, 01:50 AM
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.
Boofo
09-11-2005, 01:57 AM
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
09-11-2005, 02:20 AM
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.
Boofo
09-11-2005, 02:51 AM
I'll handle it, Amy. ;)
Zelda-King
09-11-2005, 08:48 AM
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.
Martin
09-12-2005, 11:48 PM
Amy, this is not working on RC3 for me. I installed it last night and 2 newbies have registered and posted link today.
amykhar
09-13-2005, 01:16 AM
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
Martin
09-13-2005, 03:13 AM
I was able to post a link on your forum:
http://www.eaforums.com/forums/getting-around/41135-testing-links.html#post446669
amykhar
09-13-2005, 03:17 AM
Yep. I saw. I wonder why it works for my test account?
Amy
Martin
09-13-2005, 05:07 AM
I derno
Martin
09-13-2005, 05:26 AM
it seems to work now on your board.
Boofo
09-13-2005, 10:58 AM
Amy, is there an update with a fix for this or is it working ok now? The last few messages are confusing. ;)
amykhar
09-13-2005, 11:24 AM
I'm releasing the update now. Wait for the email.
Amy
Delphiprogrammi
09-13-2005, 12:43 PM
now this is a great thing i love this
/me clicks install
NewOrder
09-15-2005, 04:41 PM
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
09-15-2005, 05:20 PM
Yes, it should. There aren't any other 15s in there.
Mr Chad
09-15-2005, 09:13 PM
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
09-16-2005, 01:27 AM
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
09-16-2005, 07:57 AM
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)
pipin
09-26-2005, 04:58 PM
improvement suggestion:
what about excluding the forum in which the postings are done from the link prohibition?
amykhar
09-26-2005, 05:17 PM
Go ahead if that's what you want it to do Pipin. My goal with this was just to prevent spam.
Amy
MikeCox
09-26-2005, 05:35 PM
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
10-08-2005, 01:41 AM
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
10-09-2005, 02:23 AM
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
10-11-2005, 10:46 PM
very helpfull.
thanks
Kevlar
10-12-2005, 01:26 AM
Wooo Hooo *claps*
wolfyman
10-12-2005, 01:30 AM
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
10-12-2005, 03:01 AM
Nice work
Slacker
10-12-2005, 03:25 AM
Dropped it to 10 and installed. Thanks!
wolfyman
10-12-2005, 09:25 AM
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
10-12-2005, 09:29 AM
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
10-12-2005, 09:34 AM
ah, gotcha. I left mine in, but added (don't take it personal, this heps keep spammers away.)
Anywho - rock on bro.
plubius
10-12-2005, 04:53 PM
Post removed by author. I decided to not post it.
Ericsson
10-13-2005, 06:57 PM
How can I make this work for only one forum?
SirSteve
10-15-2005, 02:03 PM
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
10-23-2005, 07:55 PM
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
10-24-2005, 11:08 AM
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
10-27-2005, 07:09 PM
This one answers some prayers for me. ;)
phonexpo
11-03-2005, 10:23 AM
Installed, thanks ;)
Stephen3
11-15-2005, 05:14 AM
3.5.1 can use?
3.5.1 can use?
Seems to be working for me.
Kihon Kata
11-18-2005, 12:43 PM
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
11-19-2005, 12:33 PM
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
11-19-2005, 12:36 PM
nice hack btw....*clicks install*
Kihon Kata
11-19-2005, 12:55 PM
Uninstalls! I keep getting users telling me that they receive the cannot post error
Chadi
11-22-2005, 09:28 PM
What phrase to edit?
lazytown
12-02-2005, 05:12 AM
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
12-02-2005, 10:42 AM
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
12-02-2005, 05:02 PM
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)
lazytown
12-02-2005, 08:50 PM
It doesn't affect all new users. I'm not sure what causes it -- hope we can get a fix!
-Vissa
amykhar
12-03-2005, 12:45 AM
i'll look at it soon
Kihon Kata
12-03-2005, 01:33 AM
i'll look at it soon
Thanks Aims
piniyini
12-05-2005, 10:33 AM
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
12-05-2005, 10:43 AM
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
01-06-2006, 04:18 PM
*clicks install* -- thanks! I was looking for this, good mod!
amykhar
01-09-2006, 02:00 PM
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
01-10-2006, 01:45 PM
nice, thanks Amy :)
dsotmoon
01-10-2006, 09:42 PM
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
01-11-2006, 02:06 PM
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
01-11-2006, 02:07 PM
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?
$pagetext = $vbulletin->GPC['message'];
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_nourlallowe d')));
}
Guest210212002
01-23-2006, 07:54 PM
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:
[ url=www.spam.com]Free iPod![/url ]
bondjetta
01-27-2006, 02:47 PM
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
01-27-2006, 04:06 PM
I don't use the article bot; so I'm not going to be of any help with that question.
dethfire
02-13-2006, 03:52 AM
can you add no PM to this too?
amykhar
02-13-2006, 09:44 AM
You could, but I'm not going to because I don't need that feature.
Code Monkey
02-14-2006, 02:04 AM
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
02-14-2006, 01:00 PM
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
02-14-2006, 01:11 PM
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
02-14-2006, 01:13 PM
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
02-14-2006, 01:18 PM
i know, you already said that, hence why i quoted Jump D :)
oops. Sorry :)
bondjetta
02-14-2006, 01:19 PM
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
02-14-2006, 01:20 PM
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
02-16-2006, 03:09 AM
******************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:
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_nourlallowe d')));
$this->error('error_nourlallowed');
$return_value = false;
}
}
Enjoy
Jump
bondjetta
02-16-2006, 12:30 PM
******************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:
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_nourlallowe d')));
$this->error('error_nourlallowed');
$return_value = false;
}
}
Enjoy
Jump
Thank you Jump!!! :D
Bulent Tekcan
02-21-2006, 09:37 PM
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
02-27-2006, 02:39 PM
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
03-07-2006, 03:46 AM
Anyone know if this works in 3.5.4? Thanks.
dethfire
03-07-2006, 03:47 AM
Anyone know if this works in 3.5.4? Thanks.
yes it works just fine
Turbosport
03-07-2006, 04:01 PM
This stops smilies from working as well, can this be fixed ?
Megareus Rex
03-08-2006, 07:49 PM
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
03-13-2006, 07:21 AM
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
03-21-2006, 02:07 AM
Nice. Just what I was looking for. Clicks install :D.
Andreas
03-23-2006, 12:21 PM
@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
// get useriinfo for this post
$userid =& $this->fetch_field('userid');
$userinfo = fetch_userinfo($userid);
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($userinfo['posts'] < 15) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
$this->error('error_nourlallowed');
$return_value = false;
}
threadfpdata_presave
// get useriinfo for this post
$userid =& $this->fetch_field('postuserid');
$userinfo = fetch_userinfo($userid);
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($userinfo['posts'] < 15) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
$this->error('error_nourlallowed');
$return_value = false;
}
the Sandman
03-23-2006, 06:53 PM
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
// get useriinfo for this post
$userid =& $this->fetch_field('userid');
$userinfo = fetch_userinfo();
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($userinfo['posts'] < 2) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
$this->error('error_nourlallowed');
$return_value = false;
}
threadfpdata_presave
// get useriinfo for this post
$userid =& $this->fetch_field('postuserid');
$userinfo = fetch_userinfo($userid);
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($userinfo['posts'] < 2) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
$this->error('error_nourlallowed');
$return_value = false;
}
amykhar
03-23-2006, 07:21 PM
sandman, the parameter for fetch_userinfo is $userid.
Andreas
03-24-2006, 12:50 AM
I knew I would mess up something ^.^
Though, it was just the missing userid as amy already pointed to - edited the post.
the Sandman
03-24-2006, 01:20 AM
Thanks!
Bulent Tekcan
03-24-2006, 06:29 AM
Title is ......Fewer than 15 Posts but here is (($userinfo['posts'] < 2) It must be 15 I think :)
Darat
03-24-2006, 08:47 AM
@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?
pipin
03-24-2006, 09:18 AM
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
03-27-2006, 06:43 PM
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
03-27-2006, 07:04 PM
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
03-27-2006, 07:05 PM
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
03-29-2006, 05:46 PM
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
03-29-2006, 07:01 PM
sitetutor, you need to use mods in the 3.0 section NOT the 3.5 section
TitanJeff
03-30-2006, 12:16 AM
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_nourlallowe d')));
$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
03-30-2006, 09:00 PM
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_nourlallowe d')));
}]]></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_nourlallowe d')));
}]]></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_nourlallowe d')));
}]]></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
03-30-2006, 09:24 PM
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
03-31-2006, 05:50 PM
can i modify this so that i can block certain user groups from posting pics regardless of their post count??
amykhar
03-31-2006, 05:54 PM
Yes. you could.
blacklancer
03-31-2006, 05:58 PM
man that was fast! haha....would i just add a conditional in front of it with the usergroupid??
TitanJeff
04-06-2006, 12:04 PM
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_nourlallowe d')));
$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.
eglim
04-18-2006, 03:09 PM
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
04-21-2006, 10:17 AM
hurray. thanks.
Ratchet
04-21-2006, 03:03 PM
Does this work ok with vb 3.5.4?
Does this work ok with vb 3.5.4?
Works for me.
eglim
04-26-2006, 06:46 AM
but what about my question.. How I can install this
I, Brian
05-17-2006, 06:31 AM
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??]
Nick0r
06-06-2006, 05:12 AM
This hack is conflicting with AE login detector, is there a fix?
amykhar
06-06-2006, 10:48 AM
I don't know. I don't use that mod.
phonexpo
06-06-2006, 01:01 PM
This hack is conflicting with AE login detector, is there a fix?
What's the problem I have AE login detector too?
Nick0r
06-06-2006, 07:17 PM
It can't/won't post reports to forums with this hack installed.
amykhar
06-07-2006, 12:28 AM
There's a fix posted. Read the thread.
Robert Fogt
06-08-2006, 10:51 AM
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
06-17-2006, 04:25 AM
Works perfectly. Thank you Amy.
Clancy
amykhar
06-17-2006, 04:26 AM
Glad you like it :)
almukmin
06-24-2006, 08:38 PM
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
06-26-2006, 11:10 AM
a fix to make it work with articlebot was posted in this thread ;)
karlm
07-26-2006, 02:39 AM
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
07-26-2006, 11:19 AM
Glad you like it Karl :)
ForrestBlack
08-16-2006, 11:35 PM
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
or stristr($pagetext,'.net') or stristr($pagetext,'.com')
to the xml and it seems to work great.
Just wanted to add my suggestion, take care.
Kyderoy
08-19-2006, 06:56 PM
Will this work in 3.6?
Darat
08-19-2006, 07:02 PM
I'm using it fine on a 3.6 forum.
Kyderoy
08-19-2006, 07:32 PM
Thanks, I wil install it.
wtricks
08-20-2006, 04:08 PM
Installed it. Will slow down the spammers and the "1 post wonders".
SVTOA
08-27-2006, 02:11 AM
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
or stristr($pagetext,'.net') or stristr($pagetext,'.com')
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
08-30-2006, 03:45 PM
Working for me just great on Version 3.5.4
Installed.
Thanx
amykhar
08-30-2006, 03:52 PM
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. :)
Chadi
09-04-2006, 10:33 AM
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:
global $vbulletin;
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($vbulletin->userinfo[posts] < 50) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or
stristr($pagetext,'http://')))
{
//eval(standard_error(fetch_error('error_nourlallowe d')));
$this->error('error_nourlallowed');
$return_value = false;
}
Keyser S?ze
09-07-2006, 08:24 PM
is this hack working in 3.6? this was released for 3.5 rc3 thats why im asking
amykhar
09-07-2006, 09:04 PM
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
09-07-2006, 11:59 PM
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
09-08-2006, 12:52 AM
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
Darat
09-08-2006, 08:57 AM
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.
davidw
09-14-2006, 11:35 PM
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?
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[EMAIL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
phonexpo
09-14-2006, 11:44 PM
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?
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[EMAIL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
plugin - Replace email addresses in posts (https://vborg.vbsupport.ru/showthread.php?t=96195&highlight=Replace+email+addresses+in+posts)
;)
davidw
09-15-2006, 12:02 AM
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.
mpage
10-04-2006, 08:01 PM
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
10-04-2006, 08:47 PM
I'm not sure, but Erwin's version may work for 3.0.x
I, Brian
10-05-2006, 09:46 AM
Here's for 3.0.x:
https://vborg.vbsupport.ru/showthread.php?t=60076
mpage
10-06-2006, 12:20 PM
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?
davidw
10-06-2006, 12:40 PM
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.
global $vbulletin;
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($vbulletin->userinfo[posts] < 7) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[email') or stristr($pagetext,'[EMAIL') or stristr($pagetext,'www.') or stristr($pagetext,'mailto:') or stristr($pagetext,'http://')))
{
//eval(standard_error(fetch_error('error_nourlallowe d')));
$this->error('error_nourlallowed');
$return_value = false;
}
mpage
10-06-2006, 12:47 PM
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!
mpage
10-06-2006, 12:57 PM
nope it doesnt work, people can still pst spam and add attach emails to it, as they have already done on my site!
davidw
10-06-2006, 12:59 PM
are you using or stristr($pagetext,'[email') or stristr($pagetext,'[EMAIL') or just or stristr($pagetext,'[email')
EDIT: I just noticed a typo in my own code :P
EDIT2: Fixed typo
mpage
10-06-2006, 01:09 PM
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
11-13-2006, 06:38 PM
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 ??
davidw
11-13-2006, 10:19 PM
Edit Amy's plugin
syjech
11-14-2006, 01:42 PM
I hope this wont sound stupid. But I am still learning all this. WHere do I upload it to? What directory? Please help
davidw
11-14-2006, 02:44 PM
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
11-15-2006, 07:44 PM
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,'@')
<?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 15 posts.</title>
<hookname>newthread_post_start</hookname>
<phpcode><![CDATA[$pagetext = $vbulletin->GPC['message'];
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_nourlallowe d')));
}]]></phpcode>
</plugin>
<plugin active="1">
<title>No Links for People with fewer than 15 posts.</title>
<hookname>newreply_post_start</hookname>
<phpcode><![CDATA[$pagetext = $vbulletin->GPC['message'];
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_nourlallowe d')));
}]]></phpcode>
</plugin>
<plugin active="1">
<title>No Links for People with fewer than 15 posts.</title>
<hookname>editpost_update_start</hookname>
<phpcode><![CDATA[$pagetext = $vbulletin->GPC['message'];
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_nourlallowe d')));
}]]></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 15 posts or more. Sorry but this includes Smiley faces as well
]]></phrase>
</phrasetype>
</phrases>
<options>
</options>
</product>
HUMMERh3
11-15-2006, 07:59 PM
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
11-17-2006, 08:57 AM
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
11-17-2006, 02:19 PM
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
Darat
11-17-2006, 02:55 PM
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
11-17-2006, 05:00 PM
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
11-18-2006, 11:57 PM
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...
davidw
11-19-2006, 01:34 AM
There are many issues/bugs with the advanced WYSIWYG editor - I seriously doubt it has anything to do with Amy's mod.
Paprika
11-19-2006, 01:56 AM
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
11-21-2006, 09:37 PM
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
11-21-2006, 09:43 PM
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.
talker
11-29-2006, 12:02 PM
Installed on 3.6.3 Working fine ! Thanks
BillyD
01-22-2007, 10:05 PM
Is there anything like this specifically for 3.6.4, i.e. a later hack?
Jessi
01-26-2007, 09:16 AM
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
03-12-2007, 03:39 AM
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
03-12-2007, 09:42 PM
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.
Darat
03-13-2007, 06:30 AM
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
03-14-2007, 04:02 PM
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.
pablo
03-25-2007, 01:30 PM
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
04-17-2007, 07:35 PM
I would say we need to be able to edit how many posts are needed.
~Crystal
Streetjob
05-03-2007, 09:17 PM
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
05-23-2007, 02:44 PM
THANK YOU for this!
Streetjob
05-30-2007, 02:54 AM
bump
Sonno
07-01-2007, 01:40 PM
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!!!
Ghanem
07-18-2007, 06:25 PM
Can some one upgrade it to 3.6.x :)
ZombieAndy
07-26-2007, 01:54 PM
When someone creates a version that works with the AE Detector then i will reinstall this.
Mikecp421
09-01-2007, 10:26 PM
thanks guys, added the email stuff
siraxi
11-21-2007, 06:30 AM
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
11-22-2007, 06:11 AM
When will i get this mod for VB 3.6.8?
dethfire
12-04-2007, 02:35 PM
does this work with 3.6.8?
Paprika
12-04-2007, 08:26 PM
I installed it on my 3.6.8 board and YES it does work.
kronnos
01-22-2008, 03:51 PM
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?
Chadi
02-21-2008, 08:59 PM
This is not working any longer for me, not sure why. Plugin is active too.
postdata_presave
global $vbulletin;
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($vbulletin->userinfo[posts] < 50) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or
stristr($pagetext,'.com') or
stristr($pagetext,'.net') or
stristr($pagetext,'.org') or
stristr($pagetext,'http://')))
{
//eval(standard_error(fetch_error('error_nourlallowe d')));
$this->error('error_nourlallowed');
$return_value = false;
}
threadfpdata_presave
global $vbulletin;
$pagetext =& $this->fetch_field('pagetext', 'post');
if (($vbulletin->userinfo[posts] < 50) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
{
//eval(standard_error(fetch_error('error_nourlallowe d')));
$this->error('error_nourlallowed');
$return_value = false;
}
It used to work.
naomi
02-26-2008, 06:07 PM
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 :)
Chadi
03-10-2008, 03:24 AM
Can anyone else get this working?
This mod has prevented two raids on one of my forums this week. Outstanding. :)
Chadi
03-23-2008, 04:33 PM
If anyone can get this working for 3.6.8 that would be great.
It's working fine on my 3.6.8 forum.
Alien
03-30-2008, 08:52 PM
Anyone get this one working with 3.7?
Chadi
04-04-2008, 06:40 PM
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
04-09-2008, 01:40 PM
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
05-16-2008, 11:41 AM
Anyone get this one working with 3.7?
Works perfectly on my 3.7 :)
angeldevil
09-24-2008, 11:24 PM
Can u update this MOD for 3.7 pls amykhar rly need it for my forum
The Dawg
10-29-2008, 05:59 PM
Any news on the 3.7.x ?
WEBDosser
01-18-2009, 03:33 PM
still working 3.8.0
AskTheTrainer
03-09-2009, 09:21 PM
Awesome
Canadianbacon
08-03-2009, 05:41 PM
Would be really nice to change the number of required posts....
AndrewRich
08-10-2009, 10:35 PM
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
08-11-2009, 05:49 AM
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?
or stristr($pagetext,'.com') or stristr($pagetext,'.net') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
Thanks!
:)
AndrewRich
08-25-2009, 10:29 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=932895&postcount=102) for these issues which I'll be adding at some point.
Jamey
09-15-2009, 02:12 PM
Thanks! I will try this.
mikeinjersey
01-21-2010, 11:40 PM
can anyone confirm if it works with 4.0 ? this has been very helpful...anti-spammer wise.
AndrewRich
02-01-2010, 11:25 PM
I (finally) applied Andreas' fix (https://vborg.vbsupport.ru/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
03-10-2010, 11:46 AM
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
03-16-2010, 09:07 AM
The AndrewRich's solution works great.
thanks !
mikeinjersey
05-07-2010, 10:59 PM
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
09-17-2010, 03:00 PM
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
10-21-2010, 08:41 AM
does this work on vb4 ?
mediabutton
02-01-2011, 02:23 PM
it would be so awesome if this worked in 4.1.1
d1414
04-09-2011, 02:56 AM
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.
mr1dul
05-12-2011, 02:18 PM
thanks for nice plugin
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.