@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
PHP Code:
// 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
PHP Code:
// 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;
}